SdoService.py
Go to the documentation of this file.
1 #!/usr/bin/env python
2 # -*- coding: euc-jp -*-
3 
4 
17 
18 import SDOPackage, SDOPackage__POA
19 
20 
39  """
40  """
41 
42 
56  def __init__(self, id_=None, type_=None):
57  if id_ is None:
58  self.id = ""
59  else:
60  self.id = id_
61 
62  if type_ is None:
63  self.type = ""
64  else:
65  self.type = type_
66 
67  self.interfaceType = ""
68  self.idlDefinition = ""
69  self.properties = []
70  self.serviceRef = None
71 
72 
73 
87  def getProfile(self):
88  return self
89 
90 
91 
103  def setName(self, id_):
104  self.id = id_
105 
106 
107 
120  def getName(self):
121  return self.id
122 
123 
124 
136  def setInterfaceType(self, interfaceType):
137  self.interfaceType = interfaceType
138 
139 
140 
141  # @if jp
142  # @brief SDO ServiceProfile.interfaceType を取得する # # SDO Service のinterfaceTypeを取得する # # @param self # # @return Service のinterfaceType # # @else # @brief Getting SDOServiceProfile.interfaceType # @endif def getInterfaceType(self): return self.interfaceType ## # @if jp # @brief SDO ServiceProfile.idlDefinition をセットする # # SDO Service のidlDefinitionをセットする # # @param self # @param idlDefinition Service のidlDefinition # # @else # @brief Setting SDOServiceProfile.idlDefnition # @endif def setIdlDefinition(self, idlDefinition): self.idlDefinition = idlDefinition ## # @if jp # @brief SDO ServiceProfile.idlDefinition を取得する # # SDO Service のidlDefinitionを取得する # # @param self # # @return Service のidlDefinition # # @else # @brief Getting SDO ServiceProfile.idlDefnition # @endif def getIdlDefinition(self): return self.idlDefinition ## # @if jp # @brief SDO ServiceProfile.properties をセットする # # SDO Service のpropertiesをセットする # # @param self # @param properties Service のproperties # # @else # @brief Setting SDO ServiceProfile.properties # @endif def setProperties(self, properties): self.properties = properties ## # @if jp # @brief SDO ServiceProfile.properties を取得する # # SDO Service のpropertiesを取得する # # @param self # # @return Service のproperties # # @else # @brief Getting SDO ServiceProfile.properties # @endif def getProperties(self): return self.properties # bool addProperty(char name, CORBA::Any data); ## # @if jp # @brief SDO ServiceProfile.serviceRef をセットする # # SDO Service のserviceRefをセットする # # @param self # @param serviceRef Serviceへの参照 # # @else # @brief Setting SDO ServiceProfile.serviceRef # @endif def setServiceRef(self, serviceRef): self.serviceRef = serviceRef ## # @if jp # @brief SDO ServiceProfile.serviceRef を取得する # # SDO Service への参照を取得する # # @param self # # @return Serviceへの参照 # # @else # @brief Getting SDO ServiceProfile.serviceRef # @endif def getServiceRef(self): return self.serviceRef
143  #
144  # SDO Service のinterfaceTypeを取得する # # @param self # # @return Service のinterfaceType # # @else # @brief Getting SDOServiceProfile.interfaceType # @endif def getInterfaceType(self): return self.interfaceType ## # @if jp # @brief SDO ServiceProfile.idlDefinition をセットする # # SDO Service のidlDefinitionをセットする # # @param self # @param idlDefinition Service のidlDefinition # # @else # @brief Setting SDOServiceProfile.idlDefnition # @endif def setIdlDefinition(self, idlDefinition): self.idlDefinition = idlDefinition ## # @if jp # @brief SDO ServiceProfile.idlDefinition を取得する # # SDO Service のidlDefinitionを取得する # # @param self # # @return Service のidlDefinition # # @else # @brief Getting SDO ServiceProfile.idlDefnition # @endif def getIdlDefinition(self): return self.idlDefinition ## # @if jp # @brief SDO ServiceProfile.properties をセットする # # SDO Service のpropertiesをセットする # # @param self # @param properties Service のproperties # # @else # @brief Setting SDO ServiceProfile.properties # @endif def setProperties(self, properties): self.properties = properties ## # @if jp # @brief SDO ServiceProfile.properties を取得する # # SDO Service のpropertiesを取得する # # @param self # # @return Service のproperties # # @else # @brief Getting SDO ServiceProfile.properties # @endif def getProperties(self): return self.properties # bool addProperty(char name, CORBA::Any data); ## # @if jp # @brief SDO ServiceProfile.serviceRef をセットする # # SDO Service のserviceRefをセットする # # @param self # @param serviceRef Serviceへの参照 # # @else # @brief Setting SDO ServiceProfile.serviceRef # @endif def setServiceRef(self, serviceRef): self.serviceRef = serviceRef ## # @if jp # @brief SDO ServiceProfile.serviceRef を取得する # # SDO Service への参照を取得する # # @param self # # @return Serviceへの参照 # # @else # @brief Getting SDO ServiceProfile.serviceRef # @endif def getServiceRef(self): return self.serviceRef
145  #
146  # @param self
147  #
148  # @return Service のinterfaceType
149  #
150  # @else
151  # @brief Getting SDOServiceProfile.interfaceType
152  # @endif
153  def getInterfaceType(self):
154  return self.interfaceType
155 
156 
157 
169  def setIdlDefinition(self, idlDefinition):
170  self.idlDefinition = idlDefinition
171 
172 
173 
186  def getIdlDefinition(self):
187  return self.idlDefinition
188 
189 
190 
202  def setProperties(self, properties):
203  self.properties = properties
204 
205 
206 
219  def getProperties(self):
220  return self.properties
221 
222 
223  # bool addProperty(char name, CORBA::Any data);
224 
225 
226 
238  def setServiceRef(self, serviceRef):
239  self.serviceRef = serviceRef
240 
241 
242 
255  def getServiceRef(self):
256  return self.serviceRef
257 
def setInterfaceType(self, interfaceType)
Setting SDOServiceProfile.interfaceType.
Definition: SdoService.py:136
SDO Service Profile class.
Definition: SdoService.py:38
def __init__(self, id_=None, type_=None)
Definition: SdoService.py:56
def setProperties(self, properties)
Setting SDO ServiceProfile.properties.
Definition: SdoService.py:202
def getProperties(self)
Getting SDO ServiceProfile.properties.
Definition: SdoService.py:219
def getIdlDefinition(self)
Getting SDO ServiceProfile.idlDefnition.
Definition: SdoService.py:186
def getServiceRef(self)
Getting SDO ServiceProfile.serviceRef.
Definition: SdoService.py:255
def setName(self, id_)
Setting ServiceProfile.id.
Definition: SdoService.py:103
def getName(self)
Getting ServiceProfile.id.
Definition: SdoService.py:120
def setIdlDefinition(self, idlDefinition)
Setting SDOServiceProfile.idlDefnition.
Definition: SdoService.py:169
def setServiceRef(self, serviceRef)
Setting SDO ServiceProfile.serviceRef.
Definition: SdoService.py:238


openrtm_aist_python
Author(s): Shinji Kurihara
autogenerated on Thu Jun 6 2019 19:11:34