[openrtm-commit:02080] r2790 - branches/FSM4RTC/OpenRTM-aist/src/lib/hrtm

openrtm @ openrtm.org openrtm @ openrtm.org
2016年 10月 27日 (木) 00:49:34 JST


Author: n-ando
Date: 2016-10-27 00:49:34 +0900 (Thu, 27 Oct 2016)
New Revision: 2790

Modified:
   branches/FSM4RTC/OpenRTM-aist/src/lib/hrtm/data_flow_component.cpp
Log:
[FSM4RTC] updateFsmStatus now calls RTObject::onFsmStateChanged().

Modified: branches/FSM4RTC/OpenRTM-aist/src/lib/hrtm/data_flow_component.cpp
===================================================================
--- branches/FSM4RTC/OpenRTM-aist/src/lib/hrtm/data_flow_component.cpp	2016-10-26 15:47:26 UTC (rev 2789)
+++ branches/FSM4RTC/OpenRTM-aist/src/lib/hrtm/data_flow_component.cpp	2016-10-26 15:49:34 UTC (rev 2790)
@@ -27,13 +27,12 @@
   }
   RTC::ReturnCode_t DataFlowComponent::initialize(hrtm::ComponentManager* mgr)
   {
-    std::cout << "########## initialize()" << std::endl;
     return RTC::RTC_OK;
   }
 
   void DataFlowComponent::updateFsmStatus(RTC::StatusKind status_kind,
                                           const char* state)
   {
-    std::cout << "State: " << state << std::endl;
+    onFsmStateChanged(state);
   }
 }; // namespace hrtm



More information about the openrtm-commit mailing list