Public Member Functions | Private Attributes | List of all members
flexbe_states.wait_state.WaitState Class Reference
Inheritance diagram for flexbe_states.wait_state.WaitState:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self, wait_time)
 
def execute (self, userdata)
 
def on_enter (self, userdata)
 

Private Attributes

 _start_time
 
 _wait
 

Detailed Description

Implements a state that can be used to wait on timed process.

-- wait_time    float   Amount of time to wait in seconds.

<= done                                 Indicates that the wait time has elapsed.

Definition at line 13 of file wait_state.py.

Constructor & Destructor Documentation

def flexbe_states.wait_state.WaitState.__init__ (   self,
  wait_time 
)
Constructor

Definition at line 22 of file wait_state.py.

Member Function Documentation

def flexbe_states.wait_state.WaitState.execute (   self,
  userdata 
)
Execute this state

Definition at line 28 of file wait_state.py.

def flexbe_states.wait_state.WaitState.on_enter (   self,
  userdata 
)
Upon entering the state, save the current time and start waiting.

Definition at line 36 of file wait_state.py.

Member Data Documentation

flexbe_states.wait_state.WaitState._start_time
private

Definition at line 39 of file wait_state.py.

flexbe_states.wait_state.WaitState._wait
private

Definition at line 25 of file wait_state.py.


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


flexbe_states
Author(s): Philipp Schillinger
autogenerated on Wed Jun 5 2019 21:52:08