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, detail::CallbackQueueManager *callback_manager, boost::shared_ptr< bond::Bond > bond)
 Init function called at startup.
 Nodelet ()
 Empty constructor required for dynamic loading.
virtual ~Nodelet ()

Protected Member Functions

ros::CallbackQueueInterface & getMTCallbackQueue () const
ros::NodeHandle & getMTNodeHandle () const
ros::NodeHandle & getMTPrivateNodeHandle () const
const V_stringgetMyArgv () const
const std::string & getName () const
ros::NodeHandle & getNodeHandle () const
ros::NodeHandle & getPrivateNodeHandle () const
ros::CallbackQueueInterface & getSTCallbackQueue () const

Private Member Functions

void disable ()
virtual void onInit ()=0

Private Attributes

boost::shared_ptr< bond::Bond > bond_
detail::CallbackQueueManagercallback_manager_
bool inited_
detail::CallbackQueuePtr mt_callback_queue_
NodeHandlePtr mt_nh_
NodeHandlePtr mt_private_nh_
V_string my_argv_
NodeHandlePtr nh_
std::string nodelet_name_
NodeHandlePtr private_nh_
detail::CallbackQueuePtr st_callback_queue_

Friends

class Loader

Detailed Description

Definition at line 135 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

void nodelet::Nodelet::disable (  )  [private]

Definition at line 51 of file nodelet_class.cpp.

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

Definition at line 67 of file nodelet_class.cpp.

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

Definition at line 95 of file nodelet_class.cpp.

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

Definition at line 104 of file nodelet_class.cpp.

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

Definition at line 140 of file nodelet.h.

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

Definition at line 139 of file nodelet.h.

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

Definition at line 77 of file nodelet_class.cpp.

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

Definition at line 86 of file nodelet_class.cpp.

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

Definition at line 57 of file nodelet_class.cpp.

void nodelet::Nodelet::init ( const std::string &  name,
const M_string remapping_args,
const V_string my_argv,
detail::CallbackQueueManager callback_manager,
boost::shared_ptr< bond::Bond >  bond 
)

Init function called at startup.

Parameters:
name The name of the nodelet
remapping_args The remapping args in a map for the nodelet
my_args The commandline arguments for this nodelet stripped of special arguments such as ROS arguments

Todo:
Move all detail:: stuff out of Nodelet, and init it with 2 ros::CallbackQueueInterface*.

Definition at line 114 of file nodelet_class.cpp.

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

Friends And Related Function Documentation

friend class Loader [friend]
Todo:
Fix interface so friending Loader isn't necessary

Definition at line 191 of file nodelet.h.


Member Data Documentation

boost::shared_ptr<bond::Bond> nodelet::Nodelet::bond_ [private]

Definition at line 167 of file nodelet.h.

Definition at line 159 of file nodelet.h.

bool nodelet::Nodelet::inited_ [private]

Definition at line 153 of file nodelet.h.

Definition at line 157 of file nodelet.h.

Definition at line 163 of file nodelet.h.

Definition at line 164 of file nodelet.h.

Definition at line 165 of file nodelet.h.

Definition at line 161 of file nodelet.h.

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

Definition at line 155 of file nodelet.h.

Definition at line 162 of file nodelet.h.

Definition at line 158 of file nodelet.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Friends Defines


nodelet
Author(s): Tully Foote, Radu Bogdan Rusu
autogenerated on Fri Jan 11 11:44:26 2013