#include <nodelet.h>
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_string & | getMyArgv () const |
const std::string & | getName () const |
ros::NodeHandle & | getNodeHandle () const |
ros::NodeHandle & | getPrivateNodeHandle () const |
ros::CallbackQueueInterface & | getSTCallbackQueue () const |
Private Member Functions | |
virtual void | onInit ()=0 |
Private Attributes | |
boost::shared_ptr< bond::Bond > | bond_ |
detail::CallbackQueueManager * | callback_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_ |
Definition at line 135 of file nodelet.h.
nodelet::Nodelet::Nodelet | ( | ) |
Empty constructor required for dynamic loading.
* remove and use ros::names::parentNamespace after ros_comm 1.4.1 */
Definition at line 76 of file nodelet_class.cpp.
nodelet::Nodelet::~Nodelet | ( | ) | [virtual] |
Definition at line 82 of file nodelet_class.cpp.
ros::CallbackQueueInterface & nodelet::Nodelet::getMTCallbackQueue | ( | ) | const [protected] |
Definition at line 105 of file nodelet_class.cpp.
ros::NodeHandle & nodelet::Nodelet::getMTNodeHandle | ( | ) | const [protected] |
Definition at line 133 of file nodelet_class.cpp.
ros::NodeHandle & nodelet::Nodelet::getMTPrivateNodeHandle | ( | ) | const [protected] |
Definition at line 142 of file nodelet_class.cpp.
const V_string& nodelet::Nodelet::getMyArgv | ( | ) | const [inline, protected] |
const std::string& nodelet::Nodelet::getName | ( | ) | const [inline, protected] |
ros::NodeHandle & nodelet::Nodelet::getNodeHandle | ( | ) | const [protected] |
Definition at line 115 of file nodelet_class.cpp.
ros::NodeHandle & nodelet::Nodelet::getPrivateNodeHandle | ( | ) | const [protected] |
Definition at line 124 of file nodelet_class.cpp.
ros::CallbackQueueInterface & nodelet::Nodelet::getSTCallbackQueue | ( | ) | const [protected] |
Definition at line 95 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.
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 |
Definition at line 152 of file nodelet_class.cpp.
virtual void nodelet::Nodelet::onInit | ( | ) | [private, pure virtual] |
boost::shared_ptr<bond::Bond> nodelet::Nodelet::bond_ [private] |
bool nodelet::Nodelet::inited_ [private] |
NodeHandlePtr nodelet::Nodelet::mt_nh_ [private] |
V_string nodelet::Nodelet::my_argv_ [private] |
NodeHandlePtr nodelet::Nodelet::nh_ [private] |
std::string nodelet::Nodelet::nodelet_name_ [private] |
NodeHandlePtr nodelet::Nodelet::private_nh_ [private] |