5 #ifndef CNOID_OPENRTM_PLUGIN_RTC_ITEM_H_INCLUDED 6 #define CNOID_OPENRTM_PLUGIN_RTC_ITEM_H_INCLUDED 9 #include <cnoid/Process> 10 #include <boost/filesystem.hpp> 11 #include <rtm/Manager.h> 25 RTComponent(
const boost::filesystem::path& modulePath, PropertyMap& properties);
28 RtcBase*
rtc() {
return rtc_; };
30 const std::string&
name()
const {
return componentName; }
35 boost::filesystem::path modulePath;
40 void init(
const string& moduleName, PropertyMap& properties);
41 void init(
const boost::filesystem::path& modulePath, PropertyMap& properties);
42 bool createRTC(PropertyMap& properties);
43 void setupModules(
string& fileName,
string& initFuncName,
string& componentName, PropertyMap& properties );
44 void createProcess(
string& command, PropertyMap& properties);
45 void onReadyReadServerProcessOutput();
58 PERIODIC_EXECUTION_CONTEXT = 0,
71 void setModuleName(
const std::string& name);
72 void setPeriodicType(
int type);
73 void setPeriodicRate(
int rate);
74 void setPathBase(
int base);
77 virtual void onPositionChanged();
78 virtual void onDisconnectedFromRoot();
79 virtual Item* doDuplicate()
const;
81 virtual bool store(
Archive& archive);
82 virtual bool restore(
const Archive& archive);
92 PropertyMap properties;
95 boost::filesystem::path modulePath;
97 bool convertAbsolutePath();
Definition: ExtensionManager.h:26
RtcBase * rtc()
Definition: RTCItem.h:28
Definition: PutPropertyFunction.h:35
Definition: Referenced.h:128
Definition: Selection.h:14
Definition: MessageView.h:19
PathBase
Definition: RTCItem.h:65
CNOID_EXPORT bool deleteRTC(RTC::RtcBase *rtc, bool waitToBeDeleted=true)
Definition: OpenRTMPlugin.cpp:401
Defines the minimum processing for performing pasing file for STL.
Definition: AbstractSceneLoader.h:9
map< string, string > PropertyMap
Definition: RTCItem.h:19
PERIODIC_TYPE
Definition: RTCItem.h:57
const std::string & name() const
Definition: RTCItem.h:30
#define CNOID_EXPORT
Definition: Util/exportdecl.h:37
ref_ptr< RTCItem > RTCItemPtr
Definition: RTCItem.h:100