simple_script_server::action_handle Class Reference

Action handle class. More...

List of all members.

Public Member Functions

def __init__
 Initializes the action handle.
def AppendNode
 Appends a registered function to the graph.
def check_pause
 Checks for pause.
def get_error_code
 Gets the error code of an action handle.
def get_state
 Gets the state of an action handle.
def GetGraphstring
 Returns the graphstring.
def GetLevel
 Gets level of function name.
def PublishState
 Publishs the state of the action handle.
def set_active
 Sets the execution state to active, if not paused.
def set_client
 Sets the actionlib client.
def set_failed
 Sets the execution state to failed.
def set_succeeded
 Sets the execution state to succeeded.
def wait
 Handles wait.
def wait_for_finished
 Waits for the action to be finished.
def wait_inside
 Handles inside wait.

Public Attributes

 blocking
 client
 component_name
 error_code
 function_counter
 function_name
 level
 parameter_name
 parent_node
 parse
 state
 state_pub
 wait_log

Detailed Description

Action handle class.

The action handle is used to implement asynchronous behaviour within the script.

Definition at line 1187 of file simple_script_server.py.


Member Function Documentation

def simple_script_server::action_handle::__init__ (   self,
  function_name,
  component_name,
  parameter_name,
  blocking,
  parse 
)

Initializes the action handle.

Definition at line 1189 of file simple_script_server.py.

def simple_script_server::action_handle::AppendNode (   self,
  blocking = True 
)

Appends a registered function to the graph.

Definition at line 1280 of file simple_script_server.py.

def simple_script_server::action_handle::check_pause (   self  ) 

Checks for pause.

Definition at line 1221 of file simple_script_server.py.

def simple_script_server::action_handle::get_error_code (   self  ) 

Gets the error code of an action handle.

Definition at line 1254 of file simple_script_server.py.

def simple_script_server::action_handle::get_state (   self  ) 

Gets the state of an action handle.

Definition at line 1250 of file simple_script_server.py.

def simple_script_server::action_handle::GetGraphstring (   self  ) 

Returns the graphstring.

Definition at line 1258 of file simple_script_server.py.

def simple_script_server::action_handle::GetLevel (   self,
  function_name 
)

Gets level of function name.

Definition at line 1266 of file simple_script_server.py.

def simple_script_server::action_handle::PublishState (   self  ) 

Publishs the state of the action handle.

Definition at line 1304 of file simple_script_server.py.

def simple_script_server::action_handle::set_active (   self  ) 

Sets the execution state to active, if not paused.

Definition at line 1211 of file simple_script_server.py.

def simple_script_server::action_handle::set_client (   self,
  client 
)

Sets the actionlib client.

Definition at line 1207 of file simple_script_server.py.

def simple_script_server::action_handle::set_failed (   self,
  error_code 
)

Sets the execution state to failed.

Definition at line 1241 of file simple_script_server.py.

def simple_script_server::action_handle::set_succeeded (   self  ) 

Sets the execution state to succeeded.

Definition at line 1232 of file simple_script_server.py.

def simple_script_server::action_handle::wait (   self,
  duration = None 
)

Handles wait.

This function is meant to be uses directly in the script.

Parameters:
duration Duration for timeout.

Definition at line 1324 of file simple_script_server.py.

def simple_script_server::action_handle::wait_for_finished (   self,
  duration,
  logging 
)

Waits for the action to be finished.

If duration is specified, waits until action is finished or timeout is reached.

Parameters:
duration Duration for timeout.
logging Enables or disables logging for this wait.

Definition at line 1348 of file simple_script_server.py.

def simple_script_server::action_handle::wait_inside (   self,
  duration = None 
)

Handles inside wait.

This function is meant to be uses inside the simple_script_server.

Parameters:
duration Duration for timeout.

Definition at line 1335 of file simple_script_server.py.


Member Data Documentation

Definition at line 1200 of file simple_script_server.py.

Definition at line 1208 of file simple_script_server.py.

Definition at line 1197 of file simple_script_server.py.

Definition at line 1193 of file simple_script_server.py.

Definition at line 1195 of file simple_script_server.py.

Definition at line 1196 of file simple_script_server.py.

Definition at line 1202 of file simple_script_server.py.

Definition at line 1198 of file simple_script_server.py.

Definition at line 1192 of file simple_script_server.py.

Definition at line 1201 of file simple_script_server.py.

Definition at line 1199 of file simple_script_server.py.

Definition at line 1203 of file simple_script_server.py.

Definition at line 1194 of file simple_script_server.py.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerator


cob_script_server
Author(s): Florian Weisshardt
autogenerated on Fri Jan 11 09:35:40 2013