#include <goal_id_generator.h>
Public Member Functions | |
actionlib_msgs::GoalID | generateID () |
Generates a unique ID. | |
GoalIDGenerator (const std::string &name) | |
GoalIDGenerator () | |
void | setName (const std::string &name) |
Private Attributes | |
std::string | name_ |
Definition at line 46 of file goal_id_generator.h.
GoalIDGenerator::GoalIDGenerator | ( | ) |
Create a generator that prepends the fully qualified node name to the Goal ID
Definition at line 44 of file goal_id_generator.cpp.
GoalIDGenerator::GoalIDGenerator | ( | const std::string & | name | ) |
name | Unique name to prepend to the goal id. This will generally be a fully qualified node name. |
Definition at line 49 of file goal_id_generator.cpp.
actionlib_msgs::GoalID GoalIDGenerator::generateID | ( | ) |
Generates a unique ID.
Definition at line 59 of file goal_id_generator.cpp.
void GoalIDGenerator::setName | ( | const std::string & | name | ) |
name | Set the name to prepend to the goal id. This will generally be a fully qualified node name. |
Definition at line 54 of file goal_id_generator.cpp.
std::string actionlib::GoalIDGenerator::name_ [private] |
Definition at line 74 of file goal_id_generator.h.