[openrtm-commit:00788] r2352 - trunk/OpenRTM-aist/src/ext/ec/rtpreempt

openrtm @ openrtm.org openrtm @ openrtm.org
2012年 5月 7日 (月) 09:44:24 JST


Author: n-ando
Date: 2012-05-07 09:44:24 +0900 (Mon, 07 May 2012)
New Revision: 2352

Modified:
   trunk/OpenRTM-aist/src/ext/ec/rtpreempt/RTPreemptEC.cpp
Log:
Now PeriodicEC has new name "rtpreempt_ec".


Modified: trunk/OpenRTM-aist/src/ext/ec/rtpreempt/RTPreemptEC.cpp
===================================================================
--- trunk/OpenRTM-aist/src/ext/ec/rtpreempt/RTPreemptEC.cpp	2012-04-09 03:40:14 UTC (rev 2351)
+++ trunk/OpenRTM-aist/src/ext/ec/rtpreempt/RTPreemptEC.cpp	2012-05-07 00:44:24 UTC (rev 2352)
@@ -670,9 +670,12 @@
                             ::RTC_exp::RTPreemptEC>,
                             ::coil::Destructor< ::RTC::ExecutionContextBase,
                             ::RTC_exp::RTPreemptEC>);
-
-    coil::vstring ecs;
-    ecs = RTC::ExecutionContextFactory::instance().getIdentifiers();
+    RTC::ExecutionContextFactory::
+      instance().addFactory("rtpreempt_ec",
+                            ::coil::Creator< ::RTC::ExecutionContextBase,
+                            ::RTC_exp::RTPreemptEC>,
+                            ::coil::Destructor< ::RTC::ExecutionContextBase,
+                            ::RTC_exp::RTPreemptEC>);
   }
 };
 



openrtm-commit メーリングリストの案内