Public Member Functions | |
def | __init__ |
Constructor. | |
def | getState |
Get current state. | |
def | getStates |
Get state machine's status. | |
def | goTo |
Change status. | |
def | isIn |
Evaluate current status. | |
def | need_trans |
def | setDoAction |
Set Do action function. | |
def | setEntryAction |
Set Entry action function. | |
def | setExitAction |
Set Exit action function. | |
def | setListener |
Set Listener Object. | |
def | setNOP |
Set NOP function. | |
def | setNullFunc |
Worker function. | |
def | setPostDoAction |
Set PostDo action function. | |
def | setPreDoAction |
Set PreDo action function. | |
def | setStartState |
Set Exit action function. | |
def | setTransitionAction |
Set state transition action function. | |
def | sync |
def | update_curr |
def | worker |
Worker function. | |
Static Public Attributes | |
tuple | state_array |
Private Attributes | |
_do | |
_entry | |
_exit | |
_listener | |
_mutex | |
_num | |
_postdo | |
_predo | |
_states | |
_transit |
Definition at line 134 of file StateMachine.py.
def OpenRTM_aist.StateMachine.StateMachine.__init__ | ( | self, | |
num_of_state | |||
) |
Constructor.
Definition at line 155 of file StateMachine.py.
def OpenRTM_aist.StateMachine.StateMachine.getState | ( | self | ) |
Get current state.
Definition at line 395 of file StateMachine.py.
def OpenRTM_aist.StateMachine.StateMachine.getStates | ( | self | ) |
Get state machine's status.
Definition at line 377 of file StateMachine.py.
def OpenRTM_aist.StateMachine.StateMachine.goTo | ( | self, | |
state | |||
) |
Change status.
Definition at line 438 of file StateMachine.py.
def OpenRTM_aist.StateMachine.StateMachine.isIn | ( | self, | |
state | |||
) |
Evaluate current status.
Definition at line 414 of file StateMachine.py.
Definition at line 538 of file StateMachine.py.
def OpenRTM_aist.StateMachine.StateMachine.setDoAction | ( | self, | |
state, | |||
call_back | |||
) |
Set Do action function.
Definition at line 270 of file StateMachine.py.
def OpenRTM_aist.StateMachine.StateMachine.setEntryAction | ( | self, | |
state, | |||
call_back | |||
) |
Set Entry action function.
Definition at line 224 of file StateMachine.py.
def OpenRTM_aist.StateMachine.StateMachine.setExitAction | ( | self, | |
state, | |||
call_back | |||
) |
Set Exit action function.
Definition at line 316 of file StateMachine.py.
def OpenRTM_aist.StateMachine.StateMachine.setListener | ( | self, | |
listener | |||
) |
Set Listener Object.
Definition at line 205 of file StateMachine.py.
def OpenRTM_aist.StateMachine.StateMachine.setNOP | ( | self, | |
call_back | |||
) |
Set NOP function.
Definition at line 184 of file StateMachine.py.
def OpenRTM_aist.StateMachine.StateMachine.setNullFunc | ( | self, | |
s, | |||
nullfunc | |||
) |
Worker function.
Definition at line 503 of file StateMachine.py.
def OpenRTM_aist.StateMachine.StateMachine.setPostDoAction | ( | self, | |
state, | |||
call_back | |||
) |
Set PostDo action function.
Definition at line 293 of file StateMachine.py.
def OpenRTM_aist.StateMachine.StateMachine.setPreDoAction | ( | self, | |
state, | |||
call_back | |||
) |
Set PreDo action function.
Definition at line 247 of file StateMachine.py.
def OpenRTM_aist.StateMachine.StateMachine.setStartState | ( | self, | |
states | |||
) |
Set Exit action function.
Definition at line 356 of file StateMachine.py.
def OpenRTM_aist.StateMachine.StateMachine.setTransitionAction | ( | self, | |
call_back | |||
) |
Set state transition action function.
Definition at line 339 of file StateMachine.py.
def OpenRTM_aist.StateMachine.StateMachine.sync | ( | self, | |
states | |||
) |
Definition at line 520 of file StateMachine.py.
def OpenRTM_aist.StateMachine.StateMachine.update_curr | ( | self, | |
curr | |||
) |
Definition at line 552 of file StateMachine.py.
def OpenRTM_aist.StateMachine.StateMachine.worker | ( | self | ) |
Worker function.
Definition at line 455 of file StateMachine.py.
Definition at line 155 of file StateMachine.py.
Definition at line 155 of file StateMachine.py.
Definition at line 155 of file StateMachine.py.
Definition at line 205 of file StateMachine.py.
Definition at line 155 of file StateMachine.py.
Definition at line 155 of file StateMachine.py.
Definition at line 155 of file StateMachine.py.
Definition at line 155 of file StateMachine.py.
Definition at line 356 of file StateMachine.py.
Definition at line 155 of file StateMachine.py.
tuple OpenRTM_aist::StateMachine.StateMachine::state_array [static] |
(RTC.CREATED_STATE, RTC.INACTIVE_STATE, RTC.ACTIVE_STATE, RTC.ERROR_STATE)
Definition at line 138 of file StateMachine.py.