Public Member Functions | Private Attributes
object_database::ObjectDatabase Class Reference

#include <ObjectDatabase.h>

List of all members.

Public Member Functions

 ObjectDatabase (fs::path configurationFilePath)
bool processObjectMetaDataRequest (ObjectMetaData::Request &req, ObjectMetaData::Response &res)
bool processObjectTypeGeneratorRequest (ObjectTypeGenerator::Request &req, ObjectTypeGenerator::Response &res)
bool processObjectTypeListRequest (ObjectTypeList::Request &req, ObjectTypeList::Response &res)
bool processRecognizerListMeshesRequest (RecognizerListMeshes::Request &req, RecognizerListMeshes::Response &res)
bool processRecognizerListRequest (RecognizerList::Request &req, RecognizerList::Response &res)
void readAllObjectDatabaseRecognizers ()
virtual ~ObjectDatabase ()

Private Attributes

ObjectDatabaseConfig mConfig
fs::path mConfigurationFilePath
ros::NodeHandle mGlobalNodeHandle
ros::ServiceServer mObjectMetaDataServiceHandle
ros::ServiceServer mObjectTypeGeneratorServiceHandle
ros::ServiceServer mObjectTypeListServiceHandle
ros::ServiceServer mRecognizerListMeshesServiceHandle
ros::ServiceServer mRecognizerListServiceHandle

Detailed Description

Definition at line 42 of file ObjectDatabase.h.


Constructor & Destructor Documentation

object_database::ObjectDatabase::ObjectDatabase ( fs::path  configurationFilePath)

ctor

Parameters:
configurationFilePathpath to config file.

Definition at line 35 of file ObjectDatabase.cpp.

virtual object_database::ObjectDatabase::~ObjectDatabase ( ) [inline, virtual]

dtor

Definition at line 93 of file ObjectDatabase.h.


Member Function Documentation

bool object_database::ObjectDatabase::processObjectMetaDataRequest ( ObjectMetaData::Request &  req,
ObjectMetaData::Response &  res 
)

Process the request to get the path of the object

Parameters:
reqthe request message
resthe correlated response message.

Definition at line 141 of file ObjectDatabase.cpp.

bool object_database::ObjectDatabase::processObjectTypeGeneratorRequest ( ObjectTypeGenerator::Request &  req,
ObjectTypeGenerator::Response &  res 
)

Processes the request to create a new object folder in textured objects

Parameters:
reqthe request message contains the source path of the object file
resthe response message will be empty
Returns:

Definition at line 225 of file ObjectDatabase.cpp.

bool object_database::ObjectDatabase::processObjectTypeListRequest ( ObjectTypeList::Request &  req,
ObjectTypeList::Response &  res 
)

Processes the request to get a list of entries in an arbitrary recognizer.

Parameters:
reqthe request message
resthe correlated response message.

Definition at line 82 of file ObjectDatabase.cpp.

bool object_database::ObjectDatabase::processRecognizerListMeshesRequest ( RecognizerListMeshes::Request &  req,
RecognizerListMeshes::Response &  res 
)

Process the request to get all meshes of a recognizer

Parameters:
reqthe request message
resthe correlated response message.

Definition at line 167 of file ObjectDatabase.cpp.

bool object_database::ObjectDatabase::processRecognizerListRequest ( RecognizerList::Request &  req,
RecognizerList::Response &  res 
)

Processes the request to get a list of recognizers.

Parameters:
reqthe request message
resthe correlated response message.

Definition at line 66 of file ObjectDatabase.cpp.

Convenience function for calling readObjectType with all object types.

See also:
RecognitionManager::readObjectType

Definition at line 318 of file ObjectDatabase.cpp.


Member Data Documentation

the config file.

Definition at line 82 of file ObjectDatabase.h.

The path to the configuration file.

Definition at line 77 of file ObjectDatabase.h.

Global node handle.

Definition at line 47 of file ObjectDatabase.h.

the object type service handle

Definition at line 67 of file ObjectDatabase.h.

the object type generator service handle

Definition at line 72 of file ObjectDatabase.h.

the object type list service handle

Definition at line 62 of file ObjectDatabase.h.

the recognizer meshes list service handle

Definition at line 57 of file ObjectDatabase.h.

the recognizer list service handle

Definition at line 52 of file ObjectDatabase.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 Thu Jun 6 2019 21:11:02