Public Member Functions
robot_activity::resource::RMWrapper< ManagedServiceServer > Class Template Reference

Specialization of the RMWrapper, where the managed resource is ManagedServiceServer. More...

#include <resource_manager.h>

Inheritance diagram for robot_activity::resource::RMWrapper< ManagedServiceServer >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

template<typename... Args>
ManagedServiceServer::SharedPtr advertiseService (Args &&...args)
 Adds a service to the list of managed services.

Detailed Description

template<>
class robot_activity::resource::RMWrapper< ManagedServiceServer >

Specialization of the RMWrapper, where the managed resource is ManagedServiceServer.

Definition at line 170 of file resource_manager.h.


Member Function Documentation

Adds a service to the list of managed services.

However, it does not actually advertise the ROS service, this is deferred until acquireAll is called, where all managed services will be actually advertised. The goal is to allow user write code as close as possible to the original roscpp API.

Parameters:
argsArguments describing the ROS service, same as arguments passed to ros::NodeHandle::advertiseService
Returns:
std::shared_ptr of the ManagedServiceServer

Definition at line 188 of file resource_manager.h.


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


robot_activity
Author(s): Maciej ZURAD
autogenerated on Thu Jun 6 2019 18:10:04