[openrtm-commit:00522] r615 - branches/work/ForLocalService/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC
openrtm @ openrtm.org
openrtm @ openrtm.org
2011年 12月 27日 (火) 15:28:00 JST
Author: fsi-katami
Date: 2011-12-27 15:27:59 +0900 (Tue, 27 Dec 2011)
New Revision: 615
Modified:
branches/work/ForLocalService/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC/RtcLifecycleActionListenerArgument.java
branches/work/ForLocalService/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC/RtcLifecycleActionListenerHolder.java
Log:
Implemented LocalService. refs #2301
Modified: branches/work/ForLocalService/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC/RtcLifecycleActionListenerArgument.java
===================================================================
--- branches/work/ForLocalService/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC/RtcLifecycleActionListenerArgument.java 2011-12-27 01:52:13 UTC (rev 614)
+++ branches/work/ForLocalService/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC/RtcLifecycleActionListenerArgument.java 2011-12-27 06:27:59 UTC (rev 615)
@@ -18,6 +18,32 @@
m_method = method;
m_args = args;
}
+ /**
+ * {@.ja コンストラクタ}
+ * {@.en Constructor}
+ *
+ */
+ public RtcLifecycleActionListenerArgument(String method){
+ m_method = method;
+ }
+ /**
+ * {@.ja コンストラクタ}
+ * {@.en Constructor}
+ *
+ */
+ public RtcLifecycleActionListenerArgument(String method, RTObject_impl rtobj){
+ m_method = method;
+ m_rtobj = rtobj;
+ }
+ /**
+ * {@.ja コンストラクタ}
+ * {@.en Constructor}
+ *
+ */
+ public RtcLifecycleActionListenerArgument(String method, Properties prop){
+ m_method = method;
+ m_prop = prop;
+ }
public String m_method;
public String m_args;
public Properties m_prop;
Modified: branches/work/ForLocalService/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC/RtcLifecycleActionListenerHolder.java
===================================================================
--- branches/work/ForLocalService/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC/RtcLifecycleActionListenerHolder.java 2011-12-27 01:52:13 UTC (rev 614)
+++ branches/work/ForLocalService/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC/RtcLifecycleActionListenerHolder.java 2011-12-27 06:27:59 UTC (rev 615)
@@ -32,7 +32,9 @@
*/
public void postCreate(RTObject_impl rtobj){
super.setChanged();
- super.notifyObservers((Object)rtobj);
+ RtcLifecycleActionListenerArgument arg
+ = new RtcLifecycleActionListenerArgument("postCreate",rtobj);
+ super.notifyObservers((Object)arg);
super.clearChanged();
}
@@ -42,7 +44,9 @@
*/
public void preConfigure(Properties prop){
super.setChanged();
- super.notifyObservers((Object)prop);
+ RtcLifecycleActionListenerArgument arg
+ = new RtcLifecycleActionListenerArgument("preConfigure",prop);
+ super.notifyObservers((Object)arg);
super.clearChanged();
}
@@ -52,7 +56,9 @@
*/
public void postConfigure(Properties prop){
super.setChanged();
- super.notifyObservers((Object)prop);
+ RtcLifecycleActionListenerArgument arg
+ = new RtcLifecycleActionListenerArgument("postConfigure",prop);
+ super.notifyObservers((Object)arg);
super.clearChanged();
}
@@ -62,7 +68,9 @@
*/
public void preInitialize(){
super.setChanged();
- super.notifyObservers();
+ RtcLifecycleActionListenerArgument arg
+ = new RtcLifecycleActionListenerArgument("preInitialize");
+ super.notifyObservers((Object)arg);
super.clearChanged();
}
@@ -72,7 +80,9 @@
*/
public void postInitialize(){
super.setChanged();
- super.notifyObservers();
+ RtcLifecycleActionListenerArgument arg
+ = new RtcLifecycleActionListenerArgument("postInitialize");
+ super.notifyObservers((Object)arg);
super.clearChanged();
}
};
openrtm-commit メーリングリストの案内