Service concept interface. More...
#include <service.hpp>
Classes | |
struct | ServiceConcept |
struct | ServiceModel |
Public Member Functions | |
std::string | name () const |
getting the descriptive name for this service instance | |
void | reset (ros::NodeHandle &nh) |
initializes/resets the service into ROS with a given nodehandle, this will be called at first for initialization or again when master uri has changed | |
template<typename T > | |
Service (T srv) | |
Constructor for service interface. | |
std::string | topic () const |
getting the topic to service on | |
Private Attributes | |
boost::shared_ptr< ServiceConcept > | srvPtr_ |
Service concept interface.
Definition at line 41 of file service.hpp.
naoqi::service::Service::Service | ( | T | srv | ) | [inline] |
Constructor for service interface.
Definition at line 50 of file service.hpp.
std::string naoqi::service::Service::name | ( | ) | const [inline] |
getting the descriptive name for this service instance
Definition at line 70 of file service.hpp.
void naoqi::service::Service::reset | ( | ros::NodeHandle & | nh | ) | [inline] |
initializes/resets the service into ROS with a given nodehandle, this will be called at first for initialization or again when master uri has changed
ros | NodeHandle to register the service on |
Definition at line 59 of file service.hpp.
std::string naoqi::service::Service::topic | ( | ) | const [inline] |
getting the topic to service on
Definition at line 79 of file service.hpp.
boost::shared_ptr<ServiceConcept> naoqi::service::Service::srvPtr_ [private] |
Definition at line 131 of file service.hpp.