Public Member Functions | 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)
 
def sleep (self)
 
def sleep_duration (self)
 
- 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 get_required_autonomy (self, outcome)
 
def is_transition_allowed (self, label, outcome)
 
def on_exit (self, userdata)
 
- 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.lockable_state_machine.LockableStateMachine
def __init__ (self, args, kwargs)
 
def execute (self, userdata)
 
def get_deep_state (self)
 
def get_locked_state (self)
 
def is_locked (self)
 
def is_locked_inside (self)
 
def lock (self, path)
 
def remove_state (self, state)
 
def replace_state (self, state)
 
def replace_userdata (self, userdata)
 
def transition_allowed (self, state, outcome)
 
def unlock (self, path)
 
- Public Member Functions inherited from flexbe_core.core.ros_state_machine.RosStateMachine
def __init__ (self, args, kwargs)
 
def wait (self, seconds=None, condition=None)
 
- Public Member Functions inherited from flexbe_core.core.state_machine.StateMachine
def __contains__ (self, label)
 
def __enter__ (self)
 
def __exit__ (self, args)
 
def __getitem__ (self, label)
 
def __init__ (self, args, kwargs)
 
def __iter__ (self)
 
def assert_consistent_transitions (self)
 
def current_state (self)
 
def current_state_label (self)
 
def execute (self, userdata)
 
def initial_state (self)
 
def initial_state_label (self)
 
def sleep (self)
 
def sleep_duration (self)
 
def spin (self, userdata=None)
 
def userdata (self)
 
- Public Member Functions inherited from flexbe_core.core.state.State
def __init__ (self, args, kwargs)
 
def execute (self, userdata)
 
def input_keys (self)
 
def name (self)
 
def outcomes (self)
 
def output_keys (self)
 
def parent (self)
 
def path (self)
 
def set_name (self, value)
 
def set_parent (self, value)
 
def sleep (self)
 
def sleep_duration (self)
 

Private Member Functions

def _disable_ros_control (self)
 
def _enable_ros_control (self)
 
def _execute_current_state (self)
 
def _execute_single_state (self, state, force_exit=False)
 

Private Attributes

 _conditions
 
 _current_state
 
 _last_exception
 
 _returned_outcomes
 
 _sleep_dur
 

Additional Inherited Members

- Static Public Member Functions inherited from flexbe_core.core.operatable_state_machine.OperatableStateMachine
def add (label, state, transitions, autonomy=None, remapping=None)
 
- Static Public Member Functions inherited from flexbe_core.core.preemptable_state_machine.PreemptableStateMachine
def add (label, state, transitions=None, remapping=None)
 
- Static Public Member Functions inherited from flexbe_core.core.state_machine.StateMachine
def add (label, state, transitions, remapping=None)
 
def get_opened_container ()
 
- Public Attributes inherited from flexbe_core.core.operatable_state_machine.OperatableStateMachine
 id
 
- Static Public Attributes inherited from flexbe_core.core.operatable_state_machine.OperatableStateMachine
int autonomy_level = 3
 
- 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 10 of file concurrency_container.py.

Constructor & Destructor Documentation

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

Definition at line 16 of file concurrency_container.py.

Member Function Documentation

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

Definition at line 105 of file concurrency_container.py.

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

Definition at line 98 of file concurrency_container.py.

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

Definition at line 31 of file concurrency_container.py.

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

Definition at line 82 of file concurrency_container.py.

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

Definition at line 112 of file concurrency_container.py.

def flexbe_core.core.concurrency_container.ConcurrencyContainer.sleep (   self)

Definition at line 22 of file concurrency_container.py.

def flexbe_core.core.concurrency_container.ConcurrencyContainer.sleep_duration (   self)

Definition at line 28 of file concurrency_container.py.

Member Data Documentation

flexbe_core.core.concurrency_container.ConcurrencyContainer._conditions
private

Definition at line 18 of file concurrency_container.py.

flexbe_core.core.concurrency_container.ConcurrencyContainer._current_state
private

Definition at line 79 of file concurrency_container.py.

flexbe_core.core.concurrency_container.ConcurrencyContainer._last_exception
private

Definition at line 94 of file concurrency_container.py.

flexbe_core.core.concurrency_container.ConcurrencyContainer._returned_outcomes
private

Definition at line 19 of file concurrency_container.py.

flexbe_core.core.concurrency_container.ConcurrencyContainer._sleep_dur
private

Definition at line 20 of file concurrency_container.py.


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


flexbe_core
Author(s): Philipp Schillinger
autogenerated on Sun Dec 13 2020 04:01:39