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

Public Member Functions

def __init__ (self, conditions=dict(), args, kwargs)
 
def on_exit (self, userdata, states=None)
 
- Public Member Functions inherited from flexbe_core.core.event_state.EventState
def __init__ (self, args, kwargs)
 
def on_enter (self, userdata)
 
def on_exit (self, userdata)
 
def on_pause (self)
 
def on_resume (self, userdata)
 
def on_start (self)
 
def on_stop (self)
 
- Public Member Functions inherited from flexbe_core.core.operatable_state.OperatableState
def __init__ (self, args, kwargs)
 
- Public Member Functions inherited from flexbe_core.core.preemptable_state.PreemptableState
def __init__ (self, args, kwargs)
 
- Public Member Functions inherited from flexbe_core.core.loopback_state.LoopbackState
def __init__ (self, args, kwargs)
 
- Public Member Functions inherited from flexbe_core.core.lockable_state.LockableState
def __init__ (self, args, kwargs)
 
def is_locked (self)
 
- Public Member Functions inherited from flexbe_core.core.manually_transitionable_state.ManuallyTransitionableState
def __init__ (self, args, kwargs)
 
- Public Member Functions inherited from flexbe_core.core.monitoring_state.MonitoringState
def __init__ (self, args, kwargs)
 
def force_monitoring (self)
 
def monitor (self, key, outcome=None)
 
- Public Member Functions inherited from flexbe_core.core.operatable_state_machine.OperatableStateMachine
def __init__ (self, args, kwargs)
 
def confirm (self, name, id)
 
def destroy (self)
 
def execute (self, parent_ud=smach.UserData())
 
def on_exit (self, userdata)
 
def replace (self, new_state)
 
- Public Member Functions inherited from flexbe_core.core.preemptable_state_machine.PreemptableStateMachine
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)
 

Public Attributes

 execute
 
- Public Attributes inherited from flexbe_core.core.event_state.EventState
 execute
 
- Public Attributes inherited from flexbe_core.core.operatable_state.OperatableState
 autonomy
 
 execute
 
 transitions
 
- Public Attributes inherited from flexbe_core.core.preemptable_state.PreemptableState
 execute
 
- Public Attributes inherited from flexbe_core.core.loopback_state.LoopbackState
 execute
 
- Public Attributes inherited from flexbe_core.core.lockable_state.LockableState
 execute
 
- Public Attributes inherited from flexbe_core.core.manually_transitionable_state.ManuallyTransitionableState
 execute
 
- Public Attributes inherited from flexbe_core.core.monitoring_state.MonitoringState
 execute
 
 name
 
- Public Attributes inherited from flexbe_core.core.operatable_state_machine.OperatableStateMachine
 autonomy
 
 id
 
 name
 
- Public Attributes inherited from flexbe_core.core.lockable_state_machine.LockableStateMachine
 name
 
 transitions
 

Private Member Functions

def _build_msg (self, args, kwargs)
 
def _concurrency_execute (self, args, kwargs)
 
def _disable_ros_control (self)
 
def _enable_ros_control (self)
 
def _execute_state (self, state, force_exit=False)
 
def _notify_start (self)
 
def _notify_stop (self)
 
def _update_once (self)
 

Private Attributes

 __execute
 
 _conditions
 
 _current_state
 
 _returned_outcomes
 

Additional Inherited Members

- Static Public Member Functions inherited from flexbe_core.core.operatable_state_machine.OperatableStateMachine
def add (label, state, transitions=None, autonomy=None, remapping=None)
 
- Static Public Attributes inherited from flexbe_core.core.preemptable_state.PreemptableState
bool preempt = False
 
bool switching = False
 
- Static Public Attributes inherited from flexbe_core.core.operatable_state_machine.OperatableStateMachine
int autonomy_level = 3
 
bool silent_mode = False
 
- Static Public Attributes inherited from flexbe_core.core.lockable_state_machine.LockableStateMachine
 path_for_switch = None
 

Detailed Description

A state machine that can be operated.
It synchronizes its current state with the mirror and supports some control mechanisms.

Definition at line 13 of file concurrency_container.py.

Constructor & Destructor Documentation

def flexbe_core.core.concurrency_container.ConcurrencyContainer.__init__ (   self,
  conditions = dict(),
  args,
  kwargs 
)

Definition at line 19 of file concurrency_container.py.

Member Function Documentation

def flexbe_core.core.concurrency_container.ConcurrencyContainer._build_msg (   self,
  args,
  kwargs 
)
private

Definition at line 33 of file concurrency_container.py.

def flexbe_core.core.concurrency_container.ConcurrencyContainer._concurrency_execute (   self,
  args,
  kwargs 
)
private

Definition at line 28 of file concurrency_container.py.

def flexbe_core.core.concurrency_container.ConcurrencyContainer._disable_ros_control (   self)
private

Definition at line 132 of file concurrency_container.py.

def flexbe_core.core.concurrency_container.ConcurrencyContainer._enable_ros_control (   self)
private

Definition at line 116 of file concurrency_container.py.

def flexbe_core.core.concurrency_container.ConcurrencyContainer._execute_state (   self,
  state,
  force_exit = False 
)
private

Definition at line 85 of file concurrency_container.py.

def flexbe_core.core.concurrency_container.ConcurrencyContainer._notify_start (   self)
private

Definition at line 109 of file concurrency_container.py.

def flexbe_core.core.concurrency_container.ConcurrencyContainer._notify_stop (   self)
private

Definition at line 123 of file concurrency_container.py.

def flexbe_core.core.concurrency_container.ConcurrencyContainer._update_once (   self)
private

Definition at line 38 of file concurrency_container.py.

def flexbe_core.core.concurrency_container.ConcurrencyContainer.on_exit (   self,
  userdata,
  states = None 
)

Definition at line 139 of file concurrency_container.py.

Member Data Documentation

flexbe_core.core.concurrency_container.ConcurrencyContainer.__execute
private

Definition at line 24 of file concurrency_container.py.

flexbe_core.core.concurrency_container.ConcurrencyContainer._conditions
private

Definition at line 21 of file concurrency_container.py.

flexbe_core.core.concurrency_container.ConcurrencyContainer._current_state
private

Definition at line 78 of file concurrency_container.py.

flexbe_core.core.concurrency_container.ConcurrencyContainer._returned_outcomes
private

Definition at line 22 of file concurrency_container.py.

flexbe_core.core.concurrency_container.ConcurrencyContainer.execute

Definition at line 25 of file concurrency_container.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