ObjectDatabase.h
Go to the documentation of this file.
1 
21 #ifndef OBJECTDATABASE_H_
22 #define OBJECTDATABASE_H_
23 
24 #include <string>
25 #include <boost/filesystem.hpp>
26 #include <ros/ros.h>
27 #include <ros/package.h>
28 #include "typedef.h"
29 #include "ObjectDatabaseConfig.h"
30 #include "asr_object_database/RecognizerList.h"
31 #include "asr_object_database/ObjectTypeList.h"
32 #include "asr_object_database/ObjectMetaData.h"
33 #include "asr_object_database/RecognizerListMeshes.h"
34 #include "asr_object_database/ObjectTypeGenerator.h"
35 
36 
37 namespace object_database
38 {
39 using namespace asr_object_database;
40 
41 namespace fs = boost::filesystem;
43 {
48 
53 
58 
63 
68 
73 
78 
83 public:
88  ObjectDatabase(fs::path configurationFilePath);
89 
93  virtual ~ObjectDatabase()
94  {}
95 
101  bool processRecognizerListRequest(RecognizerList::Request &req, RecognizerList::Response &res);
102 
108  bool processObjectTypeListRequest(ObjectTypeList::Request &req, ObjectTypeList::Response &res);
109 
115  bool processObjectMetaDataRequest(ObjectMetaData::Request &req, ObjectMetaData::Response &res);
116 
122  bool processRecognizerListMeshesRequest(RecognizerListMeshes::Request &req, RecognizerListMeshes::Response &res);
123 
130  bool processObjectTypeGeneratorRequest(ObjectTypeGenerator::Request &req, ObjectTypeGenerator::Response &res);
131 
132 
137  void readAllObjectDatabaseRecognizers();
138 };
139 }
140 
141 
142 #endif /* OBJECTDATABASE_H_ */
ros::ServiceServer mObjectMetaDataServiceHandle
ros::ServiceServer mObjectTypeGeneratorServiceHandle
ObjectDatabaseConfig mConfig
ros::ServiceServer mObjectTypeListServiceHandle
ros::ServiceServer mRecognizerListMeshesServiceHandle
ros::ServiceServer mRecognizerListServiceHandle


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:13