RAPP Platform  v0.6.0
RAPP Platform is a collection of ROS nodes and back-end processes that aim to deliver ready-to-use generic services to robots
 All Classes Namespaces Files Functions Variables Macros
KnowrobWrapperCommunications Class Reference

Class KnowrobWrapperCommunications uptakes the task of handling the ROS service callbacks. More...

#include <knowrob_wrapper_communications.h>

Collaboration diagram for KnowrobWrapperCommunications:

Public Member Functions

 KnowrobWrapperCommunications ()
 Default constructor. More...
 
bool clear_user_cognitive_tests_performance_records_callback (rapp_platform_ros_communications::clearUserPerformanceCognitveTestsSrv::Request &req, rapp_platform_ros_communications::clearUserPerformanceCognitveTestsSrv::Response &res)
 Serves the clear_user_cognitive_tests_performance_records ROS service callback. More...
 
bool cognitive_tests_of_type_callback (rapp_platform_ros_communications::cognitiveTestsOfTypeSrv::Request &req, rapp_platform_ros_communications::cognitiveTestsOfTypeSrv::Response &res)
 Serves the cognitive_tests_of_type ROS service callback. More...
 
bool create_cognitve_tests_callback (rapp_platform_ros_communications::createCognitiveExerciseTestSrv::Request &req, rapp_platform_ros_communications::createCognitiveExerciseTestSrv::Response &res)
 Serves the create_cognitve_tests ROS service callback. More...
 
bool create_ontology_alias_callback (rapp_platform_ros_communications::createOntologyAliasSrv::Request &req, rapp_platform_ros_communications::createOntologyAliasSrv::Response &res)
 Serves the create_ontology_alias ROS service callback. More...
 
bool createInstanceCallback (rapp_platform_ros_communications::createInstanceSrv::Request &req, rapp_platform_ros_communications::createInstanceSrv::Response &res)
 Serves the createInstance ROS service callback. More...
 
bool dumpOntologyCallback (rapp_platform_ros_communications::ontologyLoadDumpSrv::Request &req, rapp_platform_ros_communications::ontologyLoadDumpSrv::Response &res)
 Serves the dumpOntology ROS service callback. More...
 
bool isSubSuperclassOfCallback (rapp_platform_ros_communications::ontologyIsSubSuperClassOfSrv::Request &req, rapp_platform_ros_communications::ontologyIsSubSuperClassOfSrv::Response &res)
 Serves the isSubSuperclassOf ROS service callback. More...
 
bool loadOntologyCallback (rapp_platform_ros_communications::ontologyLoadDumpSrv::Request &req, rapp_platform_ros_communications::ontologyLoadDumpSrv::Response &res)
 Serves the loadOntology ROS service callback. More...
 
bool record_user_cognitive_tests_performance_callback (rapp_platform_ros_communications::recordUserPerformanceCognitiveTestsSrv::Request &req, rapp_platform_ros_communications::recordUserPerformanceCognitiveTestsSrv::Response &res)
 Serves the record_user_cognitive_tests_performance ROS service callback. More...
 
bool register_image_object_to_ontology_callback (rapp_platform_ros_communications::registerImageObjectToOntologySrv::Request &req, rapp_platform_ros_communications::registerImageObjectToOntologySrv::Response &res)
 Serves the register_image_object_to_ontology ROS service callback. More...
 
bool retract_user_ontology_alias_callback (rapp_platform_ros_communications::retractUserOntologyAliasSrv::Request &req, rapp_platform_ros_communications::retractUserOntologyAliasSrv::Response &res)
 Serves the retract_user_ontology_alias ROS service callback. More...
 
bool subclassesOfCallback (rapp_platform_ros_communications::ontologySubSuperClassesOfSrv::Request &req, rapp_platform_ros_communications::ontologySubSuperClassesOfSrv::Response &res)
 Serves the subclassesOf ROS service callback. More...
 
bool superclassesOfCallback (rapp_platform_ros_communications::ontologySubSuperClassesOfSrv::Request &req, rapp_platform_ros_communications::ontologySubSuperClassesOfSrv::Response &res)
 Serves the superlassesOf ROS service callback. More...
 
bool user_instances_of_class_callback (rapp_platform_ros_communications::returnUserInstancesOfClassSrv::Request &req, rapp_platform_ros_communications::returnUserInstancesOfClassSrv::Response &res)
 Serves the user_instances_of_class ROS service callback. More...
 
bool user_performance_cognitve_tests_callback (rapp_platform_ros_communications::userPerformanceCognitveTestsSrv::Request &req, rapp_platform_ros_communications::userPerformanceCognitveTestsSrv::Response &res)
 Serves the user_performance_cognitve_tests ROS service callback. More...
 

