Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
nodelet::LoaderROS Class Reference

Public Member Functions

 LoaderROS (Loader *parent, const ros::NodeHandle &nh)
 

Private Types

typedef boost::ptr_map< std::string, bond::BondM_stringToBond
 

Private Member Functions

bool serviceList (nodelet::NodeletList::Request &, nodelet::NodeletList::Response &res)
 
bool serviceLoad (nodelet::NodeletLoad::Request &req, nodelet::NodeletLoad::Response &res)
 
bool serviceUnload (nodelet::NodeletUnload::Request &req, nodelet::NodeletUnload::Response &res)
 
bool unload (const std::string &name)
 

Private Attributes

ros::CallbackQueue bond_callback_queue_
 
M_stringToBond bond_map_
 
ros::AsyncSpinner bond_spinner_
 
ros::ServiceServer list_server_
 
ros::ServiceServer load_server_
 
boost::mutex lock_
 
ros::NodeHandle nh_
 
Loaderparent_
 
ros::ServiceServer unload_server_
 

Detailed Description

Todo:
Consider moving this to nodelet executable, it's implemented entirely on top of Loader

Definition at line 73 of file loader.cpp.

Member Typedef Documentation

◆ M_stringToBond

typedef boost::ptr_map<std::string, bond::Bond> nodelet::LoaderROS::M_stringToBond
private

Definition at line 170 of file loader.cpp.

Constructor & Destructor Documentation

◆ LoaderROS()

nodelet::LoaderROS::LoaderROS ( Loader parent,
const ros::NodeHandle nh 
)
inline

Definition at line 76 of file loader.cpp.

Member Function Documentation

◆ serviceList()

bool nodelet::LoaderROS::serviceList ( nodelet::NodeletList::Request &  ,
nodelet::NodeletList::Response &  res 
)
inlineprivate

Definition at line 153 of file loader.cpp.

◆ serviceLoad()

bool nodelet::LoaderROS::serviceLoad ( nodelet::NodeletLoad::Request &  req,
nodelet::NodeletLoad::Response &  res 
)
inlineprivate

Definition at line 89 of file loader.cpp.

◆ serviceUnload()

bool nodelet::LoaderROS::serviceUnload ( nodelet::NodeletUnload::Request &  req,
nodelet::NodeletUnload::Response &  res 
)
inlineprivate

Definition at line 123 of file loader.cpp.

◆ unload()

bool nodelet::LoaderROS::unload ( const std::string &  name)
inlineprivate

Definition at line 130 of file loader.cpp.

Member Data Documentation

◆ bond_callback_queue_

ros::CallbackQueue nodelet::LoaderROS::bond_callback_queue_
private

Definition at line 168 of file loader.cpp.

◆ bond_map_

M_stringToBond nodelet::LoaderROS::bond_map_
private

Definition at line 171 of file loader.cpp.

◆ bond_spinner_

ros::AsyncSpinner nodelet::LoaderROS::bond_spinner_
private

Definition at line 169 of file loader.cpp.

◆ list_server_

ros::ServiceServer nodelet::LoaderROS::list_server_
private

Definition at line 164 of file loader.cpp.

◆ load_server_

ros::ServiceServer nodelet::LoaderROS::load_server_
private

Definition at line 162 of file loader.cpp.

◆ lock_

boost::mutex nodelet::LoaderROS::lock_
private

Definition at line 166 of file loader.cpp.

◆ nh_

ros::NodeHandle nodelet::LoaderROS::nh_
private

Definition at line 161 of file loader.cpp.

◆ parent_

Loader* nodelet::LoaderROS::parent_
private

Definition at line 160 of file loader.cpp.

◆ unload_server_

ros::ServiceServer nodelet::LoaderROS::unload_server_
private

Definition at line 163 of file loader.cpp.


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


nodelet
Author(s): Tully Foote, Radu Bogdan Rusu
autogenerated on Mon Feb 28 2022 22:57:13