Classes | Functions | Variables
test_StateMachine Namespace Reference

Classes

class  TestStateMachine
 

Functions

def nullAction (self, st)
 
def on_aborting (self, st)
 
def on_activated (self, st)
 
def on_deactivated (self, st)
 
def on_error (self, st)
 
def on_execute (self, st)
 
def on_reset (self, st)
 
def on_state_update (self, st)
 
def setUp (self)
 
def tearDown (self)
 
def test_getState (self)
 
def test_getStates (self)
 
def test_goTo (self)
 
def test_isIn (self)
 
def test_setNOP (self)
 
def transition (self, st)
 

Variables

 _sm
 
list state = [RTC.INACTIVE_STATE, RTC.ACTIVE_STATE, RTC.ERROR_STATE]
 

Function Documentation

◆ nullAction()

def test_StateMachine.nullAction (   self,
  st 
)

Definition at line 58 of file test_StateMachine.py.

◆ on_aborting()

def test_StateMachine.on_aborting (   self,
  st 
)

Definition at line 70 of file test_StateMachine.py.

◆ on_activated()

def test_StateMachine.on_activated (   self,
  st 
)

Definition at line 62 of file test_StateMachine.py.

◆ on_deactivated()

def test_StateMachine.on_deactivated (   self,
  st 
)

Definition at line 66 of file test_StateMachine.py.

◆ on_error()

def test_StateMachine.on_error (   self,
  st 
)

Definition at line 74 of file test_StateMachine.py.

◆ on_execute()

def test_StateMachine.on_execute (   self,
  st 
)

Definition at line 82 of file test_StateMachine.py.

◆ on_reset()

def test_StateMachine.on_reset (   self,
  st 
)

Definition at line 78 of file test_StateMachine.py.

◆ on_state_update()

def test_StateMachine.on_state_update (   self,
  st 
)

Definition at line 86 of file test_StateMachine.py.

◆ setUp()

def test_StateMachine.setUp (   self)

Definition at line 32 of file test_StateMachine.py.

◆ tearDown()

def test_StateMachine.tearDown (   self)

Definition at line 54 of file test_StateMachine.py.

◆ test_getState()

def test_StateMachine.test_getState (   self)

Definition at line 114 of file test_StateMachine.py.

◆ test_getStates()

def test_StateMachine.test_getStates (   self)

Definition at line 99 of file test_StateMachine.py.

◆ test_goTo()

def test_StateMachine.test_goTo (   self)

Definition at line 120 of file test_StateMachine.py.

◆ test_isIn()

def test_StateMachine.test_isIn (   self)

Definition at line 117 of file test_StateMachine.py.

◆ test_setNOP()

def test_StateMachine.test_setNOP (   self)

Definition at line 95 of file test_StateMachine.py.

◆ transition()

def test_StateMachine.transition (   self,
  st 
)

Definition at line 90 of file test_StateMachine.py.

Variable Documentation

◆ _sm

test_StateMachine._sm
private

Definition at line 33 of file test_StateMachine.py.

◆ state

list test_StateMachine.state = [RTC.INACTIVE_STATE, RTC.ACTIVE_STATE, RTC.ERROR_STATE]

Definition at line 30 of file test_StateMachine.py.



openrtm_aist_python
Author(s): Shinji Kurihara
autogenerated on Mon Feb 28 2022 23:01:10