Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
world_model::CommonInformationHandler Class Reference

#include <common_information_handler.hpp>

Public Member Functions

 CommonInformationHandler (ModelTypePtrPerTypeMapPtr model_type_ptr_per_type_map_ptr, SettingsPtr settings_ptr)
 Creates a new instance of CommonInformationHandler. More...
 
bool processGetAllObjectsListServiceCall (asr_world_model::GetAllObjectsList::Request &request, asr_world_model::GetAllObjectsList::Response &response)
 returns all objects in the current scenes More...
 
bool processGetIntermediateObjectWeightServiceCall (asr_world_model::GetIntermediateObjectWeight::Request &request, asr_world_model::GetIntermediateObjectWeight::Response &response)
 get the associated Intermediate Object Weight for a given object More...
 
bool processGetMissingObjectListServiceCall (asr_world_model::GetMissingObjectList::Request &request, asr_world_model::GetMissingObjectList::Response &response)
 returns all missing objects in the current scene More...
 
bool processGetRecognizerNameServiceCall (asr_world_model::GetRecognizerName::Request &request, asr_world_model::GetRecognizerName::Response &response)
 get the associated recognizer name for a given object More...
 

Static Public Member Functions

static const std::string GetGetAllObjectsListServiceName ()
 
static const std::string GetGetIntermediateObjectWeightServiceName ()
 
static const std::string GetGetMissingObjectListServiceName ()
 
static const std::string GetGetRecognizerNameServiceName ()
 

Private Member Functions

void pushTypeAndId (std::vector< asr_msgs::AsrTypeAndId > &typeAndIds, const std::string type, const std::string identifier) const
 

Private Attributes

DebugHelperPtr debug_helper_ptr_
 
ModelTypePtrPerTypeMapPtr model_type_ptr_per_type_map_ptr_
 
SettingsPtr settings_ptr_
 

Detailed Description

Definition at line 50 of file common_information_handler.hpp.

Constructor & Destructor Documentation

world_model::CommonInformationHandler::CommonInformationHandler ( ModelTypePtrPerTypeMapPtr  model_type_ptr_per_type_map_ptr,
SettingsPtr  settings_ptr 
)

Creates a new instance of CommonInformationHandler.

Definition at line 23 of file common_information_handler.cpp.

Member Function Documentation

static const std::string world_model::CommonInformationHandler::GetGetAllObjectsListServiceName ( )
inlinestatic

Definition at line 65 of file common_information_handler.hpp.

static const std::string world_model::CommonInformationHandler::GetGetIntermediateObjectWeightServiceName ( )
inlinestatic

Definition at line 69 of file common_information_handler.hpp.

static const std::string world_model::CommonInformationHandler::GetGetMissingObjectListServiceName ( )
inlinestatic

Definition at line 57 of file common_information_handler.hpp.

static const std::string world_model::CommonInformationHandler::GetGetRecognizerNameServiceName ( )
inlinestatic

Definition at line 61 of file common_information_handler.hpp.

bool world_model::CommonInformationHandler::processGetAllObjectsListServiceCall ( asr_world_model::GetAllObjectsList::Request &  request,
asr_world_model::GetAllObjectsList::Response &  response 
)

returns all objects in the current scenes

Parameters
requestthe associated request object of the service call
responsethe associated response object of the service
Returns
the success of the service call.

Definition at line 64 of file common_information_handler.cpp.

bool world_model::CommonInformationHandler::processGetIntermediateObjectWeightServiceCall ( asr_world_model::GetIntermediateObjectWeight::Request &  request,
asr_world_model::GetIntermediateObjectWeight::Response &  response 
)

get the associated Intermediate Object Weight for a given object

Parameters
requestthe associated request object of the service call
responsethe associated response object of the service
Returns
the success of the service call.

Definition at line 48 of file common_information_handler.cpp.

bool world_model::CommonInformationHandler::processGetMissingObjectListServiceCall ( asr_world_model::GetMissingObjectList::Request &  request,
asr_world_model::GetMissingObjectList::Response &  response 
)

returns all missing objects in the current scene

Parameters
requestthe associated request object of the service call
responsethe associated response object of the service
Returns
the success of the service call.

Definition at line 81 of file common_information_handler.cpp.

bool world_model::CommonInformationHandler::processGetRecognizerNameServiceCall ( asr_world_model::GetRecognizerName::Request &  request,
asr_world_model::GetRecognizerName::Response &  response 
)

get the associated recognizer name for a given object

Parameters
requestthe associated request object of the service call
responsethe associated response object of the service
Returns
the success of the service call.

Definition at line 31 of file common_information_handler.cpp.

void world_model::CommonInformationHandler::pushTypeAndId ( std::vector< asr_msgs::AsrTypeAndId > &  typeAndIds,
const std::string  type,
const std::string  identifier 
) const
private

Definition at line 99 of file common_information_handler.cpp.

Member Data Documentation

DebugHelperPtr world_model::CommonInformationHandler::debug_helper_ptr_
private

Definition at line 75 of file common_information_handler.hpp.

ModelTypePtrPerTypeMapPtr world_model::CommonInformationHandler::model_type_ptr_per_type_map_ptr_
private

Definition at line 77 of file common_information_handler.hpp.

SettingsPtr world_model::CommonInformationHandler::settings_ptr_
private

Definition at line 78 of file common_information_handler.hpp.


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


asr_world_model
Author(s): Aumann Florian, Borella Jocelyn, Hutmacher Robin, Karrenbauer Oliver, Meißner Pascal, Schleicher Ralf, Stöckle Patrick, Trautmann Jeremias
autogenerated on Thu Jan 9 2020 07:20:01