Private Attributes

ros::ServiceServer clear_user_cognitive_tests_performance_records_service_
 
std::string clear_user_cognitive_tests_performance_records_topic_
 
ros::ServiceServer cognitive_tests_of_type_service_
 
std::string cognitive_tests_of_type_topic_
 
ros::ServiceServer create_cognitve_tests_service_
 
std::string create_cognitve_tests_topic_
 
ros::ServiceServer create_ontology_alias_service_
 
std::string create_ontology_alias_topic_
 
ros::ServiceServer createInstanceService_
 
std::string createInstanceServiceTopic_
 
ros::ServiceServer dumpOntologyService_
 
std::string dumpOntologyServiceTopic_
 
ros::ServiceServer is_subsuperclass_of_service_
 
std::string is_subsuperclass_of_service_topic_
 
KnowrobWrapper knowrob_wrapper
 
ros::ServiceServer loadOntologyService_
 
std::string loadOntologyServiceTopic_
 
ros::NodeHandle nh_
 
ros::ServiceServer record_user_cognitive_tests_performance_service_
 
std::string record_user_cognitive_tests_performance_topic_
 
ros::ServiceServer register_image_object_to_ontology_service_
 
std::string register_image_object_to_ontology_topic_
 
ros::ServiceServer retract_user_ontology_alias_service_
 
std::string retract_user_ontology_alias_topic_
 
ros::ServiceServer subclasses_of_service_
 
std::string subclasses_of_service_topic_
 
ros::ServiceServer superclasses_of_service_
 
std::string superclasses_of_service_topic_
 
ros::ServiceServer user_instances_of_class_service_
 
std::string user_instances_of_class_topic_
 
ros::ServiceServer user_performance_cognitve_tests_service_
 
std::string user_performance_cognitve_tests_topic_
 

Detailed Description

Class KnowrobWrapperCommunications uptakes the task of handling the ROS service callbacks.

Definition at line 28 of file knowrob_wrapper_communications.h.

Constructor & Destructor Documentation

KnowrobWrapperCommunications::KnowrobWrapperCommunications ( )

Default constructor.

Default constructor Waits for services it depends on and declares the knowrob wrapper services callbacks.

Definition at line 28 of file knowrob_wrapper_communications.cpp.

Member Function Documentation

bool KnowrobWrapperCommunications::clear_user_cognitive_tests_performance_records_callback ( rapp_platform_ros_communications::clearUserPerformanceCognitveTestsSrv::Request &  req,
rapp_platform_ros_communications::clearUserPerformanceCognitveTestsSrv::Response &  res 
)

Serves the clear_user_cognitive_tests_performance_records ROS service callback.

Parameters
req[rapp_platform_ros_communications::clearUserPerformanceCognitveTestsSrv::Request&] The ROS service request
res[rapp_platform_ros_communications::clearUserPerformanceCognitveTestsSrv::Response&] The ROS service response
Returns
bool - The success status of the call

Definition at line 331 of file knowrob_wrapper_communications.cpp.

bool KnowrobWrapperCommunications::cognitive_tests_of_type_callback ( rapp_platform_ros_communications::cognitiveTestsOfTypeSrv::Request &  req,
rapp_platform_ros_communications::cognitiveTestsOfTypeSrv::Response &  res 
)

Serves the cognitive_tests_of_type ROS service callback.

Parameters
req[rapp_platform_ros_communications::cognitiveTestsOfTypeSrv::Request&] The ROS service request
res[rapp_platform_ros_communications::cognitiveTestsOfTypeSrv::Response&] The ROS service response
Returns
bool - The success status of the call

Definition at line 303 of file knowrob_wrapper_communications.cpp.

bool KnowrobWrapperCommunications::create_cognitve_tests_callback ( rapp_platform_ros_communications::createCognitiveExerciseTestSrv::Request &  req,
rapp_platform_ros_communications::createCognitiveExerciseTestSrv::Response &  res 
)

Serves the create_cognitve_tests ROS service callback.

Parameters
req[rapp_platform_ros_communications::createCognitiveExerciseTestSrv::Request&] The ROS service request
res[rapp_platform_ros_communications::createCognitiveExerciseTestSrv::Response&] The ROS service response
Returns
bool - The success status of the call

Definition at line 289 of file knowrob_wrapper_communications.cpp.

bool KnowrobWrapperCommunications::create_ontology_alias_callback ( rapp_platform_ros_communications::createOntologyAliasSrv::Request &  req,
rapp_platform_ros_communications::createOntologyAliasSrv::Response &  res 
)

