[openrtm-commit:01797] r789 - trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC
openrtm @ openrtm.org
openrtm @ openrtm.org
2016年 3月 2日 (水) 23:38:56 JST
Author: win-ei
Date: 2016-03-02 23:38:56 +0900 (Wed, 02 Mar 2016)
New Revision: 789
Modified:
trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC/NamingManager.java
Log:
Added bindPortObject. refs #3391
Modified: trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC/NamingManager.java
===================================================================
--- trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC/NamingManager.java 2016-03-02 14:25:00 UTC (rev 788)
+++ trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC/NamingManager.java 2016-03-02 14:38:56 UTC (rev 789)
@@ -169,8 +169,7 @@
*
* void bindPortObject(const char* name, PortBase* port)
*/
-/*
- public void bindPortObject(String name,PortBaes port){
+ public void bindPortObject(String name,PortBase port){
rtcout.println(Logbuf.TRACE,
"NamingManager.bindPortObject(" + name + ")");
synchronized (m_names) {
@@ -178,17 +177,17 @@
for(int intIdx=0; intIdx < len; ++intIdx ) {
if( m_names.elementAt(intIdx).ns != null ) {
try{
- m_names.elementAt(intIdx).ns.bindPortObject(name, rtobj);
+ m_names.elementAt(intIdx).ns.bindPortObject(
+ name, port);
}
catch(Exception ex){
m_names.elementAt(intIdx).ns = null;
}
}
}
- this.registerPortName(name, rtobj);
+ this.registerPortName(name, port);
}
}
-*/
/**
* {@.ja NamingServer の情報の更新。}
* {@.en Update information of NamingServer}
More information about the openrtm-commit
mailing list