wrapper class of RT component More...
Public Member Functions | |
def | __init__ |
constructor | |
def | getLifeCycleState |
get life cycle state of the main execution context | |
def | getProperties |
get name-value list of the default configuration set | |
def | getProperty |
get value of the property in the default configuration set | |
def | isActive |
check the main execution context is active or not | |
def | isInactive |
check the main execution context is inactive or not | |
def | name |
get instance name | |
def | port |
get IOR of port | |
def | service |
get IOR of the service | |
def | setConfiguration |
update default configuration set | |
def | setProperty |
update value of the default configuration set | |
def | start |
activate this component | |
def | stop |
deactivate this component | |
Public Attributes | |
ec | |
owned_ecs | |
ports | |
ref |
wrapper class of RT component
Definition at line 25 of file python/rtm.py.
def python.rtm.RTcomponent.__init__ | ( | self, | |
ref | |||
) |
constructor
self | this object |
ref | IOR of RT component |
Definition at line 30 of file python/rtm.py.
def python.rtm.RTcomponent.getLifeCycleState | ( | self, | |
ec = None |
|||
) |
get life cycle state of the main execution context
self | this object |
ec | execution context from which life cycle state is obtained |
Definition at line 164 of file python/rtm.py.
def python.rtm.RTcomponent.getProperties | ( | self | ) |
get name-value list of the default configuration set
self | this object |
Definition at line 85 of file python/rtm.py.
def python.rtm.RTcomponent.getProperty | ( | self, | |
name | |||
) |
get value of the property in the default configuration set
self | this object |
name | name of the property |
Definition at line 93 of file python/rtm.py.
def python.rtm.RTcomponent.isActive | ( | self, | |
ec = None |
|||
) |
check the main execution context is active or not
ec | execution context |
1 | this component is active |
0 | this component is not active |
Definition at line 177 of file python/rtm.py.
def python.rtm.RTcomponent.isInactive | ( | self, | |
ec = None |
|||
) |
check the main execution context is inactive or not
ec | execution context |
1 | this component is inactive |
0 | this component is not inactive |
Definition at line 185 of file python/rtm.py.
def python.rtm.RTcomponent.name | ( | self | ) |
def python.rtm.RTcomponent.port | ( | self, | |
name | |||
) |
get IOR of port
self | this object |
name | name of the port |
Definition at line 46 of file python/rtm.py.
def python.rtm.RTcomponent.service | ( | self, | |
instance_name, | |||
type_name = "" , |
|||
port_name = "" |
|||
) |
get IOR of the service
self | this object |
instance_name | instance name of the service |
type_name | type name of hte service |
port_name | port name which provides the service |
Definition at line 61 of file python/rtm.py.
def python.rtm.RTcomponent.setConfiguration | ( | self, | |
nvlist | |||
) |
update default configuration set
self | this object |
nvlist | list of pairs of name and value |
Definition at line 69 of file python/rtm.py.
def python.rtm.RTcomponent.setProperty | ( | self, | |
name, | |||
value | |||
) |
update value of the default configuration set
self | this object |
name | name of the property |
value | new value of the property |
Definition at line 78 of file python/rtm.py.
def python.rtm.RTcomponent.start | ( | self, | |
ec = None , |
|||
timeout = 3.0 |
|||
) |
activate this component
self | this object |
ec | execution context used to activate this component |
timeout | maximum duration to wait for activation |
Definition at line 111 of file python/rtm.py.
def python.rtm.RTcomponent.stop | ( | self, | |
ec = None , |
|||
timeout = 3.0 |
|||
) |
deactivate this component
self | this object |
ec | execution context used to deactivate this component |
timeout | maximum duration to wait for deactivation |
Definition at line 138 of file python/rtm.py.
Definition at line 30 of file python/rtm.py.
Definition at line 30 of file python/rtm.py.
Definition at line 30 of file python/rtm.py.
Definition at line 30 of file python/rtm.py.