[openrtm-commit:02106] r737 - trunk/OpenRTM-aist-Python/OpenRTM_aist
openrtm @ openrtm.org
openrtm @ openrtm.org
2016年 11月 14日 (月) 13:26:21 JST
Author: miyamoto
Date: 2016-11-14 13:26:21 +0900 (Mon, 14 Nov 2016)
New Revision: 737
Modified:
trunk/OpenRTM-aist-Python/OpenRTM_aist/ExtTrigExecutionContext.py
Log:
[incompat,bugfix,EC]Modified for ExtTrigExecutionContext. #3700
Modified: trunk/OpenRTM-aist-Python/OpenRTM_aist/ExtTrigExecutionContext.py
===================================================================
--- trunk/OpenRTM-aist-Python/OpenRTM_aist/ExtTrigExecutionContext.py 2016-11-10 05:14:31 UTC (rev 736)
+++ trunk/OpenRTM-aist-Python/OpenRTM_aist/ExtTrigExecutionContext.py 2016-11-14 04:26:21 UTC (rev 737)
@@ -404,6 +404,18 @@
return RTC.RTC_OK
+ def onAddedComponent(self, rtobj):
+ guard = OpenRTM_aist.ScopedLock(self._workerthread._mutex)
+ if self._workerthread._ticked == False:
+ self._worker.updateComponentList()
+ return RTC.RTC_OK
+
+ def onRemovedComponent(self, rtobj):
+ guard = OpenRTM_aist.ScopedLock(self._workerthread._mutex)
+ if self._workerthread._ticked == False:
+ self._worker.updateComponentList()
+ return RTC.RTC_OK
+
##
# @brief onWaitingActivated() template function
# RTC::ReturnCode_t ExtTrigExecutionContext::
More information about the openrtm-commit
mailing list