[openrtm-commit:02190] r895 - in trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC: . idl/fsm4rtc
openrtm @ openrtm.org
openrtm @ openrtm.org
2016年 12月 22日 (木) 20:47:36 JST
Author: win-ei
Date: 2016-12-22 20:47:36 +0900 (Thu, 22 Dec 2016)
New Revision: 895
Added:
trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/idl/fsm4rtc/DataPort.idl
Modified:
trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/build.xml
Log:
[FSM4RTC]Added DataPort.idl for FSM4RTC.
Modified: trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/build.xml
===================================================================
--- trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/build.xml 2016-12-22 09:43:07 UTC (rev 894)
+++ trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/build.xml 2016-12-22 11:47:36 UTC (rev 895)
@@ -103,6 +103,7 @@
<property name="idl.SharedMemory" value="${idl.path}/SharedMemory.idl" />
<property name="idl.RTC_ComponentObserver" value="${idl.path}/fsm4rtc/ComponentObserver.idl" />
<property name="idl.ExtendedFsmService" value="${idl.path}/fsm4rtc/ExtendedFsmService.idl" />
+ <property name="idl.RTC_DataPort" value="${idl.path}/fsm4rtc/DataPort.idl" />
<property name="idl.test.CorbaConsumer" value="${idl.path.tests}/CorbaConsumer/Hello.idl" />
@@ -349,6 +350,10 @@
</exec>
<exec executable="${java.home}\..\bin\idlj">
+ <arg line="-v -fall -td ${source} -i ${idl.path} -emitAll ${idl.RTC_DataPort}"/>
+ </exec>
+
+ <exec executable="${java.home}\..\bin\idlj">
<arg line="-v -fall -td ${source} -i ${idl.path} -emitAll ${idl.Logger}"/>
</exec>
@@ -720,6 +725,7 @@
-->
<test name="jp.go.aist.rtm.RTC.NamingManagerTest"/>
<!--
+ <test name="jp.go.aist.rtm.RTC.ExtendedFsmServiceProviderTest"/>
<test name="jp.go.aist.rtm.RTC.RTC.ComponentObserverConsumerTest"/>
<batchtest todir="${build.dir.test}/reports">
<fileSet dir="${build.dir.test}">
Added: trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/idl/fsm4rtc/DataPort.idl
===================================================================
--- trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/idl/fsm4rtc/DataPort.idl (rev 0)
+++ trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/idl/fsm4rtc/DataPort.idl 2016-12-22 11:47:36 UTC (rev 895)
@@ -0,0 +1,35 @@
+#ifndef _DATA_PORT_IDL_
+#define _DATA_PORT_IDL_
+
+#pragma prefix "omg.org"
+
+module RTC
+{
+ enum PortStatus
+ {
+ PORT_OK,
+ PORT_ERROR,
+ BUFFER_FULL,
+ BUFFER_EMPTY,
+ BUFFER_TIMEOUT,
+ UNKNOWN_ERROR
+ };
+ #pragma version PortStatus 1.0
+
+ typedef sequence<octet> OctetSeq;
+
+ interface DataPushService
+ {
+ PortStatus push(in OctetSeq data);
+ };
+ #pragma version DataPushService 1.0
+
+ interface DataPullService
+ {
+ PortStatus pull(out OctetSeq data);
+ };
+ #pragma version DataPullService 1.0
+};
+
+#endif // _DATA_PORT_IDL_
+
More information about the openrtm-commit
mailing list