ed
types.h
Go to the documentation of this file.
1 #ifndef ED_TYPES_H_
2 #define ED_TYPES_H_
3 
4 //#include <rgbd/types.h>
5 //#include <geolib/datatypes.h>
6 
7 #include <boost/make_shared.hpp>
8 #include <boost/shared_ptr.hpp>
9 #include <limits>
10 #include <stdint.h>
11 
12 namespace tf2_ros {
13 
14 class Buffer;
15 
16 }
17 
18 namespace ed
19 {
20 
21 typedef uint64_t Idx;
23 
24 // For easy switching to std pointers
25 using boost::shared_ptr;
26 using boost::make_shared;
27 using boost::const_pointer_cast;
28 using boost::dynamic_pointer_cast;
29 using boost::static_pointer_cast;
30 
32 typedef shared_ptr<Measurement> MeasurementPtr;
33 typedef shared_ptr<const Measurement> MeasurementConstPtr;
34 
35 class Entity;
36 typedef shared_ptr<Entity> EntityPtr;
37 typedef shared_ptr<const Entity> EntityConstPtr;
38 
39 class Plugin;
40 typedef shared_ptr<Plugin> PluginPtr;
41 typedef shared_ptr<const Plugin> PluginConstPtr;
42 
43 class WorldModel;
44 typedef shared_ptr<WorldModel> WorldModelPtr;
45 typedef shared_ptr<const WorldModel> WorldModelConstPtr;
46 
48 typedef shared_ptr<UpdateRequest> UpdateRequestPtr;
49 typedef shared_ptr<const UpdateRequest> UpdateRequestConstPtr;
50 
52 typedef shared_ptr<PluginContainer> PluginContainerPtr;
53 typedef shared_ptr<const PluginContainer> PluginContainerConstPtr;
54 
55 class SensorModule;
56 typedef shared_ptr<SensorModule> SensorModulePtr;
57 typedef shared_ptr<const SensorModule> SensorModuleConstPtr;
58 
59 class RGBDALModule;
60 typedef shared_ptr<RGBDALModule> RGBDALModulePtr;
61 typedef shared_ptr<const RGBDALModule> RGBDALModuleConstPtr;
62 
63 class RGBDSegModule;
64 typedef shared_ptr<RGBDSegModule> RGBDSegModulePtr;
65 typedef shared_ptr<const RGBDSegModule> RGBDSegModuleConstPtr;
66 
67 class PerceptionModule;
68 typedef shared_ptr<PerceptionModule> PerceptionModulePtr;
69 typedef shared_ptr<const PerceptionModule> PerceptionModuleConstPtr;
70 
71 class Relation;
72 typedef shared_ptr<Relation> RelationPtr;
73 typedef shared_ptr<const Relation> RelationConstPtr;
74 
75 class ConvexHull2D;
76 class ImageMask;
77 
78 class UUID;
79 
80 typedef std::string TYPE;
81 
82 // tf2_ros::Buffer
83 typedef shared_ptr<tf2_ros::Buffer> TFBufferPtr;
84 typedef shared_ptr<const tf2_ros::Buffer> TFBufferConstPtr;
85 
86 }
87 
88 #endif
ed::Plugin
Definition: plugin.h:28
ed::Relation
Definition: relation.h:12
ed::WorldModel
Definition: world_model.h:21
ed::UpdateRequest
Definition: update_request.h:24
std::string
ed::TFBufferConstPtr
shared_ptr< const tf2_ros::Buffer > TFBufferConstPtr
Definition: types.h:84
ed::RGBDSegModuleConstPtr
shared_ptr< const RGBDSegModule > RGBDSegModuleConstPtr
Definition: types.h:65
ed::MeasurementPtr
shared_ptr< Measurement > MeasurementPtr
Definition: types.h:31
ed::UpdateRequestConstPtr
shared_ptr< const UpdateRequest > UpdateRequestConstPtr
Definition: types.h:49
ed::TFBufferPtr
shared_ptr< tf2_ros::Buffer > TFBufferPtr
Definition: types.h:83
ed::ConvexHull2D
Definition: convex_hull_2d.h:18
ed::EntityConstPtr
shared_ptr< const Entity > EntityConstPtr
Definition: types.h:37
ed::PluginContainerPtr
shared_ptr< PluginContainer > PluginContainerPtr
Definition: types.h:51
tf2_ros
Definition: server.h:22
ed::PerceptionModuleConstPtr
shared_ptr< const PerceptionModule > PerceptionModuleConstPtr
Definition: types.h:69
ed::Entity
Definition: entity.h:30
ed::PluginContainerConstPtr
shared_ptr< const PluginContainer > PluginContainerConstPtr
Definition: types.h:53
ed::WorldModelConstPtr
shared_ptr< const WorldModel > WorldModelConstPtr
Definition: types.h:45
ed::Measurement
Definition: measurement.h:11
ed::INVALID_IDX
static const Idx INVALID_IDX
Definition: types.h:22
ed::UUID
Definition: uuid.h:10
ed::SensorModulePtr
shared_ptr< SensorModule > SensorModulePtr
Definition: types.h:55
ed::UpdateRequestPtr
shared_ptr< UpdateRequest > UpdateRequestPtr
Definition: types.h:47
ed::PluginContainer
Definition: plugin_container.h:25
ed::PluginConstPtr
shared_ptr< const Plugin > PluginConstPtr
Definition: types.h:41
ed::MeasurementConstPtr
shared_ptr< const Measurement > MeasurementConstPtr
Definition: types.h:33
ed::PerceptionModulePtr
shared_ptr< PerceptionModule > PerceptionModulePtr
Definition: types.h:67
ed::WorldModelPtr
shared_ptr< WorldModel > WorldModelPtr
Definition: types.h:43
ed::TYPE
std::string TYPE
Definition: types.h:78
limits
ed::RGBDALModulePtr
shared_ptr< RGBDALModule > RGBDALModulePtr
Definition: types.h:59
ed::ImageMask
Definition: mask.h:17
ed
Definition: convex_hull.h:8
ed::RelationConstPtr
shared_ptr< const Relation > RelationConstPtr
Definition: types.h:73
ed::PluginPtr
shared_ptr< Plugin > PluginPtr
Definition: types.h:39
std::numeric_limits::max
T max(T... args)
ed::RelationPtr
shared_ptr< Relation > RelationPtr
Definition: types.h:71
ed::RGBDALModuleConstPtr
shared_ptr< const RGBDALModule > RGBDALModuleConstPtr
Definition: types.h:61
ed::RGBDSegModulePtr
shared_ptr< RGBDSegModule > RGBDSegModulePtr
Definition: types.h:63
ed::Idx
uint64_t Idx
Definition: types.h:21
ed::SensorModuleConstPtr
shared_ptr< const SensorModule > SensorModuleConstPtr
Definition: types.h:57
ed::EntityPtr
shared_ptr< Entity > EntityPtr
Definition: types.h:35