backend Namespace Reference

Classes

class  Backend
class  CollectionHandler

Functions

def construct_order
def construct_query
def doc_to_string
def extract_nested_field
def legal_collection_name
def legal_db_name
def legal_topic_name
def metadata_resp
def parse_val
def updatable_metadata_field

Variables

tuple back = Backend(host, port)
string DELIMETER = '___'
tuple host = rospy.get_param('~host', 'localhost')
tuple port = rospy.get_param('~port', 27017)

Function Documentation

def backend::construct_order (   order  ) 
Construct a Mongodb ordering criterion from Ros message.
If the field is empty, return None.

Definition at line 335 of file backend.py.

def backend::construct_query (   q,
  example 
)
Helper to construct a mongo db query

Definition at line 97 of file backend.py.

def backend::doc_to_string (   d  ) 

Definition at line 122 of file backend.py.

def backend::extract_nested_field (   msg,
  f 
)
Helper function that extracts a nested field from a ros message

Definition at line 72 of file backend.py.

def backend::legal_collection_name (   name  ) 

Definition at line 62 of file backend.py.

def backend::legal_db_name (   name  ) 

Definition at line 57 of file backend.py.

def backend::legal_topic_name (   name  ) 

Definition at line 66 of file backend.py.

def backend::metadata_resp (   code,
  msg 
)

Definition at line 125 of file backend.py.

def backend::parse_val (   s,
  example 
)
Parse a string val based on the type of example

Definition at line 80 of file backend.py.

def backend::updatable_metadata_field (   name  ) 

Definition at line 69 of file backend.py.


Variable Documentation

Definition at line 651 of file backend.py.

string backend::DELIMETER = '___'

Definition at line 50 of file backend.py.

tuple backend::host = rospy.get_param('~host', 'localhost')

Definition at line 649 of file backend.py.

tuple backend::port = rospy.get_param('~port', 27017)

Definition at line 650 of file backend.py.

 All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Defines


warehouse
Author(s): Nate Koenig, Bhaskara Marthi
autogenerated on Fri Jan 11 10:09:02 2013