MySdoServiceConsumer.py
Go to the documentation of this file.
1 #!/usr/bin/env python
2 # -*- Python -*-
3 
4 
5 ## \file MySdoServiceConsumer.py
6 ## \brief test for SdoServiceConsumer class
7 ## \date $Date: $
8 ## \author Shinji Kurihara
9 #
10 # Copyright (C) 2011
11 # Task-intelligence Research Group,
12 # Intelligent Systems Research Institute,
13 # National Institute of
14 # Advanced Industrial Science and Technology (AIST), Japan
15 # All rights reserved.
16 #
17 
18 import sys
19 sys.path.insert(1,"../")
20 sys.path.insert(1,"../RTM_IDL")
21 import OpenRTM_aist
22 import OpenRTM
23 
24 
26  def __init__(self):
27  self._profile = None
28  self._rtobj = None
29  return
30 
31  def __del__(self):
32  return
33 
34  def init(self, rtobj, profile):
35  self._rtobj = rtobj
36  self._profile = profile
37  return True
38 
39  def reinit(self, profile):
40  return
41 
42  def getProfile(self):
43  return self._profile
44 
45  def finalize(self):
46  return
47 
48 
50  factory = OpenRTM_aist.SdoServiceConsumerFactory.instance()
51  factory.addFactory(OpenRTM_aist.toTypename(OpenRTM.ComponentObserver),
52  MySdoServiceConsumer,
53  OpenRTM_aist.Delete)
54  return
def MySdoServiceConsumerInit(manager)


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