Public Member Functions | Private Attributes
flexbe_states.log_key_state.LogKeyState Class Reference
Inheritance diagram for flexbe_states.log_key_state.LogKeyState:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def __init__
def execute
def on_enter

Private Attributes

 _severity
 _text

Detailed Description

A state that can log a predefined message including an input key to precisely inform the operator about what happened to the behavior.

-- text  	string 	The message to be logged to the terminal Example:  'Counter value:  {}'.
-- severity uint8  	Type of logging (Logger.REPORT_INFO / WARN / HINT / ERROR)

#> data  	object 		The data provided to be printed in the message. The exact type depends on the request.

<= done				Indicates that the message has been logged.

Definition at line 11 of file log_key_state.py.


Constructor & Destructor Documentation

def flexbe_states.log_key_state.LogKeyState.__init__ (   self,
  text,
  severity = Logger.REPORT_HINT 
)
Constructor

Definition at line 24 of file log_key_state.py.


Member Function Documentation

def flexbe_states.log_key_state.LogKeyState.execute (   self,
  userdata 
)
Execute this state

Definition at line 34 of file log_key_state.py.

def flexbe_states.log_key_state.LogKeyState.on_enter (   self,
  userdata 
)
Log upon entering the state.

Definition at line 41 of file log_key_state.py.


Member Data Documentation

Definition at line 24 of file log_key_state.py.

Definition at line 24 of file log_key_state.py.


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


flexbe_states
Author(s): Philipp Schillinger
autogenerated on Thu Jun 6 2019 19:32:33