Public Member Functions | Private Attributes
location Class Reference

Location information. More...

#include <location.hpp>

List of all members.

Public Member Functions

int get_id ()
std::string & get_name ()
geometry_msgs::Poseget_pose ()
 location (int id, std::string name, geometry_msgs::Pose pose)
 Creates a location.

Private Attributes

int id_
std::string name_
geometry_msgs::Pose pose_

Detailed Description

Location information.

A location has a pose, name, and ID.

Definition at line 22 of file location.hpp.


Constructor & Destructor Documentation

location::location ( int  id,
std::string  name,
geometry_msgs::Pose  pose 
)

Creates a location.

Creates a location with the given information.

Parameters:
idThe location ID.
nameThe location name.
poseThe location position.

Definition at line 13 of file location.cpp.


Member Function Documentation

Get the location ID.

Returns:
The location ID.

Definition at line 19 of file location.cpp.

std::string & location::get_name ( )

Get the location name.

Returns:
The location name.

Definition at line 24 of file location.cpp.

Get the location pose.

Returns:
The location pose.

Definition at line 29 of file location.cpp.


Member Data Documentation

int location::id_ [private]

Definition at line 58 of file location.hpp.

std::string location::name_ [private]

The location ID

Definition at line 59 of file location.hpp.

The location name

Definition at line 60 of file location.hpp.


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


carl_navigation
Author(s): Russell Toris , David Kent
autogenerated on Sat Jun 8 2019 20:26:04