All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends
Classes | Functions | Variables
rocon_gateway::utils Namespace Reference

Classes

class  Connection
 Rule. More...
class  Registration

Functions

def convert
def createEmptyConnectionTypeDictionary
 Factories.
def deserialize
def deserialize_connection
def deserialize_request
def formatRule
 Formatters.
def get_connection_from_list
def get_rule_from_list
def isAllPattern
 Regex.
def serialize
def serialize_connection
def serialize_connection_request
def serialize_rule_request

Variables

list action_types = ['/goal', '/cancel', '/status', '/feedback', '/result']
list connection_type_strings_list = ["publisher","subscriber","service","action_client","action_server"]
tuple connection_types = frozenset([ConnectionType.PUBLISHER, ConnectionType.SUBSCRIBER, ConnectionType.SERVICE, ConnectionType.ACTION_CLIENT, ConnectionType.ACTION_SERVER])
 Constants.
list connection_types_list = [ConnectionType.PUBLISHER, ConnectionType.SUBSCRIBER, ConnectionType.SERVICE, ConnectionType.ACTION_CLIENT, ConnectionType.ACTION_SERVER]

Function Documentation

  Convert unicode to standard string (Not sure how necessary this is)
  http://stackoverflow.com/questions/1254454/fastest-way-to-convert-a-dicts-keys-values-from-unicode-to-str

Definition at line 116 of file utils.py.

Factories.

  Used to initialise a dictionary with rule type keys
  and empty lists.

Definition at line 194 of file utils.py.

Definition at line 133 of file utils.py.

Definition at line 139 of file utils.py.

Definition at line 150 of file utils.py.

Formatters.

Definition at line 187 of file utils.py.

Definition at line 154 of file utils.py.

Definition at line 158 of file utils.py.

Regex.

  Convenience function for detecting the flip all pattern.

  @todo move to utils - should be shared with the public interface.

  @param pattern : the name rule string for the flip all concept
  @type str
  @return true if matching, false otherwise
  @rtype Bool

Definition at line 166 of file utils.py.

Definition at line 130 of file utils.py.

Definition at line 136 of file utils.py.

def rocon_gateway.utils.serialize_connection_request (   command,
  source,
  connection 
)

Definition at line 144 of file utils.py.

def rocon_gateway.utils.serialize_rule_request (   command,
  source,
  rule 
)

Definition at line 147 of file utils.py.


Variable Documentation

list rocon_gateway::utils::action_types = ['/goal', '/cancel', '/status', '/feedback', '/result']

Definition at line 23 of file utils.py.

list rocon_gateway::utils::connection_type_strings_list = ["publisher","subscriber","service","action_client","action_server"]

Definition at line 22 of file utils.py.

Constants.

Definition at line 20 of file utils.py.

Definition at line 21 of file utils.py.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends


rocon_gateway
Author(s): Daniel Stonier, Jihoon Lee,
autogenerated on Tue Jan 15 2013 17:43:24