[openrtm-commit:00057] r173 - in trunk/rtmtools/jp.go.aist.rtm.toolscommon: . idl

openrtm @ openrtm.org openrtm @ openrtm.org
2011年 5月 18日 (水) 12:48:59 JST


Author: ta
Date: 2011-05-18 12:48:58 +0900 (Wed, 18 May 2011)
New Revision: 173

Added:
   trunk/rtmtools/jp.go.aist.rtm.toolscommon/idl/BasicDataType.idl
Modified:
   trunk/rtmtools/jp.go.aist.rtm.toolscommon/build.xml
Log:
modify build.xml
add IDL

Modified: trunk/rtmtools/jp.go.aist.rtm.toolscommon/build.xml
===================================================================
--- trunk/rtmtools/jp.go.aist.rtm.toolscommon/build.xml	2011-05-17 09:30:24 UTC (rev 172)
+++ trunk/rtmtools/jp.go.aist.rtm.toolscommon/build.xml	2011-05-18 03:48:58 UTC (rev 173)
@@ -16,13 +16,10 @@
 	<property name="idl.path" value="idl" />
 	<property name="idl.SDOPackage" value="${idl.path}/SDOPackage11.idl" />
 	<property name="idl.RTC" value="${idl.path}/RTC10.idl" />
-	<property name="idl.OpenRTM" value="${idl.path}/OpenRTM.idl" />
-	<property name="idl.BasicDataType" value="${idl.path}/BasicDataType.idl" />
-	<property name="idl.DataPort" value="${idl.path}/DataPort.idl" />
 	<property name="idl.Manager" value="${idl.path}/Manager.idl" />
-
+	<property name="idl.ComponentObserver" value="${idl.path}/ComponentObserver.idl" />
+	<property name="idl.Logger" value="${idl.path}/Logger.idl" />
 	
-	
 	<taskdef resource="net/sf/ant4eclipse/antlib.xml" />
 	<property name="targetPlatformLocation" value="${eclipse.home}" />
 	<property name="workspace" value="${basedir}/.." />
@@ -47,6 +44,12 @@
 		<exec executable="${java.home}\..\bin\idlj">
 			<arg line="-fall -td ${source} -i ${idl.path} -emitAll ${idl.Manager}"/>
 		</exec>
+		<exec executable="${java.home}\..\bin\idlj">
+			<arg line="-fall -td ${source} -i ${idl.path} -emitAll ${idl.ComponentObserver}"/>
+		</exec>
+		<exec executable="${java.home}\..\bin\idlj">
+			<arg line="-fall -td ${source} -i ${idl.path} -emitAll ${idl.Logger}"/>
+		</exec>
 	</target>
 
 	<target name="clean" description="ビルドで生成されたファイルを削除します">

Added: trunk/rtmtools/jp.go.aist.rtm.toolscommon/idl/BasicDataType.idl
===================================================================
--- trunk/rtmtools/jp.go.aist.rtm.toolscommon/idl/BasicDataType.idl	                        (rev 0)
+++ trunk/rtmtools/jp.go.aist.rtm.toolscommon/idl/BasicDataType.idl	2011-05-18 03:48:58 UTC (rev 173)
@@ -0,0 +1,189 @@
+// -*- IDL -*-
+/*!
+ * @file DataType.idl
+ * @brief Basic Data Type definition
+ * @date $Date: 2007-01-09 15:36:29 $
+ * @author Noriaki Ando <n-ando at aist.go.jp>
+ *
+ * Copyright (C) 2003-2006
+ *     Task-intelligence Research Group,
+ *     Intelligent Systems Research Institute,
+ *     National Institute of
+ *         Advanced Industrial Science and Technology (AIST), Japan
+ *     All rights reserved.
+ *
+ * $Id: BasicDataType.idl 1580 2009-12-07 08:54:10Z kurihara $
+ *
+ */
+
+#ifndef BasicDataType_idl
+#define BasicDataType_idl
+
+module RTC {
+  //------------------------------------------------------------
+  // Basic data type definition
+  //------------------------------------------------------------
+  struct Time
+  {
+        unsigned long sec;    // sec
+        unsigned long nsec;   // nano sec
+  };
+
+  struct TimedState
+  {
+	Time tm;
+	short data;
+  };
+
+  struct TimedShort
+  {
+	Time tm;
+	short data;
+  };
+
+  struct TimedLong
+  {
+	Time tm;
+	long data;
+  };
+
+  struct TimedUShort
+  {
+	Time tm;
+	unsigned short data;
+  };
+
+  struct TimedULong
+  {
+	Time tm;
+	unsigned long data;
+  };
+
+  struct TimedFloat
+  {
+	Time tm;
+	float data;
+  };
+
+  struct TimedDouble
+  {
+	Time tm;
+	double data;
+  };
+
+  struct TimedChar
+  {
+	Time tm;
+	char data;
+  };
+
+  struct TimedWChar
+  {
+	Time tm;
+	wchar data;
+  };
+
+  struct TimedBoolean
+  {
+	Time tm;
+	boolean data;
+  };
+
+  struct TimedOctet
+  {
+	Time tm;
+	octet data;
+  };
+
+  struct TimedString
+  {
+	Time tm;
+	string data;
+  };
+
+
+  struct TimedWString
+  {
+	Time tm;
+	wstring data;
+  };
+
+
+  /*!
+   * Sequence data type
+   */
+  struct TimedShortSeq
+  {
+	Time tm;
+	sequence<short> data;
+  };
+
+  struct TimedLongSeq
+  {
+	Time tm;
+	sequence<long> data;
+  };
+
+  struct TimedUShortSeq
+  {
+	Time tm;
+	sequence<unsigned short> data;
+  };
+
+  struct TimedULongSeq
+  {
+	Time tm;
+	sequence<unsigned long> data;
+  };
+
+  struct TimedFloatSeq
+  {
+	Time tm;
+	sequence<float> data;
+  };
+
+  struct TimedDoubleSeq
+  {
+	Time tm;
+	sequence<double> data;
+  };
+
+  struct TimedCharSeq
+  {
+	Time tm;
+	sequence<char> data;
+  };
+
+  struct TimedWCharSeq
+  {
+	Time tm;
+	sequence<wchar> data;
+  };
+
+  struct TimedBooleanSeq
+  {
+	Time tm;
+	sequence<boolean> data;
+  };
+
+  struct TimedOctetSeq
+  {
+	Time tm;
+	sequence<octet> data;
+  };
+
+  struct TimedStringSeq
+  {
+	Time tm;
+	sequence<string> data;
+  };
+  
+  struct TimedWStringSeq
+  {
+	Time tm;
+	sequence<wstring> data;
+  };
+  
+};
+
+#endif // end of BasicDataType_idl



openrtm-commit メーリングリストの案内