[openrtm-commit:01721] r760 - trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC/port
openrtm @ openrtm.org
openrtm @ openrtm.org
2016年 2月 20日 (土) 19:03:29 JST
Author: win-ei
Date: 2016-02-20 19:03:29 +0900 (Sat, 20 Feb 2016)
New Revision: 760
Modified:
trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC/port/CorbaPort.java
Log:
Now PortProfile.properties of CorbaPort includes given port porperties from component configuration files. refs #3391
Modified: trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC/port/CorbaPort.java
===================================================================
--- trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC/port/CorbaPort.java 2016-02-19 11:54:01 UTC (rev 759)
+++ trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC/port/CorbaPort.java 2016-02-20 10:03:29 UTC (rev 760)
@@ -66,6 +66,12 @@
m_properties.merge(prop);
+ NVListHolder nvlistholder1 = new NVListHolder();
+ NVUtil.copyFromProperties(nvlistholder1, m_properties);
+ NVListHolder nvlistholder2 = new NVListHolder(m_profile.properties);
+ CORBA_SeqUtil.push_back_list(nvlistholder2, nvlistholder1);
+ m_profile.properties = nvlistholder2.value;
+
rtcout.println(Logbuf.PARANOID, "updated properties:");
dumpString = m_properties._dump(dumpString, m_properties, 0);
rtcout.println(Logbuf.DEBUG, dumpString);
More information about the openrtm-commit
mailing list