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

Public Member Functions

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 Attributes

 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
 

Private Member Functions

def _disable_ros_control (self)
 
def _enable_ros_control (self)
 
def _execute_lock (self, target)
 
def _execute_unlock (self, target)
 
def _lockable_execute (self, args, kwargs)
 

Private Attributes

 __execute
 
 _feedback_topic
 
 _lock_topic
 
 _locked
 
 _pub
 
 _stored_outcome
 
 _sub
 
 _unlock_topic
 

Detailed Description

A state that can be locked.
When locked, no transition can be done regardless of the resulting outcome.
However, if any outcome would be triggered, the outcome will be stored
and the state won't be executed anymore until it is unlocked and the stored outcome is set.

Definition at line 11 of file lockable_state.py.

Constructor & Destructor Documentation

def flexbe_core.core.lockable_state.LockableState.__init__ (   self,
  args,
  kwargs 
)

Definition at line 19 of file lockable_state.py.

Member Function Documentation

def flexbe_core.core.lockable_state.LockableState._disable_ros_control (   self)
private

Definition at line 108 of file lockable_state.py.

def flexbe_core.core.lockable_state.LockableState._enable_ros_control (   self)
private

Definition at line 102 of file lockable_state.py.

def flexbe_core.core.lockable_state.LockableState._execute_lock (   self,
  target 
)
private

Definition at line 72 of file lockable_state.py.

def flexbe_core.core.lockable_state.LockableState._execute_unlock (   self,
  target 
)
private

Definition at line 87 of file lockable_state.py.

def flexbe_core.core.lockable_state.LockableState._lockable_execute (   self,
  args,
  kwargs 
)
private

Definition at line 36 of file lockable_state.py.

def flexbe_core.core.lockable_state.LockableState.is_locked (   self)

Definition at line 114 of file lockable_state.py.

Member Data Documentation

flexbe_core.core.lockable_state.LockableState.__execute
private

Definition at line 25 of file lockable_state.py.

flexbe_core.core.lockable_state.LockableState._feedback_topic
private

Definition at line 28 of file lockable_state.py.

flexbe_core.core.lockable_state.LockableState._lock_topic
private

Definition at line 29 of file lockable_state.py.

flexbe_core.core.lockable_state.LockableState._locked
private

Definition at line 22 of file lockable_state.py.

flexbe_core.core.lockable_state.LockableState._pub
private

Definition at line 32 of file lockable_state.py.

flexbe_core.core.lockable_state.LockableState._stored_outcome
private

Definition at line 23 of file lockable_state.py.

flexbe_core.core.lockable_state.LockableState._sub
private

Definition at line 33 of file lockable_state.py.

flexbe_core.core.lockable_state.LockableState._unlock_topic
private

Definition at line 30 of file lockable_state.py.

flexbe_core.core.lockable_state.LockableState.execute

Definition at line 26 of file lockable_state.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