Point of interest configuration information. More...
#include <PointOfInterest.h>
Public Member Functions | |
const std::string & | getFrameID () const |
Frame ID value accessor. | |
const std::string & | getName () const |
Name value accessor. | |
PointOfInterest (const std::string &name="", const std::string &frame_id="") | |
Create a new PointOfInterest. | |
void | setFrameID (const std::string &frame_id) |
Frame ID value mutator. | |
void | setName (const std::string &name) |
Name value mutator. | |
Private Attributes | |
std::string | frame_id_ |
std::string | name_ |
Point of interest configuration information.
A POI contains a name and associated frame.
Definition at line 27 of file PointOfInterest.h.
PointOfInterest::PointOfInterest | ( | const std::string & | name = "" , |
const std::string & | frame_id = "" |
||
) |
Create a new PointOfInterest.
Create a new PointOfInterest with the given name and frame ID.
name | The name of the POI (defaults to the empty string). |
frame_id | The frame ID of the POI (defaults to the empty string). |
Definition at line 16 of file PointOfInterest.cpp.
const string & PointOfInterest::getFrameID | ( | ) | const |
Frame ID value accessor.
Get the frame ID value of this PointOfInterest.
Definition at line 30 of file PointOfInterest.cpp.
const string & PointOfInterest::getName | ( | ) | const |
Name value accessor.
Get the name value of this PointOfInterest.
Definition at line 20 of file PointOfInterest.cpp.
void PointOfInterest::setFrameID | ( | const std::string & | frame_id | ) |
Frame ID value mutator.
Set the frame ID value of this PointOfInterest.
frame_id | The new frame ID name value. |
Definition at line 35 of file PointOfInterest.cpp.
void PointOfInterest::setName | ( | const std::string & | name | ) |
Name value mutator.
Set the name value of this PointOfInterest.
name | The new name value. |
Definition at line 25 of file PointOfInterest.cpp.
std::string rail::interactive_world::PointOfInterest::frame_id_ [private] |
Definition at line 78 of file PointOfInterest.h.
std::string rail::interactive_world::PointOfInterest::name_ [private] |
Name of the POI and frame ID.
Definition at line 78 of file PointOfInterest.h.