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 ( )

Empty constructor required for dynamic loading.

Definition at line 40 of file nodelet_class.cpp.

nodelet::Nodelet::~Nodelet ( )
virtual

Definition at line 46 of file nodelet_class.cpp.

Member Function Documentation

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

Definition at line 60 of file nodelet_class.cpp.

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

Definition at line 88 of file nodelet_class.cpp.

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

Definition at line 97 of file nodelet_class.cpp.

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

Definition at line 195 of file nodelet.h.

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

Definition at line 190 of file nodelet.h.

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

Definition at line 70 of file nodelet_class.cpp.

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

Definition at line 79 of file nodelet_class.cpp.

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

Definition at line 196 of file nodelet.h.

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

Definition at line 50 of file nodelet_class.cpp.

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

Definition at line 191 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 ( )
privatepure virtual

Member Data Documentation

bool nodelet::Nodelet::inited_
private

Definition at line 209 of file nodelet.h.

NodeHandlePtr nodelet::Nodelet::mt_nh_
private

Definition at line 215 of file nodelet.h.

NodeHandlePtr nodelet::Nodelet::mt_private_nh_
private

Definition at line 216 of file nodelet.h.

V_string nodelet::Nodelet::my_argv_
private

Definition at line 217 of file nodelet.h.

NodeHandlePtr nodelet::Nodelet::nh_
private

Definition at line 213 of file nodelet.h.

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

Definition at line 211 of file nodelet.h.

NodeHandlePtr nodelet::Nodelet::private_nh_
private

Definition at line 214 of file nodelet.h.

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 18 2019 03:26:46