#include <ObjectDatabaseConfig.h>
Public Member Functions | |
const ObjectDatabaseRecognizerPtrMap | getObjectCategories () |
const ObjectDatabaseRecognizerPtr | getRecognizer (const std::string recognizerName) |
ObjectDatabaseConfig (const fs::path configFile=fs::path()) | |
bool | read (const fs::path config_file) |
virtual | ~ObjectDatabaseConfig () |
Private Types | |
typedef boost::shared_ptr < ObjectDatabaseConfig > | ObjectDatabaseConfigPtr |
Private Attributes | |
ObjectDatabaseRecognizerPtrMap | mObjectCategories |
Definition at line 30 of file ObjectDatabaseConfig.h.
typedef boost::shared_ptr<ObjectDatabaseConfig> object_database::ObjectDatabaseConfig::ObjectDatabaseConfigPtr [private] |
Definition at line 31 of file ObjectDatabaseConfig.h.
object_database::ObjectDatabaseConfig::ObjectDatabaseConfig | ( | const fs::path | configFile = fs::path() | ) |
Creates a new ObjectDatabaseConfig.
configFile | the path to the config on the disk. |
Definition at line 29 of file ObjectDatabaseConfig.cpp.
virtual object_database::ObjectDatabaseConfig::~ObjectDatabaseConfig | ( | ) | [inline, virtual] |
Definition at line 40 of file ObjectDatabaseConfig.h.
Definition at line 53 of file ObjectDatabaseConfig.cpp.
const ObjectDatabaseRecognizerPtr object_database::ObjectDatabaseConfig::getRecognizer | ( | const std::string | recognizerName | ) |
Searching for the right object recognizer for given recognizer name.
recognizerName | the name of the searched type |
Definition at line 57 of file ObjectDatabaseConfig.cpp.
bool object_database::ObjectDatabaseConfig::read | ( | const fs::path | config_file | ) |
Reads the configuration XML file.
config_file | the path to load the config file from |
Definition at line 35 of file ObjectDatabaseConfig.cpp.
Pointer to the object types collection.
Definition at line 64 of file ObjectDatabaseConfig.h.