Serves the create_ontology_alias ROS service callback.

Parameters
req[rapp_platform_ros_communications::createOntologyAliasSrv::Request&] The ROS service request
res[rapp_platform_ros_communications::createOntologyAliasSrv::Response&] The ROS service response
Returns
bool - The success status of the call

Definition at line 247 of file knowrob_wrapper_communications.cpp.

bool KnowrobWrapperCommunications::createInstanceCallback ( rapp_platform_ros_communications::createInstanceSrv::Request &  req,
rapp_platform_ros_communications::createInstanceSrv::Response &  res 
)

Serves the createInstance ROS service callback.

Parameters
req[rapp_platform_ros_communications::createInstanceSrv::Request&] The ROS service request
res[rapp_platform_ros_communications::createInstanceSrv::Response&] The ROS service response
Returns
bool - The success status of the call

Definition at line 205 of file knowrob_wrapper_communications.cpp.

bool KnowrobWrapperCommunications::dumpOntologyCallback ( rapp_platform_ros_communications::ontologyLoadDumpSrv::Request &  req,
rapp_platform_ros_communications::ontologyLoadDumpSrv::Response &  res 
)

Serves the dumpOntology ROS service callback.

Parameters
req[rapp_platform_ros_communications::ontologyLoadDumpSrv::Request&] The ROS service request
res[rapp_platform_ros_communications::ontologyLoadDumpSrv::Response&] The ROS service response
Returns
bool - The success status of the call

Definition at line 219 of file knowrob_wrapper_communications.cpp.

bool KnowrobWrapperCommunications::isSubSuperclassOfCallback ( rapp_platform_ros_communications::ontologyIsSubSuperClassOfSrv::Request &  req,
rapp_platform_ros_communications::ontologyIsSubSuperClassOfSrv::Response &  res 
)

Serves the isSubSuperclassOf ROS service callback.

Parameters
req[rapp_platform_ros_communications::ontologyIsSubSuperClassOfSrv::Request&] The ROS service request
res[rapp_platform_ros_communications::ontologyIsSubSuperClassOfSrv::Response&] The ROS service response
Returns
bool - The success status of the call

Definition at line 191 of file knowrob_wrapper_communications.cpp.

bool KnowrobWrapperCommunications::loadOntologyCallback ( rapp_platform_ros_communications::ontologyLoadDumpSrv::Request &  req,
rapp_platform_ros_communications::ontologyLoadDumpSrv::Response &  res 
)

Serves the loadOntology ROS service callback.

Parameters
req[rapp_platform_ros_communications::ontologyLoadDumpSrv::Request&] The ROS service request
res[rapp_platform_ros_communications::ontologyLoadDumpSrv::Response&] The ROS service response
Returns
bool - The success status of the call

Definition at line 233 of file knowrob_wrapper_communications.cpp.

bool KnowrobWrapperCommunications::record_user_cognitive_tests_performance_callback ( rapp_platform_ros_communications::recordUserPerformanceCognitiveTestsSrv::Request &  req,
rapp_platform_ros_communications::recordUserPerformanceCognitiveTestsSrv::Response &  res 
)

Serves the record_user_cognitive_tests_performance ROS service callback.

Parameters
req[rapp_platform_ros_communications::recordUserPerformanceCognitiveTestsSrv::Request&] The ROS service request
res[rapp_platform_ros_communications::recordUserPerformanceCognitiveTestsSrv::Response&] The ROS service response
Returns
bool - The success status of the call

Definition at line 317 of file knowrob_wrapper_communications.cpp.

bool KnowrobWrapperCommunications::register_image_object_to_ontology_callback ( rapp_platform_ros_communications::registerImageObjectToOntologySrv::Request &  req,
rapp_platform_ros_communications::registerImageObjectToOntologySrv::Response &  res 
)

Serves the register_image_object_to_ontology ROS service callback.

Parameters
req[rapp_platform_ros_communications::registerImageToOntologySrv::Request&] The ROS service request
res[rapp_platform_ros_communications::registerImageToOntologySrv::Response&] The ROS service response
Returns
bool - The success status of the call

Definition at line 359 of file knowrob_wrapper_communications.cpp.

bool KnowrobWrapperCommunications::retract_user_ontology_alias_callback ( rapp_platform_ros_communications::retractUserOntologyAliasSrv::Request &  req,
rapp_platform_ros_communications::retractUserOntologyAliasSrv::Response &  res 
)

Serves the retract_user_ontology_alias ROS service callback.

Parameters
req[rapp_platform_ros_communications::retractUserOntologyAliasSrv::Request&] The ROS service request
res[rapp_platform_ros_communications::retractUserOntologyAliasSrv::Response&] The ROS service response
Returns
bool - The success status of the call

