HelloRTWorld.h
Go to the documentation of this file.
1 // -*- C++ -*-
10 #ifndef __HELLORTWORLD_h__
11 #define __HELLORTWORLD_h__
12 
13 
14 #include <rtm/RtcBase.h>
15 #include <rtm/RtcManager.h>
16 #include <rtm/RtcInPort.h>
17 #include <rtm/RtcOutPort.h>
18 
19 using namespace RTM;
20 
21 static RtcModuleProfSpec hellortworld_spec[] =
22  {
23 
24  {RTC_MODULE_NAME, "HelloRTWorld"},
25  {RTC_MODULE_DESC, "Hello RT world component"},
26  {RTC_MODULE_VERSION, "0.1"},
27  {RTC_MODULE_AUTHOR, "DrSample"},
28  {RTC_MODULE_CATEGORY, "example"},
29  {RTC_MODULE_COMP_TYPE, "COMMUTATIVE"},
30  {RTC_MODULE_ACT_TYPE, "SPORADIC"},
31  {RTC_MODULE_MAX_INST, "10"},
32  {RTC_MODULE_LANG, "C++"},
33  {RTC_MODULE_LANG_TYPE, "COMPILE"},
34  {RTC_MODULE_SPEC_END, NULL}
35  };
36 
37 
38 
40  : public RTM::RtcBase
41 {
42  public:
43  HelloRTWorld(RtcManager* manager);
44  virtual RtmRes rtc_active_do();
45 };
46 
47 
48 extern "C" {
49  RtcBase* HelloRTWorldNew(RtcManager* manager);
50  void HelloRTWorldDelete(RtcBase* p);
51  void HelloRTWorldInit(RtcManager* manager);
52 };
53 #endif // __HELLORTWORLD_h__
54 
void HelloRTWorldDelete(RtcBase *p)
static RtcModuleProfSpec hellortworld_spec[]
Definition: HelloRTWorld.h:21
void HelloRTWorldInit(RtcManager *manager)
RtcBase * HelloRTWorldNew(RtcManager *manager)
RT-Middleware.
Definition: Manager.h:38
RTObject_impl RtcBase
Definition: Manager.h:55


openrtm_aist
Author(s): Noriaki Ando
autogenerated on Mon Feb 28 2022 23:00:43