Go to the documentation of this file.
39 #include <boost/thread/mutex.hpp>
40 #include <boost/ptr_container/ptr_map.hpp>
45 #include <nodelet/NodeletLoad.h>
46 #include <nodelet/NodeletUnload.h>
47 #include <nodelet/NodeletList.h>
81 bool serviceLoad(::nodelet::NodeletLoad::Request& req, ::nodelet::NodeletLoad::Response& res);
89 bool serviceUnload(::nodelet::NodeletUnload::Request& req, ::nodelet::NodeletUnload::Response& res);
96 bool unload(const ::std::string& name);
104 bool serviceList(::nodelet::NodeletList::Request& req, ::nodelet::NodeletList::Response& res);
::nodelet::Loader * parent_
The actual nodelet loader to use.
::ros::ServiceServer load_server_
Service server for load_nodelet service.
bool serviceUnload(::nodelet::NodeletUnload::Request &req, ::nodelet::NodeletUnload::Response &res)
Unload a nodelet.
bool unload(const ::std::string &name)
Unload a nodelet of the given name.
::ros::NodeHandle nh_
The node handle to use for the advertised services.
bool serviceLoad(::nodelet::NodeletLoad::Request &req, ::nodelet::NodeletLoad::Response &res)
Load a nodelet.
::ros::CallbackQueue bond_callback_queue_
Callback queue used for the created bonds.
bool serviceList(::nodelet::NodeletList::Request &req, ::nodelet::NodeletList::Response &res)
List all loaded nodelets.
::boost::ptr_map<::std::string, ::bond::Bond > M_stringToBond
Type of the map of nodelet name->bond.
M_stringToBond bond_map_
Map of nodelet name->bond.
::ros::AsyncSpinner bond_spinner_
Spinner of bond_callback_queue_.
::ros::ServiceServer unload_server_
Service server for unload_nodelet service.
::boost::mutex lock_
Lock protecting access to parent_ and bond_map_.
::ros::ServiceServer list_server_
Service server for list service.
ROS interface for loading/unloading nodelets (internally using nodelet::Loader to do the work).
LoaderROS(::nodelet::Loader *parent, const ::ros::NodeHandle &nh)
Construct the ROS interface for the given loader.
cras_cpp_common
Author(s): Martin Pecka
autogenerated on Tue Nov 26 2024 03:49:04