SpatialWorldObservation.cpp
Go to the documentation of this file.
00001 
00012 // worldlib
00013 #include "worldlib/remote/SpatialWorldObservation.h"
00014 
00015 using namespace std;
00016 using namespace rail::spatial_temporal_learning::worldlib::geometry;
00017 using namespace rail::spatial_temporal_learning::worldlib::remote;
00018 
00019 SpatialWorldObservation::SpatialWorldObservation(const uint32_t id, const string &item_name, const string &surface_name,
00020     const string &surface_frame_id, const Pose &pose, const ros::Time &time, const ros::Time &removed_estimate,
00021     const ros::Time &removed_observed)
00022     : SqlEntity(id),
00023       item_name_(item_name), surface_name_(surface_name), surface_frame_id_(surface_frame_id), pose_(pose), time_(time),
00024       removed_estimate_(removed_estimate), removed_observed_(removed_observed)
00025 {
00026 }
00027 
00028 const string &SpatialWorldObservation::getItemName() const
00029 {
00030   return item_name_;
00031 }
00032 
00033 void SpatialWorldObservation::setItemName(const string &item_name)
00034 {
00035   item_name_ = item_name;
00036 }
00037 
00038 const string &SpatialWorldObservation::getSurfaceName() const
00039 {
00040   return surface_name_;
00041 }
00042 
00043 void SpatialWorldObservation::setSurfaceName(const string &surface_name)
00044 {
00045   surface_name_ = surface_name;
00046 }
00047 
00048 const string &SpatialWorldObservation::getSurfaceFrameID() const
00049 {
00050   return surface_frame_id_;
00051 }
00052 
00053 void SpatialWorldObservation::setSurfaceFrameID(const string &surface_frame_id)
00054 {
00055   surface_frame_id_ = surface_frame_id;
00056 }
00057 
00058 const Pose &SpatialWorldObservation::getPose() const
00059 {
00060   return pose_;
00061 }
00062 
00063 Pose &SpatialWorldObservation::getPose()
00064 {
00065   return pose_;
00066 }
00067 
00068 void SpatialWorldObservation::setPose(const Pose &pose)
00069 {
00070   pose_ = pose;
00071 }
00072 
00073 const ros::Time &SpatialWorldObservation::getTime() const
00074 {
00075   return time_;
00076 }
00077 
00078 ros::Time &SpatialWorldObservation::getTime()
00079 {
00080   return time_;
00081 }
00082 
00083 void SpatialWorldObservation::setTime(const ros::Time &time)
00084 {
00085   time_ = time;
00086 }
00087 
00088 const ros::Time &SpatialWorldObservation::getRemovedEstimate() const
00089 {
00090   return removed_estimate_;
00091 }
00092 
00093 ros::Time &SpatialWorldObservation::getRemovedEstimate()
00094 {
00095   return removed_estimate_;
00096 }
00097 
00098 void SpatialWorldObservation::setRemovedEstimate(const ros::Time &removed_estimate)
00099 {
00100   removed_estimate_ = removed_estimate;
00101 }
00102 
00103 const ros::Time &SpatialWorldObservation::getRemovedObserved() const
00104 {
00105   return removed_observed_;
00106 }
00107 
00108 ros::Time &SpatialWorldObservation::getRemovedObserved()
00109 {
00110   return removed_observed_;
00111 }
00112 
00113 void SpatialWorldObservation::setRemovedObserved(const ros::Time &removed_observed)
00114 {
00115   removed_observed_ = removed_observed;
00116 }


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