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 6 of file wait_state.py.

Constructor & Destructor Documentation

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

Definition at line 15 of file wait_state.py.

Member Function Documentation

def flexbe_states.wait_state.WaitState.execute (   self,
  userdata 
)

Definition at line 19 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 24 of file wait_state.py.

Member Data Documentation

flexbe_states.wait_state.WaitState._start_time
private

Definition at line 26 of file wait_state.py.

flexbe_states.wait_state.WaitState._wait
private

Definition at line 17 of file wait_state.py.


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


flexbe_states
Author(s): Philipp Schillinger
autogenerated on Sun Dec 13 2020 04:01:46