Public Member Functions | Public Attributes
swri_route_util::Route Class Reference

#include <route.h>

List of all members.

Public Member Functions

void deleteProperty (const std::string &name)
bool findPointId (size_t &index, const std::string &id) const
bool findPointIdConst (size_t &index, const std::string &id) const
std::string getProperty (const std::string &name) const
std::vector< std::string > getPropertyNames () const
template<typename T >
T getTypedProperty (const std::string &name) const
std::string guid () const
bool hasProperty (const std::string &name) const
std::string name () const
void rebuildPointIndex () const
 Route ()
 Route (const marti_nav_msgs::Route &msg)
void setGuid (const std::string &guid)
void setName (const std::string &name)
void setProperty (const std::string &name, const std::string &value)
void toMsg (marti_nav_msgs::Route &msg) const
marti_nav_msgs::RoutePtr toMsgPtr () const
bool valid () const

Public Attributes

std::string guid_
std_msgs::Header header
std::string name_
std::map< std::string, size_t > point_index_
std::vector< RoutePointpoints
std::map< std::string,
std::string > 
properties_

Detailed Description

Definition at line 57 of file route.h.


Constructor & Destructor Documentation

Definition at line 37 of file route.cpp.

swri_route_util::Route::Route ( const marti_nav_msgs::Route &  msg)

Member Function Documentation

void swri_route_util::Route::deleteProperty ( const std::string &  name)

Definition at line 206 of file route.cpp.

bool swri_route_util::Route::findPointId ( size_t &  index,
const std::string &  id 
) const

Definition at line 113 of file route.cpp.

bool swri_route_util::Route::findPointIdConst ( size_t &  index,
const std::string &  id 
) const

Definition at line 143 of file route.cpp.

std::string swri_route_util::Route::getProperty ( const std::string &  name) const

Definition at line 171 of file route.cpp.

std::vector< std::string > swri_route_util::Route::getPropertyNames ( ) const

Definition at line 158 of file route.cpp.

template<typename T >
T swri_route_util::Route::getTypedProperty ( const std::string &  name) const [inline]

Definition at line 175 of file route.h.

std::string swri_route_util::Route::guid ( ) const

Definition at line 226 of file route.cpp.

bool swri_route_util::Route::hasProperty ( const std::string &  name) const

Definition at line 184 of file route.cpp.

std::string swri_route_util::Route::name ( ) const

Definition at line 216 of file route.cpp.

Definition at line 236 of file route.cpp.

void swri_route_util::Route::setGuid ( const std::string &  guid)

Definition at line 231 of file route.cpp.

void swri_route_util::Route::setName ( const std::string &  name)

Definition at line 221 of file route.cpp.

void swri_route_util::Route::setProperty ( const std::string &  name,
const std::string &  value 
)

Definition at line 195 of file route.cpp.

void swri_route_util::Route::toMsg ( marti_nav_msgs::Route &  msg) const

Definition at line 84 of file route.cpp.

mnm::RoutePtr swri_route_util::Route::toMsgPtr ( ) const

Definition at line 101 of file route.cpp.

Definition at line 108 of file route.cpp.


Member Data Documentation

Definition at line 164 of file route.h.

Definition at line 77 of file route.h.

Definition at line 165 of file route.h.

std::map<std::string, size_t> swri_route_util::Route::point_index_ [mutable]

Definition at line 158 of file route.h.

Definition at line 82 of file route.h.

std::map<std::string, std::string> swri_route_util::Route::properties_

Definition at line 161 of file route.h.


The documentation for this class was generated from the following files:


swri_route_util
Author(s):
autogenerated on Thu Jun 6 2019 20:35:04