diff --git a/source/RobotAPI/robotstate/remote/CMakeLists.txt b/source/RobotAPI/robotstate/remote/CMakeLists.txt index 3c2fe56ef0dfcd8179643d1ef6bfd4bd9fcb8c35..8540a5d250ede4b1a15bb53c14900b1faeb8795e 100644 --- a/source/RobotAPI/robotstate/remote/CMakeLists.txt +++ b/source/RobotAPI/robotstate/remote/CMakeLists.txt @@ -24,6 +24,7 @@ set(LIB_FILES ArmarPose.cpp RemoteRobot.cpp RemoteRobotNode.cpp checks/ConditionCheckMagnitudeChecks.cpp + RobotStateObjectFactories.cpp ) set(LIB_HEADERS ArmarPose.h LinkedPose.h diff --git a/source/RobotAPI/robotstate/remote/RobotStateObjectFactories.cpp b/source/RobotAPI/robotstate/remote/RobotStateObjectFactories.cpp new file mode 100644 index 0000000000000000000000000000000000000000..af1999ea36988e3bb0c121ef3b39e632efce6aec --- /dev/null +++ b/source/RobotAPI/robotstate/remote/RobotStateObjectFactories.cpp @@ -0,0 +1,27 @@ +/* +* This file is part of ArmarX. +* +* ArmarX is free software; you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as +* published by the Free Software Foundation; either version 2 of +* the License, or (at your option) any later version. +* +* ArmarX is distributed in the hope that it will be useful, but +* WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU Lesser General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with this program. If not, see <http://www.gnu.org/licenses/>. +* +* @package ArmarX:: +* @author Mirko Waechter ( mirko.waechter at kit dot edu) +* @date 2014 +* @copyright http://www.gnu.org/licenses/gpl.txt +* GNU General Public License +*/ + +#include "RobotStateObjectFactories.h" +using namespace armarx; +using namespace armarx::ObjectFactories; +const FactoryCollectionBaseCleanUp RobotStateObjectFactories::RobotStateObjectFactoriesVar = FactoryCollectionBase::addToPreregistration(new RobotStateObjectFactories()); diff --git a/source/RobotAPI/robotstate/remote/RobotStateObjectFactories.h b/source/RobotAPI/robotstate/remote/RobotStateObjectFactories.h index 75fd46891106e162941b6b8c0ddf155e94711d10..d9bf208af9a26a3fe50813f7d4ad7c9135869e66 100644 --- a/source/RobotAPI/robotstate/remote/RobotStateObjectFactories.h +++ b/source/RobotAPI/robotstate/remote/RobotStateObjectFactories.h @@ -169,8 +169,8 @@ namespace armarx return map; } + static const FactoryCollectionBaseCleanUp RobotStateObjectFactoriesVar; }; - const FactoryCollectionBaseCleanUp RobotStateObjectFactoriesVar = FactoryCollectionBase::addToPreregistration(new RobotStateObjectFactories()); } }