Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
flexbe_core.core.preemptable_state_machine.PreemptableStateMachine Class Reference
Inheritance diagram for flexbe_core.core.preemptable_state_machine.PreemptableStateMachine:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self, args, kwargs)
 
- Public Member Functions inherited from flexbe_core.core.loopback_state_machine.LoopbackStateMachine
def __init__ (self, args, kwargs)
 
- Public Member Functions inherited from flexbe_core.core.lockable_state_machine.LockableStateMachine
def __init__ (self, args, kwargs)
 
def get_locked_state (self)
 
def is_locked (self)
 
def is_locked_inside (self)
 
def lock (self, path)
 
def transition_allowed (self, state, outcome)
 
def unlock (self, path)
 

Private Member Functions

def _preempt_cb (self, msg)
 

Private Attributes

 _preempt_topic
 
 _sub
 

Static Private Attributes

string _preempted_name = 'preempted'
 

Additional Inherited Members

- Public Attributes inherited from flexbe_core.core.lockable_state_machine.LockableStateMachine
 name
 
 transitions
 
- Static Public Attributes inherited from flexbe_core.core.lockable_state_machine.LockableStateMachine
 path_for_switch = None
 

Detailed Description

A state machine that can be preempted.
If preempted, the state machine will return the outcome preempted.

Definition at line 11 of file preemptable_state_machine.py.

Constructor & Destructor Documentation

def flexbe_core.core.preemptable_state_machine.PreemptableStateMachine.__init__ (   self,
  args,
  kwargs 
)

Definition at line 19 of file preemptable_state_machine.py.

Member Function Documentation

def flexbe_core.core.preemptable_state_machine.PreemptableStateMachine._preempt_cb (   self,
  msg 
)
private

Definition at line 36 of file preemptable_state_machine.py.

Member Data Documentation

flexbe_core.core.preemptable_state_machine.PreemptableStateMachine._preempt_topic
private

Definition at line 31 of file preemptable_state_machine.py.

string flexbe_core.core.preemptable_state_machine.PreemptableStateMachine._preempted_name = 'preempted'
staticprivate

Definition at line 17 of file preemptable_state_machine.py.

flexbe_core.core.preemptable_state_machine.PreemptableStateMachine._sub
private

Definition at line 32 of file preemptable_state_machine.py.


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


flexbe_core
Author(s): Philipp Schillinger
autogenerated on Wed Jun 5 2019 21:51:59