Public Member Functions | Static Public Attributes | Private Attributes
OpenRTM_aist.StateMachine.StateMachine Class Reference

List of all members.

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

Detailed Description

Definition at line 134 of file StateMachine.py.


Constructor & Destructor Documentation

def OpenRTM_aist.StateMachine.StateMachine.__init__ (   self,
  num_of_state 
)

Constructor.

Definition at line 155 of file StateMachine.py.


Member Function Documentation

Get current state.

Definition at line 395 of file StateMachine.py.

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.

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.

Set Exit action function.

Definition at line 356 of file StateMachine.py.

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.

Definition at line 552 of file StateMachine.py.

Worker function.

Definition at line 455 of file StateMachine.py.


Member Data Documentation

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.

Initial value:
(RTC.CREATED_STATE,
                 RTC.INACTIVE_STATE,
                 RTC.ACTIVE_STATE,
                 RTC.ERROR_STATE)

Definition at line 138 of file StateMachine.py.


The documentation for this class was generated from the following file:


openrtm_aist_python
Author(s): Shinji Kurihara
autogenerated on Thu Aug 27 2015 14:17:30