[openrtm-commit:03088] r3173 - branches/RELENG_1_2/OpenRTM-aist/src/lib/rtm
openrtm @ openrtm.org
openrtm @ openrtm.org
2018年 1月 19日 (金) 18:16:44 JST
Author: miyamoto
Date: 2018-01-19 18:16:44 +0900 (Fri, 19 Jan 2018)
New Revision: 3173
Modified:
branches/RELENG_1_2/OpenRTM-aist/src/lib/rtm/OutPort.h
Log:
[compat, bugfix, ->RELENG_1_2] bug fix.
Modified: branches/RELENG_1_2/OpenRTM-aist/src/lib/rtm/OutPort.h
===================================================================
--- branches/RELENG_1_2/OpenRTM-aist/src/lib/rtm/OutPort.h 2018-01-19 08:55:27 UTC (rev 3172)
+++ branches/RELENG_1_2/OpenRTM-aist/src/lib/rtm/OutPort.h 2018-01-19 09:16:44 UTC (rev 3173)
@@ -138,12 +138,7 @@
#endif
m_value(value), m_onWrite(0), m_onWriteConvert(0)
{
- addProperty("dataport.data_value", CORBA::Short(0));
- {
- Guard guard(m_profile_mutex);
- m_propValueIndex = NVUtil::find_index(m_profile.properties,
- "dataport.data_value");
- }
+
this->addConnectorDataListener(ON_BUFFER_WRITE,
new Timestamp<DataType>("on_write"));
this->addConnectorDataListener(ON_SEND,
@@ -220,10 +215,6 @@
(*m_onWrite)(value);
RTC_TRACE(("OnWrite called"));
}
- {
- Guard guard(m_profile_mutex);
- m_profile.properties[m_propValueIndex].value <<= value;
- }
bool result(true);
std::vector<const char *> disconnect_ids;
More information about the openrtm-commit
mailing list