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

Public Member Functions

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 Attributes

 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
 

Static Public Attributes

bool preempt = False
 
bool switching = False
 

Private Member Functions

def _disable_ros_control (self)
 
def _enable_ros_control (self)
 
def _notify_skipped (self)
 
def _preemptable_execute (self, args, kwargs)
 

Private Attributes

 __execute
 
 _feedback_topic
 
 _force_transition
 
 _preempt_topic
 
 _pub
 
 _sub
 

Static Private Attributes

string _preempted_name = 'preempted'
 

Detailed Description

A state that can be preempted.
If preempted, the state will not be executed anymore and return the outcome preempted.

Definition at line 11 of file preemptable_state.py.

Constructor & Destructor Documentation

def flexbe_core.core.preemptable_state.PreemptableState.__init__ (   self,
  args,
  kwargs 
)

Definition at line 21 of file preemptable_state.py.

Member Function Documentation

def flexbe_core.core.preemptable_state.PreemptableState._disable_ros_control (   self)
private

Definition at line 79 of file preemptable_state.py.

def flexbe_core.core.preemptable_state.PreemptableState._enable_ros_control (   self)
private

Definition at line 73 of file preemptable_state.py.

def flexbe_core.core.preemptable_state.PreemptableState._notify_skipped (   self)
private

Definition at line 65 of file preemptable_state.py.

def flexbe_core.core.preemptable_state.PreemptableState._preemptable_execute (   self,
  args,
  kwargs 
)
private

Definition at line 44 of file preemptable_state.py.

Member Data Documentation

flexbe_core.core.preemptable_state.PreemptableState.__execute
private

Definition at line 32 of file preemptable_state.py.

flexbe_core.core.preemptable_state.PreemptableState._feedback_topic
private

Definition at line 35 of file preemptable_state.py.

flexbe_core.core.preemptable_state.PreemptableState._force_transition
private

Definition at line 59 of file preemptable_state.py.

flexbe_core.core.preemptable_state.PreemptableState._preempt_topic
private

Definition at line 36 of file preemptable_state.py.

string flexbe_core.core.preemptable_state.PreemptableState._preempted_name = 'preempted'
staticprivate

Definition at line 17 of file preemptable_state.py.

flexbe_core.core.preemptable_state.PreemptableState._pub
private

Definition at line 38 of file preemptable_state.py.

flexbe_core.core.preemptable_state.PreemptableState._sub
private

Definition at line 39 of file preemptable_state.py.

flexbe_core.core.preemptable_state.PreemptableState.execute

Definition at line 33 of file preemptable_state.py.

bool flexbe_core.core.preemptable_state.PreemptableState.preempt = False
static

Definition at line 18 of file preemptable_state.py.

bool flexbe_core.core.preemptable_state.PreemptableState.switching = False
static

Definition at line 19 of file preemptable_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