#include <nodelet.h>
Public Member Functions | |
void | init (const std::string &name, const M_string &remapping_args, const V_string &my_argv, ros::CallbackQueueInterface *st_queue=NULL, ros::CallbackQueueInterface *mt_queue=NULL) |
Init function called at startup. More... | |
Nodelet () | |
Empty constructor required for dynamic loading. More... | |
virtual | ~Nodelet () |
Protected Member Functions | |
ros::CallbackQueueInterface & | getMTCallbackQueue () const |
ros::NodeHandle & | getMTNodeHandle () const |
ros::NodeHandle & | getMTPrivateNodeHandle () const |
const V_string & | getMyArgv () const |
const std::string & | getName () const |
ros::NodeHandle & | getNodeHandle () const |
ros::NodeHandle & | getPrivateNodeHandle () const |
const M_string & | getRemappingArgs () const |
ros::CallbackQueueInterface & | getSTCallbackQueue () const |
std::string | getSuffixedName (const std::string &suffix) const |
Private Member Functions | |
virtual void | onInit ()=0 |
Private Attributes | |
bool | inited_ |
NodeHandlePtr | mt_nh_ |
NodeHandlePtr | mt_private_nh_ |
V_string | my_argv_ |
NodeHandlePtr | nh_ |
std::string | nodelet_name_ |
NodeHandlePtr | private_nh_ |
M_string | remapping_args_ |
nodelet::Nodelet::Nodelet | ( | ) |
Empty constructor required for dynamic loading.
Definition at line 40 of file nodelet_class.cpp.
|
virtual |
Definition at line 46 of file nodelet_class.cpp.
|
protected |
Definition at line 60 of file nodelet_class.cpp.
|
protected |
Definition at line 88 of file nodelet_class.cpp.
|
protected |
Definition at line 97 of file nodelet_class.cpp.
|
inlineprotected |
|
inlineprotected |
|
protected |
Definition at line 70 of file nodelet_class.cpp.
|
protected |
Definition at line 79 of file nodelet_class.cpp.
|
inlineprotected |
|
protected |
Definition at line 50 of file nodelet_class.cpp.
|
inlineprotected |
void nodelet::Nodelet::init | ( | const std::string & | name, |
const M_string & | remapping_args, | ||
const V_string & | my_argv, | ||
ros::CallbackQueueInterface * | st_queue = NULL , |
||
ros::CallbackQueueInterface * | mt_queue = NULL |
||
) |
Init function called at startup.
name | The name of the nodelet |
remapping_args | The remapping args in a map for the nodelet |
my_argv | The commandline arguments for this nodelet stripped of special arguments such as ROS arguments |
Definition at line 107 of file nodelet_class.cpp.
|
privatepure virtual |
|
private |
|
private |
|
private |
|
private |