HelloRTWorld.h
Go to the documentation of this file.
00001 // -*- C++ -*-
00010 #ifndef __HELLORTWORLD_h__
00011 #define __HELLORTWORLD_h__
00012 
00013 
00014 #include <rtm/RtcBase.h>
00015 #include <rtm/RtcManager.h>
00016 #include <rtm/RtcInPort.h>
00017 #include <rtm/RtcOutPort.h>
00018 
00019 using namespace RTM;
00020 
00021 static RtcModuleProfSpec hellortworld_spec[] =
00022   {
00023   
00024   {RTC_MODULE_NAME, "HelloRTWorld"},
00025   {RTC_MODULE_DESC, "Hello RT world component"},
00026   {RTC_MODULE_VERSION, "0.1"},
00027   {RTC_MODULE_AUTHOR, "DrSample"},
00028   {RTC_MODULE_CATEGORY, "example"},
00029   {RTC_MODULE_COMP_TYPE, "COMMUTATIVE"},
00030   {RTC_MODULE_ACT_TYPE, "SPORADIC"},
00031   {RTC_MODULE_MAX_INST, "10"},
00032   {RTC_MODULE_LANG, "C++"},
00033   {RTC_MODULE_LANG_TYPE, "COMPILE"},
00034   {RTC_MODULE_SPEC_END, NULL}
00035   };
00036 
00037 
00038         
00039 class HelloRTWorld
00040   : public RTM::RtcBase
00041 {
00042  public:
00043   HelloRTWorld(RtcManager* manager);
00044   virtual RtmRes rtc_active_do();
00045 };
00046 
00047 
00048 extern "C" {
00049   RtcBase* HelloRTWorldNew(RtcManager* manager);
00050   void HelloRTWorldDelete(RtcBase* p);
00051   void HelloRTWorldInit(RtcManager* manager);
00052 };
00053 #endif // __HELLORTWORLD_h__
00054 


openrtm_aist
Author(s): Noriaki Ando
autogenerated on Sun Mar 26 2017 03:37:15