Class DockDatabase
- Defined in File dock_database.hpp 
Class Documentation
- An object to contain docks and docking plugins. - Public Functions - A constructor for opennav_docking::DockDatabase. 
 - A setup function to populate database. - Parameters:
- parent – Weakptr to the node to use to get interances and parameters 
- tf – TF buffer 
 
- Returns:
- If successful 
 
 - A destructor for opennav_docking::DockDatabase. 
 - An activation method. 
 - An deactivation method. 
 - Find a dock instance & plugin in the databases from ID. - Parameters:
- dock_id – Id of dock to find 
- Returns:
- Dock pointer 
 
 - Find a dock plugin to use for a given type. 
 - Get the number of docks in the database. - Returns:
- unsigned int Number of dock instances in the database 
 
 - Get the number of dock types in the database. - Returns:
- unsigned int Number of dock types in the database 
 
 - Protected Functions - Populate database of dock type plugins. - Parameters:
- Node – Node to get values from 
- tf – TF buffer 
 
- Returns:
- bool If successful 
 
 - Populate database of dock instances. - Parameters:
- Node – Node to get values from 
 
 - Find a dock instance in the database from ID. - Parameters:
- dock_id – Id of dock to find 
- Returns:
- Dock pointer 
 
 - Service request to reload database of docks. - Parameters:
- request – Service request 
- response – Service response 
 
 
 - Protected Attributes