Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
nodelet::Nodelet Class Referenceabstract

#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::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 186 of file nodelet.h.

Constructor & Destructor Documentation

◆ Nodelet()

nodelet::Nodelet::Nodelet ( )

Empty constructor required for dynamic loading.

Definition at line 40 of file nodelet_class.cpp.

◆ ~Nodelet()

nodelet::Nodelet::~Nodelet ( )
virtual

Definition at line 46 of file nodelet_class.cpp.

Member Function Documentation

◆ getMTCallbackQueue()

ros::CallbackQueueInterface & nodelet::Nodelet::getMTCallbackQueue ( ) const
protected

Definition at line 60 of file nodelet_class.cpp.

◆ getMTNodeHandle()

ros::NodeHandle & nodelet::Nodelet::getMTNodeHandle ( ) const
protected

Definition at line 88 of file nodelet_class.cpp.

◆ getMTPrivateNodeHandle()

ros::NodeHandle & nodelet::Nodelet::getMTPrivateNodeHandle ( ) const
protected

Definition at line 97 of file nodelet_class.cpp.

◆ getMyArgv()

const V_string& nodelet::Nodelet::getMyArgv ( ) const
inlineprotected

Definition at line 195 of file nodelet.h.

◆ getName()

const std::string& nodelet::Nodelet::getName ( ) const
inlineprotected

Definition at line 190 of file nodelet.h.

◆ getNodeHandle()

ros::NodeHandle & nodelet::Nodelet::getNodeHandle ( ) const
protected

Definition at line 70 of file nodelet_class.cpp.

◆ getPrivateNodeHandle()

ros::NodeHandle & nodelet::Nodelet::getPrivateNodeHandle ( ) const
protected

Definition at line 79 of file nodelet_class.cpp.

◆ getRemappingArgs()

const M_string& nodelet::Nodelet::getRemappingArgs ( ) const
inlineprotected

Definition at line 196 of file nodelet.h.

◆ getSTCallbackQueue()

ros::CallbackQueueInterface & nodelet::Nodelet::getSTCallbackQueue ( ) const
protected

Definition at line 50 of file nodelet_class.cpp.

◆ getSuffixedName()

std::string nodelet::Nodelet::getSuffixedName ( const std::string &  suffix) const
inlineprotected

Definition at line 191 of file nodelet.h.

◆ init()

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.

◆ onInit()

virtual void nodelet::Nodelet::onInit ( )
privatepure virtual

Member Data Documentation

◆ inited_

bool nodelet::Nodelet::inited_
private

Definition at line 209 of file nodelet.h.

◆ mt_nh_

NodeHandlePtr nodelet::Nodelet::mt_nh_
private

Definition at line 215 of file nodelet.h.

◆ mt_private_nh_

NodeHandlePtr nodelet::Nodelet::mt_private_nh_
private

Definition at line 216 of file nodelet.h.

◆ my_argv_

V_string nodelet::Nodelet::my_argv_
private

Definition at line 217 of file nodelet.h.

◆ nh_

NodeHandlePtr nodelet::Nodelet::nh_
private

Definition at line 213 of file nodelet.h.

◆ nodelet_name_

std::string nodelet::Nodelet::nodelet_name_
private

Definition at line 211 of file nodelet.h.

◆ private_nh_

NodeHandlePtr nodelet::Nodelet::private_nh_
private

Definition at line 214 of file nodelet.h.

◆ remapping_args_

M_string nodelet::Nodelet::remapping_args_
private

Definition at line 218 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 Mon Feb 28 2022 22:57:13