Go to the documentation of this file.00001
00012 #include <rtm/RtcManager.h>
00013 #include <iostream>
00014 #include <string>
00015 #include "StringOut.h"
00016
00017
00018 void MyModuleInit(RtcManager* manager)
00019 {
00020 StringOutInit(manager);
00021
00022 std::string name;
00023 RtcBase* comp;
00024 comp = manager->createComponent("StringOut", "Generic", name);
00025
00026 std::cout << "RTComponent: " << name << " was created." << std::endl;
00027
00028 return;
00029 }
00030
00031
00032 int main (int argc, char** argv)
00033 {
00034 RTM::RtcManager manager(argc, argv);
00035
00036 manager.initManager();
00037
00038 manager.activateManager();
00039
00040 manager.initModuleProc(MyModuleInit);
00041
00042 manager.runManager();
00043 return 0;
00044 }
00045
00046