[openrtm-commit:02897] r3058 - trunk/OpenRTM-aist/src/lib/rtm/idl

openrtm @ openrtm.org openrtm @ openrtm.org
2017年 11月 2日 (木) 11:38:21 JST


Author: miyamoto
Date: 2017-11-02 11:38:21 +0900 (Thu, 02 Nov 2017)
New Revision: 3058

Added:
   trunk/OpenRTM-aist/src/lib/rtm/idl/SharedMemory.idl
Modified:
   trunk/OpenRTM-aist/src/lib/rtm/idl/CMakeLists.txt
   trunk/OpenRTM-aist/src/lib/rtm/idl/Makefile.am
Log:
[incompat,->RELENG_1_2] #3269

Modified: trunk/OpenRTM-aist/src/lib/rtm/idl/CMakeLists.txt
===================================================================
--- trunk/OpenRTM-aist/src/lib/rtm/idl/CMakeLists.txt	2017-11-02 01:39:23 UTC (rev 3057)
+++ trunk/OpenRTM-aist/src/lib/rtm/idl/CMakeLists.txt	2017-11-02 02:38:21 UTC (rev 3058)
@@ -57,6 +57,7 @@
 	OpenRTM
 	RTC
 	SDOPackage
+	SharedMemory
 	)
 
 

Modified: trunk/OpenRTM-aist/src/lib/rtm/idl/Makefile.am
===================================================================
--- trunk/OpenRTM-aist/src/lib/rtm/idl/Makefile.am	2017-11-02 01:39:23 UTC (rev 3057)
+++ trunk/OpenRTM-aist/src/lib/rtm/idl/Makefile.am	2017-11-02 02:38:21 UTC (rev 3058)
@@ -27,7 +27,8 @@
 	BasicDataType.idl     \
 	DataPort.idl          \
 	ExtendedDataTypes.idl \
-	InterfaceDataTypes.idl
+	InterfaceDataTypes.idl\
+	SharedMemory.idl
 endif
 
 SKEL_H   = $(IDL_SOURCES:.idl=Skel.h)
@@ -80,7 +81,8 @@
         BasicDataTypeSkel.h     \
         DataPortSkel.h          \
         ExtendedDataTypesSkel.h \
-        InterfaceDataTypesSkel.h
+        InterfaceDataTypesSkel.h\
+        SharedMemorySkel.h
 ORB_SRC = $(RTORB_SRC)
 endif
 
@@ -146,6 +148,7 @@
 	echo '#include "Manager.idl"' >> OpenRTM-aist.idl
 	echo '#include "DataPort.idl"' >> OpenRTM-aist.idl
 	echo '#include "InterfaceDataTypes.idl"' >> OpenRTM-aist.idl
+	echo '#include "SharedMemory.idl"' >> OpenRTM-aist.idl
 
 idl-stamp: $(IDL_SOURCES)
 	@touch idl-stamp

Added: trunk/OpenRTM-aist/src/lib/rtm/idl/SharedMemory.idl
===================================================================
--- trunk/OpenRTM-aist/src/lib/rtm/idl/SharedMemory.idl	                        (rev 0)
+++ trunk/OpenRTM-aist/src/lib/rtm/idl/SharedMemory.idl	2017-11-02 02:38:21 UTC (rev 3058)
@@ -0,0 +1,32 @@
+// -*- IDL -*-
+/*!
+ * @file SharedMemory.idl
+ * @brief Shared Memory TransPort interface definition
+ * @date $Date: 2016-02-25  $
+ * @author Nobuhiko Miyamoto
+ *
+ *
+ */
+
+#ifndef SharedMemory_idl
+#define SharedMemory_idl
+
+
+#include "DataPort.idl"
+
+module OpenRTM
+{
+
+
+  interface PortSharedMemory
+  {
+    void open_memory(in unsigned long long memory_size, in string shm_address);
+    void create_memory(in unsigned long long memory_size, in string shm_address);
+    void close_memory(in boolean unlink);
+    void setInterface(in PortSharedMemory sm);
+    void setEndian(in boolean endian);
+    PortStatus put();
+    PortStatus get();
+  };
+};
+#endif



More information about the openrtm-commit mailing list