[openrtm-commit:00404] r561 - trunk/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC/SDOPackage
openrtm @ openrtm.org
openrtm @ openrtm.org
2011年 9月 12日 (月) 12:14:10 JST
Author: fsi-katami
Date: 2011-09-12 12:14:09 +0900 (Mon, 12 Sep 2011)
New Revision: 561
Modified:
trunk/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC/SDOPackage/Configuration_impl.java
Log:
Deleted some tedious processing.
Modified: trunk/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC/SDOPackage/Configuration_impl.java
===================================================================
--- trunk/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC/SDOPackage/Configuration_impl.java 2011-09-12 02:51:59 UTC (rev 560)
+++ trunk/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC/SDOPackage/Configuration_impl.java 2011-09-12 03:14:09 UTC (rev 561)
@@ -347,18 +347,9 @@
try {
return m_sdoservice.removeSdoServiceConsumer(id);
-/*
- for(int index=0; index<m_serviceProfiles.value.length; index++ ) {
- if(id.equals(m_serviceProfiles.value[index].id)) {
- CORBA_SeqUtil.erase(m_serviceProfiles, index);
- return true;
- }
- }
-*/
} catch(Exception ex) {
throw new InternalError("Configuration::remove_service_profile");
}
-// return true;
}
/**
@@ -567,12 +558,6 @@
for(int intIdx=0; intIdx<cf.size(); ++intIdx) {
if( config_sets.value[intIdx]==null ) config_sets.value[intIdx] = new ConfigurationSet();
toConfigurationSet(config_sets.value[intIdx], cf.elementAt(intIdx));
- //String id = config_sets.value[intIdx].id;
- //if( m_configsetopts.get(id) != null ) {
- // config_sets.value[intIdx].description = m_configsetopts.get(id).getProperty("description");
- //} else {
- // config_sets.value[intIdx].description = "";
- //}
}
return config_sets.value;
}
@@ -973,12 +958,14 @@
* {@.ja SDOのDeviceProfile。}
* {@.en DeviceProfile of SDO}
*/
+/*
public final ServiceProfileListHolder getServiceProfiles() {
rtcout.println(Logbuf.TRACE, "Configuration_impl.getServiceProfiles()");
return m_serviceProfiles;
}
+*/
/**
* {@.ja [CORBA interface] SDO の ServiceProfile を取得する。}
@@ -996,6 +983,7 @@
* {@.ja SDOのServiceProfile}
* {@.en ServiceProfile of SDO}
*/
+/*
public final ServiceProfile getServiceProfile(final String id) {
rtcout.println(Logbuf.TRACE, "Configuration_impl.getServiceProfile("+id+")");
@@ -1008,6 +996,7 @@
}
return new ServiceProfile();
}
+*/
/**
* {@.ja [CORBA interface] 設定された全Organizationを取得する。}
openrtm-commit メーリングリストの案内