HelloRTWorld.cpp
Go to the documentation of this file.
1 // -*- C++ -*-
12 #include "HelloRTWorld.h"
13 #include <iostream>
14 
15 using namespace std;
16 
18  : RtcBase(manager)
19 
20 {
21  appendAlias("/example/HelloRTWorld|rtc");
22 }
23 
25 {
26  std::cout << "Hello RT World!" << std::endl;
27  return RTM_OK;
28 }
29 
30 extern "C" {
31 
33  {
34  return new HelloRTWorld(manager);
35  }
36 
37 
39  {
40  delete (HelloRTWorld *)p;
41  return;
42  }
43 
44 
45  void HelloRTWorldInit(RtcManager* manager)
46  {
47  RtcModuleProfile profile(hellortworld_spec);
48  manager->registerComponent(profile, HelloRTWorldNew, HelloRTWorldDelete);
49  }
50 };
51 
void HelloRTWorldDelete(RtcBase *p)
static RtcModuleProfSpec hellortworld_spec[]
Definition: HelloRTWorld.h:21
void HelloRTWorldInit(RtcManager *manager)
Hello RT world component.
HelloRTWorld(RtcManager *manager)
RtcBase * HelloRTWorldNew(RtcManager *manager)
virtual RtmRes rtc_active_do()
RTObject_impl RtcBase
Definition: Manager.h:55


openrtm_aist
Author(s): Noriaki Ando
autogenerated on Thu Jun 6 2019 19:25:58