Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
nodelet::Nodelet Class Reference

#include <nodelet.h>

List of all members.

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.
 Nodelet ()
 Empty constructor required for dynamic loading.
virtual ~Nodelet ()

Protected Member Functions

ros::CallbackQueueInterfacegetMTCallbackQueue () const
ros::NodeHandlegetMTNodeHandle () const
ros::NodeHandlegetMTPrivateNodeHandle () const
const V_stringgetMyArgv () const
const std::string & getName () const
ros::NodeHandlegetNodeHandle () const
ros::NodeHandlegetPrivateNodeHandle () const
const M_stringgetRemappingArgs () const
ros::CallbackQueueInterfacegetSTCallbackQueue () 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_

Detailed Description

Definition at line 181 of file nodelet.h.


Constructor & Destructor Documentation

Empty constructor required for dynamic loading.

Definition at line 40 of file nodelet_class.cpp.

Definition at line 46 of file nodelet_class.cpp.


Member Function Documentation

Definition at line 60 of file nodelet_class.cpp.

Definition at line 88 of file nodelet_class.cpp.

Definition at line 97 of file nodelet_class.cpp.

const V_string& nodelet::Nodelet::getMyArgv ( ) const [inline, protected]

Definition at line 190 of file nodelet.h.

const std::string& nodelet::Nodelet::getName ( ) const [inline, protected]

Definition at line 185 of file nodelet.h.

Definition at line 70 of file nodelet_class.cpp.

Definition at line 79 of file nodelet_class.cpp.

const M_string& nodelet::Nodelet::getRemappingArgs ( ) const [inline, protected]

Definition at line 191 of file nodelet.h.

Definition at line 50 of file nodelet_class.cpp.

std::string nodelet::Nodelet::getSuffixedName ( const std::string &  suffix) const [inline, protected]

Definition at line 186 of file nodelet.h.

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.

Parameters:
nameThe name of the nodelet
remapping_argsThe remapping args in a map for the nodelet
my_argvThe commandline arguments for this nodelet stripped of special arguments such as ROS arguments

Definition at line 107 of file nodelet_class.cpp.

virtual void nodelet::Nodelet::onInit ( ) [private, pure virtual]

Member Data Documentation

bool nodelet::Nodelet::inited_ [private]

Definition at line 204 of file nodelet.h.

Definition at line 210 of file nodelet.h.

Definition at line 211 of file nodelet.h.

Definition at line 212 of file nodelet.h.

Definition at line 208 of file nodelet.h.

std::string nodelet::Nodelet::nodelet_name_ [private]

Definition at line 206 of file nodelet.h.

Definition at line 209 of file nodelet.h.

Definition at line 213 of file nodelet.h.


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


nodelet
Author(s): Tully Foote, Radu Bogdan Rusu
autogenerated on Sun Aug 6 2017 02:23:55