$search

web_interface::db Namespace Reference

Functions

def filter_query
def get_cached_collection
def get_cluster_collection
def get_image_collection
def image_file_loc
def list_runs
def next_id
def prev_id
def run_info
def semantic_query

Variables

tuple bridge = cv_bridge.CvBridge()
dictionary cluster_collections = {}
dictionary image_collections = {}
tuple log = logging.getLogger('semantic_model_web.db')
dictionary POSITIONS

Function Documentation

def web_interface::db::filter_query (   q  ) 

Definition at line 32 of file db.py.

def web_interface::db::get_cached_collection (   colls,
  run,
  c,
  t 
)

Definition at line 47 of file db.py.

def web_interface::db::get_cluster_collection (   run  ) 

Definition at line 37 of file db.py.

def web_interface::db::get_image_collection (   run  ) 

Definition at line 42 of file db.py.

def web_interface::db::image_file_loc (   i,
  run 
)
@param i: Id of cluster
@param run: Run id

Ensure that the file for the image of the cluster is available (download
if necessary), and return its site-relative URL

Definition at line 68 of file db.py.

def web_interface::db::list_runs (  ) 

Definition at line 53 of file db.py.

def web_interface::db::next_id (   coll,
  id 
)

Definition at line 97 of file db.py.

def web_interface::db::prev_id (   coll,
  id 
)

Definition at line 103 of file db.py.

def web_interface::db::run_info (   run  ) 

Definition at line 60 of file db.py.

def web_interface::db::semantic_query (   args  ) 

Definition at line 109 of file db.py.


Variable Documentation

tuple web_interface::db::bridge = cv_bridge.CvBridge()

Definition at line 22 of file db.py.

Definition at line 20 of file db.py.

Definition at line 21 of file db.py.

tuple web_interface::db::log = logging.getLogger('semantic_model_web.db')

Definition at line 18 of file db.py.

Initial value:
{
  'green_room': (20, 20, 8),
  'pool_room': (17, 35, 7),
  'white_lab': (34, 43, 10),
  'cafe': (30, 15, 7),
  'research_hallway': (5, 22, 7)
}

Definition at line 24 of file db.py.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends


semantic_model_web_interface
Author(s): Bhaskara Marthi
autogenerated on Tue Mar 5 12:41:18 2013