[openrtm-commit:02903] r3062 - trunk/OpenRTM-aist/src/lib/rtm
openrtm @ openrtm.org
openrtm @ openrtm.org
2017年 11月 6日 (月) 22:08:02 JST
Author: miyamoto
Date: 2017-11-06 22:08:01 +0900 (Mon, 06 Nov 2017)
New Revision: 3062
Modified:
trunk/OpenRTM-aist/src/lib/rtm/InPortBase.cpp
trunk/OpenRTM-aist/src/lib/rtm/OutPortBase.cpp
Log:
[compat,bugfix] refs #3269
Modified: trunk/OpenRTM-aist/src/lib/rtm/InPortBase.cpp
===================================================================
--- trunk/OpenRTM-aist/src/lib/rtm/InPortBase.cpp 2017-11-06 06:58:54 UTC (rev 3061)
+++ trunk/OpenRTM-aist/src/lib/rtm/InPortBase.cpp 2017-11-06 13:08:01 UTC (rev 3062)
@@ -707,8 +707,11 @@
{
RTC_DEBUG(("dataflow_type push is supported"));
appendProperty("dataport.dataflow_type", "push");
- appendProperty("dataport.interface_type",
- coil::flatten(provider_types).c_str());
+ for (coil::vstring::iterator itr = provider_types.begin(); itr != provider_types.end(); ++itr)
+ {
+ appendProperty("dataport.interface_type",
+ (*itr).c_str());
+ }
}
m_providerTypes = provider_types;
@@ -756,8 +759,11 @@
{
RTC_PARANOID(("dataflow_type pull is supported"));
appendProperty("dataport.dataflow_type", "pull");
- appendProperty("dataport.interface_type",
- coil::flatten(consumer_types).c_str());
+ for (coil::vstring::iterator itr = consumer_types.begin(); itr != consumer_types.end(); ++itr)
+ {
+ appendProperty("dataport.interface_type",
+ (*itr).c_str());
+ }
}
m_consumerTypes = consumer_types;
Modified: trunk/OpenRTM-aist/src/lib/rtm/OutPortBase.cpp
===================================================================
--- trunk/OpenRTM-aist/src/lib/rtm/OutPortBase.cpp 2017-11-06 06:58:54 UTC (rev 3061)
+++ trunk/OpenRTM-aist/src/lib/rtm/OutPortBase.cpp 2017-11-06 13:08:01 UTC (rev 3062)
@@ -743,8 +743,11 @@
{
RTC_DEBUG(("dataflow_type pull is supported"));
appendProperty("dataport.dataflow_type", "pull");
- appendProperty("dataport.interface_type",
- coil::flatten(provider_types).c_str());
+ for (coil::vstring::iterator itr = provider_types.begin(); itr != provider_types.end(); ++itr)
+ {
+ appendProperty("dataport.interface_type",
+ (*itr).c_str());
+ }
}
m_providerTypes = provider_types;
@@ -792,8 +795,11 @@
{
RTC_PARANOID(("dataflow_type push is supported"));
appendProperty("dataport.dataflow_type", "push");
- appendProperty("dataport.interface_type",
- coil::flatten(consumer_types).c_str());
+ for (coil::vstring::iterator itr = consumer_types.begin(); itr != consumer_types.end(); ++itr)
+ {
+ appendProperty("dataport.interface_type",
+ (*itr).c_str());
+ }
}
m_consumerTypes = consumer_types;
More information about the openrtm-commit
mailing list