SpatialWorldObservation.h
Go to the documentation of this file.
00001 
00012 #ifndef SPATIAL_TEMPORAL_LEARNING_WORLDLIB_REMOTE_SPATIAL_WORLD_OBSERVATION_H_
00013 #define SPATIAL_TEMPORAL_LEARNING_WORLDLIB_REMOTE_SPATIAL_WORLD_OBSERVATION_H_
00014 
00015 // worldlib
00016 #include "SqlEntity.h"
00017 #include "../geometry/Pose.h"
00018 
00019 // ROS
00020 #include <ros/time.h>
00021 
00022 // C++ Standard Library
00023 #include <string>
00024 
00025 namespace rail
00026 {
00027 namespace spatial_temporal_learning
00028 {
00029 namespace worldlib
00030 {
00031 namespace remote
00032 {
00033 
00041 class SpatialWorldObservation : public SqlEntity
00042 {
00043 public:
00058   SpatialWorldObservation(const uint32_t id, const std::string &item_name, const std::string &surface_name,
00059       const std::string &surface_frame_id, const geometry::Pose &pose, const ros::Time &time,
00060       const ros::Time &removed_estimate, const ros::Time &removed_observed);
00061 
00069   const std::string &getItemName() const;
00070 
00078   void setItemName(const std::string &item_name);
00079 
00087   const std::string &getSurfaceName() const;
00088 
00096   void setSurfaceName(const std::string &surface_name);
00097 
00105   const std::string &getSurfaceFrameID() const;
00106 
00114   void setSurfaceFrameID(const std::string &surface_frame_id);
00115 
00123   const geometry::Pose &getPose() const;
00124 
00132   geometry::Pose &getPose();
00133 
00141   void setPose(const geometry::Pose &pose);
00142 
00150   const ros::Time &getTime() const;
00151 
00159   ros::Time &getTime();
00160 
00168   void setTime(const ros::Time &time);
00169 
00177   const ros::Time &getRemovedEstimate() const;
00178 
00186   ros::Time &getRemovedEstimate();
00187 
00195   void setRemovedEstimate(const ros::Time &removed_estimate);
00196 
00204   const ros::Time &getRemovedObserved() const;
00205 
00213   ros::Time &getRemovedObserved();
00214 
00222   void setRemovedObserved(const ros::Time &removed_observed);
00223 
00224 private:
00226   std::string item_name_, surface_name_, surface_frame_id_;
00228   geometry::Pose pose_;
00230   ros::Time time_, removed_estimate_, removed_observed_;
00231 };
00232 
00233 }
00234 }
00235 }
00236 }
00237 
00238 #endif


worldlib
Author(s): Russell Toris
autogenerated on Thu Jun 6 2019 20:55:36