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

Public Member Functions

def __init__ (self, text, severity=Logger.REPORT_HINT)
 
def execute (self, userdata)
 
def on_enter (self, userdata)
 

Private Attributes

 _severity
 
 _text
 

Detailed Description

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

-- text         string  The message to be logged to the terminal.
-- severity uint8       Type of logging (Logger.REPORT_INFO / WARN / HINT / ERROR)

<= done                         Indicates that the message has been logged.

Definition at line 11 of file log_state.py.

Constructor & Destructor Documentation

def flexbe_states.log_state.LogState.__init__ (   self,
  text,
  severity = Logger.REPORT_HINT 
)
Constructor

Definition at line 22 of file log_state.py.

Member Function Documentation

def flexbe_states.log_state.LogState.execute (   self,
  userdata 
)
Execute this state

Definition at line 30 of file log_state.py.

def flexbe_states.log_state.LogState.on_enter (   self,
  userdata 
)
Log upon entering the state.

Definition at line 37 of file log_state.py.

Member Data Documentation

flexbe_states.log_state.LogState._severity
private

Definition at line 27 of file log_state.py.

flexbe_states.log_state.LogState._text
private

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