Definition at line 345 of file knowrob_wrapper_communications.cpp.

bool KnowrobWrapperCommunications::subclassesOfCallback ( rapp_platform_ros_communications::ontologySubSuperClassesOfSrv::Request &  req,
rapp_platform_ros_communications::ontologySubSuperClassesOfSrv::Response &  res 
)

Serves the subclassesOf ROS service callback.

Parameters
req[rapp_platform_ros_communications::ontologySubSuperClassesOfSrv::Request&] The ROS service request
res[rapp_platform_ros_communications::ontologySubSuperClassesOfSrv::Response&] The ROS service response
Returns
bool - The success status of the call

Definition at line 163 of file knowrob_wrapper_communications.cpp.

bool KnowrobWrapperCommunications::superclassesOfCallback ( rapp_platform_ros_communications::ontologySubSuperClassesOfSrv::Request &  req,
rapp_platform_ros_communications::ontologySubSuperClassesOfSrv::Response &  res 
)

Serves the superlassesOf ROS service callback.

Parameters
req[rapp_platform_ros_communications::ontologySubSuperClassesOfSrv::Request&] The ROS service request
res[rapp_platform_ros_communications::ontologySubSuperClassesOfSrv::Response&] The ROS service response
Returns
bool - The success status of the call

Definition at line 177 of file knowrob_wrapper_communications.cpp.

bool KnowrobWrapperCommunications::user_instances_of_class_callback ( rapp_platform_ros_communications::returnUserInstancesOfClassSrv::Request &  req,
rapp_platform_ros_communications::returnUserInstancesOfClassSrv::Response &  res 
)

Serves the user_instances_of_class ROS service callback.

Parameters
req[rapp_platform_ros_communications::returnUserInstancesOfClassSrv::Request&] The ROS service request
res[rapp_platform_ros_communications::returnUserInstancesOfClassSrv::Response&] The ROS service response
Returns
bool - The success status of the call

Definition at line 261 of file knowrob_wrapper_communications.cpp.

bool KnowrobWrapperCommunications::user_performance_cognitve_tests_callback ( rapp_platform_ros_communications::userPerformanceCognitveTestsSrv::Request &  req,
rapp_platform_ros_communications::userPerformanceCognitveTestsSrv::Response &  res 
)

Serves the user_performance_cognitve_tests ROS service callback.

Parameters
req[rapp_platform_ros_communications::userPerformanceCognitveTestsSrv::Request&] The ROS service request
res[rapp_platform_ros_communications::userPerformanceCognitveTestsSrv::Response&] The ROS service response
Returns
bool - The success status of the call

Definition at line 275 of file knowrob_wrapper_communications.cpp.

Member Data Documentation

ros::ServiceServer KnowrobWrapperCommunications::clear_user_cognitive_tests_performance_records_service_
private

Member variable holding the clear_user_cognitive_tests_performance_records ROS service topic

Definition at line 99 of file knowrob_wrapper_communications.h.

std::string KnowrobWrapperCommunications::clear_user_cognitive_tests_performance_records_topic_
private

The retract_user_ontology_alias service server

Definition at line 101 of file knowrob_wrapper_communications.h.

ros::ServiceServer KnowrobWrapperCommunications::cognitive_tests_of_type_service_
private

Member variable holding the cognitive_tests_of_type ROS service topic

Definition at line 89 of file knowrob_wrapper_communications.h.

std::string KnowrobWrapperCommunications::cognitive_tests_of_type_topic_
private

The record_user_cognitive_tests_performance service server

Definition at line 91 of file knowrob_wrapper_communications.h.

ros::ServiceServer KnowrobWrapperCommunications::create_cognitve_tests_service_
private

Member variable holding the create_cognitve_tests ROS service topic

Definition at line 84 of file knowrob_wrapper_communications.h.

std::string KnowrobWrapperCommunications::create_cognitve_tests_topic_
private

The cognitive_tests_of_type service server

Definition at line 86 of file knowrob_wrapper_communications.h.

ros::ServiceServer KnowrobWrapperCommunications::create_ontology_alias_service_
private

Member variable holding the create_ontology_alias ROS service topic

Definition at line 74 of file knowrob_wrapper_communications.h.

std::string KnowrobWrapperCommunications::create_ontology_alias_topic_
private

The user_performance_cognitve_tests service server

Definition at line 76 of file knowrob_wrapper_communications.h.

ros::ServiceServer KnowrobWrapperCommunications::createInstanceService_
private

Member variable holding the createInstanceServiceTopic ROS service topic

