contains the definition of a Map2DPath type
std::vector< yarp::dev::Nav2D::Map2DLocation > waypoints
list of waypoints which define the path
std::string description
user defined string
void push_back(yarp::dev::Nav2D::Map2DLocation loc)
Inserts a new location into the path @loc the location to be inserted.
std::vector< Map2DLocation >::const_iterator const_iterator
void clear()
Remove all elements from the path.
const_iterator cbegin() const noexcept
Returns a const iterator to the begin of the Path.
const_iterator cend() const noexcept
Returns a const iterator to the end of the Path.
std::string toString() const
Returns text representation of the path.
yarp::dev::Nav2D::Map2DLocation & operator[](size_t index)
Returns a waypoint in the path.
iterator begin() noexcept
Returns an iterator to the begin of the Path.
size_t size() const
Returns the size of the path.
bool operator==(const Map2DPath &r) const
Compares two Map2DArea.
bool isOnSingleMap() const
Checks if all the waypoints of the path belong to the same map return true if the test is successful.
bool operator!=(const Map2DPath &r) const
Compares two Map2DPath.
std::vector< Map2DLocation >::iterator iterator
double getLength() const
Returns the length of the path.
Map2DPath()
Default constructor: the map name is empty, coordinates are set to zero.
iterator end() noexcept
Returns an iterator to the end of the Path.
A mini-server for performing network communication in the background.
For streams capable of holding different kinds of content, check what they actually have.
An interface to the operating system, including Port based communication.