Main Page
Namespaces
Classes
Files
File List
OpenRTM_aist
test
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
25
class
MySdoServiceConsumer
(
OpenRTM_aist.SdoServiceConsumerBase
):
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
49
def
MySdoServiceConsumerInit
(manager):
50
factory = OpenRTM_aist.SdoServiceConsumerFactory.instance()
51
factory.addFactory(OpenRTM_aist.toTypename(OpenRTM.ComponentObserver),
52
MySdoServiceConsumer,
53
OpenRTM_aist.Delete)
54
return
MySdoServiceConsumer.MySdoServiceConsumer.__init__
def __init__(self)
Definition:
MySdoServiceConsumer.py:26
MySdoServiceConsumer.MySdoServiceConsumer._profile
_profile
Definition:
MySdoServiceConsumer.py:27
MySdoServiceConsumer.MySdoServiceConsumer.__del__
def __del__(self)
Definition:
MySdoServiceConsumer.py:31
MySdoServiceConsumer.MySdoServiceConsumer._rtobj
_rtobj
Definition:
MySdoServiceConsumer.py:28
MySdoServiceConsumer.MySdoServiceConsumer
Definition:
MySdoServiceConsumer.py:25
MySdoServiceConsumer.MySdoServiceConsumer.getProfile
def getProfile(self)
Definition:
MySdoServiceConsumer.py:42
MySdoServiceConsumer.MySdoServiceConsumerInit
def MySdoServiceConsumerInit(manager)
Definition:
MySdoServiceConsumer.py:49
MySdoServiceConsumer.MySdoServiceConsumer.reinit
def reinit(self, profile)
Definition:
MySdoServiceConsumer.py:39
OpenRTM_aist.SdoServiceConsumerBase.SdoServiceConsumerBase
Definition:
SdoServiceConsumerBase.py:37
MySdoServiceConsumer.MySdoServiceConsumer.init
def init(self, rtobj, profile)
Definition:
MySdoServiceConsumer.py:34
MySdoServiceConsumer.MySdoServiceConsumer.finalize
def finalize(self)
Definition:
MySdoServiceConsumer.py:45
openrtm_aist_python
Author(s): Shinji Kurihara
autogenerated on Thu Jun 6 2019 19:11:34