Definition at line 54 of file knowrob_wrapper_communications.h.

std::string KnowrobWrapperCommunications::createInstanceServiceTopic_
private

The dumpOntologyService service server

Definition at line 56 of file knowrob_wrapper_communications.h.

ros::ServiceServer KnowrobWrapperCommunications::dumpOntologyService_
private

Member variable holding the dumpOntologyServiceTopic ROS service topic

Definition at line 59 of file knowrob_wrapper_communications.h.

std::string KnowrobWrapperCommunications::dumpOntologyServiceTopic_
private

The loadOntologyService service server

Definition at line 61 of file knowrob_wrapper_communications.h.

ros::ServiceServer KnowrobWrapperCommunications::is_subsuperclass_of_service_
private

Member variable holding the is_subsuperclass ROS service topic

Definition at line 49 of file knowrob_wrapper_communications.h.

std::string KnowrobWrapperCommunications::is_subsuperclass_of_service_topic_
private

The createInstanceService service server

Definition at line 51 of file knowrob_wrapper_communications.h.

KnowrobWrapper KnowrobWrapperCommunications::knowrob_wrapper
private

The subclasses_of service server

Definition at line 35 of file knowrob_wrapper_communications.h.

ros::ServiceServer KnowrobWrapperCommunications::loadOntologyService_
private

Member variable holding the loadOntologyServiceTopic ROS service topic

Definition at line 64 of file knowrob_wrapper_communications.h.

std::string KnowrobWrapperCommunications::loadOntologyServiceTopic_
private

The user_instances_of_class service server

Definition at line 66 of file knowrob_wrapper_communications.h.

ros::NodeHandle KnowrobWrapperCommunications::nh_
private

< The ROS node handle Object of type knowrob_wrapper

Definition at line 32 of file knowrob_wrapper_communications.h.

ros::ServiceServer KnowrobWrapperCommunications::record_user_cognitive_tests_performance_service_
private

Member variable holding the record_user_cognitive_tests_performance ROS service topic

Definition at line 94 of file knowrob_wrapper_communications.h.

std::string KnowrobWrapperCommunications::record_user_cognitive_tests_performance_topic_
private

The clear_user_cognitive_tests_performance_records service server

Definition at line 96 of file knowrob_wrapper_communications.h.

ros::ServiceServer KnowrobWrapperCommunications::register_image_object_to_ontology_service_
private

Member variable holding the register_image_object_to_ontology ROS service topic

Definition at line 109 of file knowrob_wrapper_communications.h.

std::string KnowrobWrapperCommunications::register_image_object_to_ontology_topic_
private

Definition at line 111 of file knowrob_wrapper_communications.h.

ros::ServiceServer KnowrobWrapperCommunications::retract_user_ontology_alias_service_
private

Member variable holding the retract_user_ontology_alias ROS service topic

Definition at line 104 of file knowrob_wrapper_communications.h.

std::string KnowrobWrapperCommunications::retract_user_ontology_alias_topic_
private

The register_image_object_to_ontology service server

Definition at line 106 of file knowrob_wrapper_communications.h.

ros::ServiceServer KnowrobWrapperCommunications::subclasses_of_service_
private

Member variable holding the subclasses_of ROS service topic

Definition at line 38 of file knowrob_wrapper_communications.h.

std::string KnowrobWrapperCommunications::subclasses_of_service_topic_
private

The superclasses_of service server

Definition at line 41 of file knowrob_wrapper_communications.h.

ros::ServiceServer KnowrobWrapperCommunications::superclasses_of_service_
private

Member variable holding the superclasses_of ROS service topic

Definition at line 44 of file knowrob_wrapper_communications.h.

std::string KnowrobWrapperCommunications::superclasses_of_service_topic_
private

The is_subsuperclass service server

Definition at line 46 of file knowrob_wrapper_communications.h.

ros::ServiceServer KnowrobWrapperCommunications::user_instances_of_class_service_
private

Member variable holding the user_instances_of_class ROS service topic

Definition at line 69 of file knowrob_wrapper_communications.h.

std::string KnowrobWrapperCommunications::user_instances_of_class_topic_
private

The create_ontology_alias service server

Definition at line 71 of file knowrob_wrapper_communications.h.

ros::ServiceServer KnowrobWrapperCommunications::user_performance_cognitve_tests_service_
private

Member variable holding the user_performance_cognitve_tests ROS service topic

Definition at line 79 of file knowrob_wrapper_communications.h.

std::string KnowrobWrapperCommunications::user_performance_cognitve_tests_topic_
private

The create_cognitve_tests service server

Definition at line 81 of file knowrob_wrapper_communications.h.


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