Public Member Functions | Private Types | Private Attributes | List of all members
object_database::ObjectDatabaseConfig Class Reference

#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< ObjectDatabaseConfigObjectDatabaseConfigPtr
 

Private Attributes

ObjectDatabaseRecognizerPtrMap mObjectCategories
 

Detailed Description

Definition at line 30 of file ObjectDatabaseConfig.h.

Member Typedef Documentation

Definition at line 31 of file ObjectDatabaseConfig.h.

Constructor & Destructor Documentation

object_database::ObjectDatabaseConfig::ObjectDatabaseConfig ( const fs::path  configFile = fs::path())

Creates a new ObjectDatabaseConfig.

Parameters
configFilethe path to the config on the disk.

Definition at line 29 of file ObjectDatabaseConfig.cpp.

virtual object_database::ObjectDatabaseConfig::~ObjectDatabaseConfig ( )
inlinevirtual

Definition at line 40 of file ObjectDatabaseConfig.h.

Member Function Documentation

const ObjectDatabaseRecognizerPtrMap object_database::ObjectDatabaseConfig::getObjectCategories ( )
Returns
the object recognizer collection

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.

Parameters
recognizerNamethe name of the searched type
Returns
the object type or the nullPtr

Definition at line 57 of file ObjectDatabaseConfig.cpp.

bool object_database::ObjectDatabaseConfig::read ( const fs::path  config_file)

Reads the configuration XML file.

Parameters
config_filethe path to load the config file from
See also
../object_database/object_database_config.xml

Definition at line 35 of file ObjectDatabaseConfig.cpp.

Member Data Documentation

ObjectDatabaseRecognizerPtrMap object_database::ObjectDatabaseConfig::mObjectCategories
private

Pointer to the object types collection.

Definition at line 64 of file ObjectDatabaseConfig.h.


The documentation for this class was generated from the following files:


asr_object_database
Author(s): Allgeyer Tobias, Aumann Florian, Borella Jocelyn, Braun Kai, Heizmann Heinrich, Heller Florian, Kasper Alexander, Marek Felix, Mehlhaus Jonas, Meißner Pascal, Schleicher Ralf, Stöckle Patrick, Walter Milena
autogenerated on Wed Jan 8 2020 03:12:14