[openrtm-commit:02287] r787 - in trunk/OpenRTM-aist-Python: . OpenRTM_aist/RTM_IDL
openrtm @ openrtm.org
openrtm @ openrtm.org
2017年 1月 21日 (土) 17:21:28 JST
Author: n-ando
Date: 2017-01-21 17:21:28 +0900 (Sat, 21 Jan 2017)
New Revision: 787
Added:
trunk/OpenRTM-aist-Python/OpenRTM_aist/RTM_IDL/IORProfile.idl
Modified:
trunk/OpenRTM-aist-Python/setup.py
Log:
[incompat,newfunc] IORProfile.idl introduced to obtain IP addr/port information from IOR. refs #3873
Added: trunk/OpenRTM-aist-Python/OpenRTM_aist/RTM_IDL/IORProfile.idl
===================================================================
--- trunk/OpenRTM-aist-Python/OpenRTM_aist/RTM_IDL/IORProfile.idl (rev 0)
+++ trunk/OpenRTM-aist-Python/OpenRTM_aist/RTM_IDL/IORProfile.idl 2017-01-21 08:21:28 UTC (rev 787)
@@ -0,0 +1,48 @@
+/* -*- idl -*- */
+
+// Profile
+typedef unsigned long ProfileId;
+typedef sequence<octet> ProfileData;
+struct TaggedProfile
+{
+ ProfileId tag;
+ ProfileData profile_data;
+};
+typedef sequence<TaggedProfile> TaggedProfileList;
+
+// Component
+typedef unsigned long ComponentId;
+typedef sequence<octet> ComponentData;
+struct TaggedComponent
+{
+ ComponentId tag;
+ ComponentData component_data;
+};
+typedef sequence<TaggedComponent> MultipleComponentProfile;
+
+// ProfileBody
+struct Version
+{
+ octet dummy;
+ octet major;
+ octet minor;
+};
+struct Address
+{
+ string host;
+ unsigned short port;
+};
+typedef sequence<octet> ObjectKey;
+struct ProfileBody
+{
+ Version version_;
+ Address address_;
+ ObjectKey object_key;
+ MultipleComponentProfile components;
+};
+
+struct IOR
+{
+ string type_id;
+ TaggedProfileList profiles;
+};
Property changes on: trunk/OpenRTM-aist-Python/OpenRTM_aist/RTM_IDL/IORProfile.idl
___________________________________________________________________
Added: svn:executable
+ *
Modified: trunk/OpenRTM-aist-Python/setup.py
===================================================================
--- trunk/OpenRTM-aist-Python/setup.py 2017-01-20 05:53:18 UTC (rev 786)
+++ trunk/OpenRTM-aist-Python/setup.py 2017-01-21 08:21:28 UTC (rev 787)
@@ -207,7 +207,8 @@
"OpenRTM.idl",
"RTC.idl",
"SDOPackage.idl",
- "SharedMemory.idl"
+ "SharedMemory.idl",
+ "IORProfile.idl"
]
baseidl_mods = ["RTM", "RTC", "SDOPackage", "OpenRTM"]
baseidl_path = os.path.normpath(current_dir + "/" + baseidl_dir)
More information about the openrtm-commit
mailing list