GeoLifeEntry.cpp
Go to the documentation of this file.
00001 
00011 // World Item Search
00012 #include "world_item_search/GeoLifeEntry.h"
00013 
00014 using namespace rail::spatial_temporal_learning;
00015 
00016 GeoLifeEntry::GeoLifeEntry(const double latitude, const double longitude, const ros::Time &time) : time_(time)
00017 {
00018   latitude_ = latitude;
00019   longitude_ = longitude;
00020 }
00021 
00022 double GeoLifeEntry::getLatitude() const
00023 {
00024   return latitude_;
00025 }
00026 
00027 void GeoLifeEntry::setLatitude(const double latitude)
00028 {
00029   latitude_ = latitude;
00030 }
00031 
00032 double GeoLifeEntry::getLongitude() const
00033 {
00034   return longitude_;
00035 }
00036 
00037 void GeoLifeEntry::setLongitude(const double longitude)
00038 {
00039   longitude_ = longitude;
00040 }
00041 
00042 const ros::Time &GeoLifeEntry::getTime() const
00043 {
00044   return time_;
00045 }
00046 
00047 ros::Time &GeoLifeEntry::getTime()
00048 {
00049   return time_;
00050 }
00051 
00052 void GeoLifeEntry::setTime(const ros::Time &time)
00053 {
00054   time_ = time;
00055 }


world_item_search
Author(s): Russell Toris
autogenerated on Fri Feb 12 2016 00:24:30