Classes | |
class | AdvertiseMessage |
Advertise packet used in the discovery protocol to broadcast information about the node advertising a topic. The information sent contains the name of the protobuf message type advertised. This message is used for advertising messages and services. 'T' is the Publisher type used inside this AdvertiseMessage object. More... | |
class | AdvertiseMessageOptions |
A class for customizing the publication options for a topic advertised. E.g.: Set the rate of messages per second published. More... | |
class | AdvertiseOptions |
A class for customizing the publication options for a topic or service advertised. E.g.: Set the scope of a topic/service. More... | |
class | AdvertiseServiceOptions |
A class for customizing the publication options for a service advertised. More... | |
class | Discovery |
A discovery class that implements a distributed topic discovery protocol. It uses UDP multicast for sending/receiving messages and stores updated topic information. The discovery clients can request the discovery of a topic or the advertisement of a local topic. The discovery uses heartbeats to track the state of other peers in the network. The discovery clients can register callbacks to detect when new topics are discovered or topics are no longer available. More... | |
class | HandlerStorage |
Class to store and manage service call handlers. More... | |
class | Header |
Header included in each discovery message containing the version of the discovery protocol, the process UUID of the sender node, the type. More... | |
class | IRepHandler |
Interface class used to manage a replier handler. More... | |
class | IReqHandler |
Interface class used to manage a request handler. More... | |
class | ISubscriptionHandler |
Interface class used to manage generic protobuf messages. More... | |
class | MessageInfo |
A class that provides information about the message received. More... | |
class | MessagePublisher |
This class stores all the information about a message publisher. More... | |
class | Node |
A class that allows a client to communicate with other peers. There are two main communication modes: pub/sub messages and service calls. More... | |
class | NodeOptions |
A class for customizing the behavior of the Node. E.g.: Set a custom namespace or a partition name. More... | |
class | NodeShared |
Private data for the Node class. This class should not be directly used. You should use the Node class. More... | |
class | Publisher |
This class stores all the information about a publisher. It stores the topic name that publishes, addresses, UUIDs, scope, etc. More... | |
class | RawSubscriptionHandler |
class | RepHandler |
with the service response. More... | |
class | ReqHandler |
It creates a reply handler for the specific protobuf messages used. 'Req' is a protobuf message type containing the input parameters of the service request. 'Rep' is a protobuf message type that will be filled with the service response. More... | |
class | ReqHandler< google::protobuf::Message, google::protobuf::Message > |
class | ServicePublisher |
This class stores all the information about a service publisher. More... | |
class | SubscribeOptions |
A class to provide different options for a subscription. More... | |
class | SubscriptionHandler |
It creates a subscription handler for a specific protobuf message. 'T' is the Protobuf message type that will be used for this particular handler. More... | |
class | SubscriptionHandler< ProtoMsg > |
Specialized template when the user prefers a callbacks that accepts a generic google::protobuf::message instead of a specific type. More... | |
class | SubscriptionHandlerBase |
SubscriptionHandlerBase contains functions and data which are common to all SubscriptionHandler types. More... | |
class | SubscriptionMsg |
Subscription packet used in the discovery protocol for requesting information about a given topic. More... | |
class | TopicStorage |
Store address information about topics and provide convenient methods for adding new topics, removing them, etc. More... | |
class | TopicUtils |
This class provides different utilities related with topics. More... | |
class | Uuid |
A portable class for representing a Universally Unique Identifier. More... | |
Enumerations | |
enum class | Scope_t { PROCESS , HOST , ALL } |
Functions | |
*brief Old method for advertising a service This signature is *considered deprecated Please migrate to the callback signature std::function< void(ReplyT &_rep, bool &_result)> const AdvertiseServiceOptions ReplyT const std::string void(ClassT::*) | _cb (const RequestT &_req, ReplyT &_rep, bool &_result) |
class ignition::transport::Node | Advertise (const std::string &_topic, bool(*_cb)(ReplyT &_rep), const AdvertiseServiceOptions &_options=AdvertiseServiceOptions()) |
*brief Old method for advertising a service This signature is *considered deprecated Please migrate to the callback signature std::function< void(ReplyT &_rep, bool &_result)> const AdvertiseServiceOptions ReplyT const std::string void(ClassT::ClassT const AdvertiseServiceOptions ReplyT bool | Advertise (const std::string &_topic, bool(ClassT::*_cb)(const RequestT &_req, ReplyT &_rep), ClassT *_obj, const AdvertiseServiceOptions &_options=AdvertiseServiceOptions()) |
*brief Old method for advertising a service This signature is *considered deprecated Please migrate to the callback signature void(ClassT::ClassT const AdvertiseServiceOptions ReplyT bool | Advertise (const std::string &_topic, bool(ClassT::*_cb)(ReplyT &_rep), ClassT *_obj, const AdvertiseServiceOptions &_options=AdvertiseServiceOptions()) |
*brief Advertise a new service without any output parameter *In this version the callback is a member function *param[in] _topic Topic name associated to the service *param[in] _cb Callback to handle the service request with the *following RequestT bool | Advertise (const std::string &_topic, void(ClassT::*_cb)(const RequestT &_req), ClassT *_obj, const AdvertiseServiceOptions &_options=AdvertiseServiceOptions()) |
std::vector< std::string > | AdvertisedServices () const |
std::string | determineHost () |
Determine IP or hostname. Reference: https://github.com/ros/ros_comm/blob/hydro-devel/clients/ roscpp/src/libros/network.cpp. | |
std::vector< std::string > | determineInterfaces () |
Determine the list of network interfaces for this machine. Reference: https://github.com/ros/ros_comm/blob/hydro-devel/clients/ roscpp/src/libros/network.cpp. | |
bool | env (const std::string &_name, std::string &_value) |
Find the environment variable '_name' and return its value. | |
std::string | hostname () |
Determine the computer's hostname. | |
int | hostnameToIp (char *_hostname, std::string &_ip) |
Determine if an IP is private. | |
if (!_rep.ParseFromString(reqHandlerPtr->Response())) | |
if (!executed) return false | |
if (!reqHandlerPtr->Result()) | |
if (!TopicUtils::FullyQualifiedName(this->Options().Partition(), this->Options().NameSpace(), _topic, fullyQualifiedTopic)) | |
if (localResponserFound) | |
if (this->Shared() ->repliers.FirstHandler(fullyQualifiedTopic, _req.GetTypeName(), _rep.GetTypeName(), repHandler)) | |
if (this->Shared() ->TopicPublishers(fullyQualifiedTopic, addresses)) | |
bool | isPrivateIP (const char *_ip) |
Determine if an IP is private. Reference: https://github.com/ros/ros_comm/blob/hydro-devel/clients/ roscpp/src/libros/network.cpp. | |
std::unique_lock< std::recursive_mutex > | lk (this->Shared() ->mutex) |
bool | pollSockets (const std::vector< int > &_sockets, const int _timeout) |
return this | Request (_topic, req, _cb) |
return this | Request (_topic, req, _cb, _obj) |
return this | Request (_topic, req, _timeout, _rep, _result) |
template<typename RequestT > | |
bool | Request (const std::string &_topic, const RequestT &_req) |
return this | Request< RequestT, ReplyT > (_topic, _req, f) |
bool | ServiceInfo (const std::string &_service, std::vector< ServicePublisher > &_publishers) const |
void | ServiceList (std::vector< std::string > &_services) const |
reqHandlerPtr | SetCallback (_cb) |
this | Shared () -> requests.AddHandler(fullyQualifiedTopic, this->NodeUuid(), reqHandlerPtr) |
bool | TopicInfo (const std::string &_topic, std::vector< MessagePublisher > &_publishers) const |
void | TopicList (std::vector< std::string > &_topics) const |
bool | UnadvertiseSrv (const std::string &_topic) |
std::string | username () |
Determine your login name. | |
void | waitForShutdown () |
Block the current thread until a SIGINT or SIGTERM is received. Note that this function registers a signal handler. Do not use this function if you want to manage yourself SIGINT/SIGTERM. | |
Variables | |
*brief Advertise a new service without any output parameter *In this version the callback is a free function *param[in] _topic Topic name associated to the service *param[in] _cb Callback to handle the service request with the *following void(* | _cb )(const RequestT &_req) |
*brief Old method for advertising a service This signature is *considered deprecated Please migrate to the callback signature std::function< void(ReplyT &_rep, bool &_result)> const AdvertiseServiceOptions ReplyT const std::string void(ClassT::ClassT | _obj ) |
*brief Advertise a new service without any output parameter *In this version the callback is a free function *param[in] _topic Topic name associated to the service *param[in] _cb Callback to handle the service request with the *following void const AdvertiseServiceOptions & | _options |
reqHandlerPtr SetResponse & | _rep |
reqHandlerPtr SetMessage & | _req |
_result = true | |
*brief Advertise a new service without any output parameter *In this version the callback is a free function *param[in] _topic Topic name associated to the service *param[in] _cb Callback to handle the service request with the *following void const AdvertiseServiceOptions ReplyT const std::string & | _topic |
SrvAddresses_M | addresses |
*brief Advertise a new service without any output parameter *In this version the callback is a free function *param[in] _topic Topic name associated to the service *param[in] _cb Callback to handle the service request with the *following void const AdvertiseServiceOptions ReplyT const std::string std::function< void(const RequestT &_req, ReplyT &_rep, bool &_result)> const AdvertiseServiceOptions ReplyT boo | Advertise )(const std::string &_topic, std::function< bool(const RequestT &_req, ReplyT &_rep)> &_cb, const AdvertiseServiceOptions &_options=AdvertiseServiceOptions()) |
static const uint8_t | AdvType = 1 |
*brief Subscribe to a topic registering a callback The callback must *accept a std::string to represent the message and a MessageInfo *which provides metadata about the message *param[in] _topic Name of the topic to subscribe to *param[in] _callback A function pointer or std::function object that *has a void return value and accepts two | arguments |
static const uint8_t | ByeType = 5 |
*brief Old method for advertising a service This signature is *considered deprecated Please migrate to the callback signature * | code |
*brief Get the list of topics currently advertised in the network *Note that this function can block for some time if the *discovery is in its initialization phase *The value of the heartbeatInterval | constant |
*brief Subscribe to a topic registering a callback The callback must *accept a std::string to represent the message | data |
else | |
static const uint8_t | EndConnection = 7 |
static const uint8_t | HeartbeatType = 4 |
const std::string | kGenericMessageType = "google.protobuf.Message" |
The string type used for generic messages. | |
static const uint64_t | kUnthrottled = std::numeric_limits<uint64_t>::max() |
Constant used when not interested in throttling. | |
bool | localResponserFound |
*brief Get the list of topics currently advertised in the network *Note that this function can block for some time if the *discovery is in its initialization phase *The value of the heartbeatInterval with a default *value of | ms |
static const std::vector< std::string > | MsgTypesStr |
Used for debugging the message type received/send. | |
static const uint8_t | NewConnection = 6 |
*brief Get the list of topics currently advertised in the network *Note that this function can block for some time if the *discovery is in its initialization phase *The value of the heartbeatInterval with a default *value | of |
*brief Advertise a new service without any output parameter *In this version the callback is a free function *param[in] _topic Topic name associated to the service *param[in] _cb Callback to handle the service request with the *following | parameters |
IRepHandlerPtr | repHandler |
std::shared_ptr< ReqHandler< RequestT, ReplyT > > | reqHandlerPtr (new ReqHandler< RequestT, ReplyT >(this->NodeUuid())) |
*brief Old method for advertising a service This signature is *considered deprecated Please migrate to the callback signature std::function< void(ReplyT &_rep, bool &_result)> const AdvertiseServiceOption | RequestT ) |
static const uint8_t | SubType = 2 |
return | true |
static const uint8_t | UnadvType = 3 |
static const uint8_t | Uninitialized = 0 |
Typedef Documentation
◆ Addresses_M
using Addresses_M = std::map<std::string, std::vector<T>> |
◆ DeallocFunc
using DeallocFunc = void(void *_data, void *_hint) |
◆ DiscoveryCallback
using DiscoveryCallback = std::function<void(const T &_publisher)> |
◆ f
using f |
◆ IRepHandlerPtr
using IRepHandlerPtr = std::shared_ptr<IRepHandler> |
◆ IReqHandler_M
using IReqHandler_M |
◆ IReqHandlerPtr
using IReqHandlerPtr = std::shared_ptr<IReqHandler> |
◆ ISubscriptionHandler_M
using ISubscriptionHandler_M |
◆ ISubscriptionHandlerPtr
◆ MsgAddresses_M
using MsgAddresses_M = Addresses_M<MessagePublisher> |
◆ MsgCallback
using MsgCallback |
◆ MsgDiscovery
using MsgDiscovery = Discovery<MessagePublisher> |
◆ MsgDiscoveryCallback
using MsgDiscoveryCallback |
◆ ProtoMsg
using ProtoMsg = google::protobuf::Message |
◆ ProtoMsgPtr
using ProtoMsgPtr = std::shared_ptr<ProtoMsg> |
◆ RawCallback
using RawCallback |
◆ RawSubscriptionHandler_M
using RawSubscriptionHandler_M |
◆ RawSubscriptionHandlerPtr
◆ SrvAddresses_M
using SrvAddresses_M = Addresses_M<ServicePublisher> |
◆ SrvDiscovery
using SrvDiscovery = Discovery<ServicePublisher> |
◆ SrvDiscoveryCallback
using SrvDiscoveryCallback |
◆ Timestamp
using Timestamp = std::chrono::steady_clock::time_point |
Enumeration Type Documentation
◆ Scope_t
|
strong |
Function Documentation
◆ _cb()
*brief Old method for advertising a service This signature is *considered deprecated Please migrate to the callback signature std::function< void(ReplyT &_rep, bool &_result)> const AdvertiseServiceOptions ReplyT const std::string void(ClassT::*) _cb | ( | const RequestT & | _req, |
ReplyT & | _rep, | ||
bool & | _result ) |
◆ Advertise() [1/4]
class ignition::transport::Node Advertise | ( | const std::string & | _topic, |
bool(*)(ReplyT &_rep) | _cb, | ||
const AdvertiseServiceOptions & | _options = AdvertiseServiceOptions() ) |
◆ Advertise() [2/4]
*brief Old method for advertising a service This signature is *considered deprecated Please migrate to the callback signature std::function< void(ReplyT &_rep, bool &_result)> const AdvertiseServiceOptions ReplyT const std::string void(ClassT::ClassT const AdvertiseServiceOptions ReplyT bool Advertise | ( | const std::string & | _topic, |
bool(ClassT::*)(const RequestT &_req, ReplyT &_rep) | _cb, | ||
ClassT * | _obj, | ||
const AdvertiseServiceOptions & | _options = AdvertiseServiceOptions() ) |
References _cb, _obj, _options, and Node::Advertise.
◆ Advertise() [3/4]
*brief Old method for advertising a service This signature is *considered deprecated Please migrate to the callback signature void(ClassT::ClassT const AdvertiseServiceOptions ReplyT bool Advertise | ( | const std::string & | _topic, |
bool(ClassT::*)(ReplyT &_rep) | _cb, | ||
ClassT * | _obj, | ||
const AdvertiseServiceOptions & | _options = AdvertiseServiceOptions() ) |
References _cb, _obj, _options, and Node::Advertise.
◆ Advertise() [4/4]
*brief Advertise a new service without any output parameter *In this version the callback is a member function *param[in] _topic Topic name associated to the service *param[in] _cb Callback to handle the service request with the *following RequestT bool Advertise | ( | const std::string & | _topic, |
void(ClassT::*)(const RequestT &_req) | _cb, | ||
ClassT * | _obj, | ||
const AdvertiseServiceOptions & | _options = AdvertiseServiceOptions() ) |
References _cb, _obj, _options, Node::Advertise, and std::bind().
◆ AdvertisedServices()
std::vector< std::string > AdvertisedServices | ( | ) | const |
◆ determineHost()
std::string determineHost | ( | ) |
Determine IP or hostname. Reference: https://github.com/ros/ros_comm/blob/hydro-devel/clients/ roscpp/src/libros/network.cpp.
- Returns
- The IP or hostname of this host.
◆ determineInterfaces()
std::vector< std::string > determineInterfaces | ( | ) |
Determine the list of network interfaces for this machine. Reference: https://github.com/ros/ros_comm/blob/hydro-devel/clients/ roscpp/src/libros/network.cpp.
- Returns
- The list of network interfaces.
Referenced by Discovery< Pub >::Discovery().
◆ env()
bool env | ( | const std::string & | _name, |
std::string & | _value ) |
Find the environment variable '_name' and return its value.
- Parameters
-
[in] _name Name of the environment variable. [out] _value Value if the variable was found.
- Returns
- True if the variable was found or false otherwise.
Referenced by Discovery< Pub >::Discovery().
◆ hostname()
std::string hostname | ( | ) |
Determine the computer's hostname.
- Returns
- The computer's hostname.
◆ hostnameToIp()
int hostnameToIp | ( | char * | _hostname, |
std::string & | _ip ) |
Determine if an IP is private.
- Parameters
-
[in] _hostname Hostname [out] _ip IP associated to the input hostname.
- Returns
- 0 when success.
◆ if() [1/7]
if | ( | !_rep. | ParseFromStringreqHandlerPtr->Response() | ) |
References std::endl().
◆ if() [2/7]
if | ( | ! | executed | ) |
◆ if() [3/7]
if | ( | !reqHandlerPtr-> | Result() | ) |
◆ if() [4/7]
if | ( | ! | TopicUtils::FullyQualifiedNamethis->Options().Partition(), this->Options().NameSpace(), _topic, fullyQualifiedTopic | ) |
References std::endl().
◆ if() [5/7]
if | ( | localResponserFound | ) |
References _cb, and repHandler.
◆ if() [6/7]
if | ( | this-> | Shared) ->repliers.FirstHandler(fullyQualifiedTopic, _req.GetTypeName(), _rep.GetTypeName(), repHandler | ) |
References repHandler.
◆ if() [7/7]
if | ( | this-> | Shared) ->TopicPublishers(fullyQualifiedTopic, addresses | ) |
◆ isPrivateIP()
bool isPrivateIP | ( | const char * | _ip | ) |
Determine if an IP is private. Reference: https://github.com/ros/ros_comm/blob/hydro-devel/clients/ roscpp/src/libros/network.cpp.
- Parameters
-
[in] _ip Input IP address.
- Returns
- true if the IP address is private.
◆ lk()
std::unique_lock< std::recursive_mutex > lk | ( | this->Shared() -> | mutex | ) |
Referenced by SetCallback(), Node::Subscribe(), and Discovery< Pub >::WaitForInit().
◆ pollSockets()
bool pollSockets | ( | const std::vector< int > & | _sockets, |
const int | _timeout ) |
◆ Request() [1/4]
return this Request | ( | _topic | , |
req | , | ||
_cb | ) |
◆ Request() [2/4]
return this Request | ( | _topic | , |
req | , | ||
_cb | , | ||
_obj | ) |
◆ Request() [3/4]
return this Request | ( | _topic | , |
req | , | ||
_timeout | , | ||
_rep | , | ||
_result | ) |
◆ Request() [4/4]
bool Request | ( | const std::string & | _topic, |
const RequestT & | _req ) |
◆ Request< RequestT, ReplyT >()
return this Request< RequestT, ReplyT > | ( | _topic | , |
_req | , | ||
f | ) |
◆ ServiceInfo()
bool ServiceInfo | ( | const std::string & | _service, |
std::vector< ServicePublisher > & | _publishers ) const |
◆ ServiceList()
void ServiceList | ( | std::vector< std::string > & | _services | ) | const |
◆ SetCallback()
reqHandlerPtr SetCallback | ( | _cb | ) |
◆ Shared()
this Shared | ( | ) | -> requests.AddHandler(fullyQualifiedTopic, this->NodeUuid(), reqHandlerPtr) |
Referenced by if(), SetCallback(), and Node::Subscribe().
◆ TopicInfo()
bool TopicInfo | ( | const std::string & | _topic, |
std::vector< MessagePublisher > & | _publishers ) const |
◆ TopicList()
void TopicList | ( | std::vector< std::string > & | _topics | ) | const |
◆ UnadvertiseSrv()
bool UnadvertiseSrv | ( | const std::string & | _topic | ) |
◆ username()
std::string username | ( | ) |
Determine your login name.
- Returns
- Name used to gain access to the computer.
◆ waitForShutdown()
void waitForShutdown | ( | ) |
Block the current thread until a SIGINT or SIGTERM is received. Note that this function registers a signal handler. Do not use this function if you want to manage yourself SIGINT/SIGTERM.
Variable Documentation
◆ _cb
*brief Old method for advertising a service This signature is *considered deprecated Please migrate to the callback signature void(ClassT::* _cb)(ReplyT &_rep, bool &_result) | ( | const RequestT & | _req | ) |
Referenced by Advertise(), Advertise(), Advertise(), Discovery< Pub >::ConnectionsCb(), Discovery< Pub >::DisconnectionsCb(), if(), SubscriptionHandler< ProtoMsg >::SetCallback(), SubscriptionHandler< T >::SetCallback(), RepHandler< Req, Rep >::SetCallback(), ReqHandler< Req, Rep >::SetCallback(), Node::Subscribe(), Node::Subscribe(), Node::Subscribe(), Node::Subscribe(), and Node::Subscribe().
◆ _obj
*brief Old method for advertising a service This signature is *considered deprecated Please migrate to the callback signature void(ClassT:: ClassT* _obj |
Referenced by Advertise(), Advertise(), Advertise(), Node::Subscribe(), and Node::Subscribe().
◆ _options
*brief Old method for advertising a service This signature is *considered deprecated Please migrate to the callback signature void(ClassT:: ClassT const AdvertiseServiceOptions& _options |
Referenced by Advertise(), Advertise(), Node::Advertise(), and Advertise().
◆ _rep
reqHandlerPtr SetResponse& _rep |
◆ _req
reqHandlerPtr SetMessage & _req |
◆ _result
_result = true |
◆ _topic
* brief Old method for advertising a service This signature is* considered deprecated Please migrate to the callback signature std::function<void(ReplyT &_rep, bool &_result)> const AdvertiseServiceOptions ReplyT const std::string _topic) |
◆ addresses
SrvAddresses_M addresses |
Referenced by Discovery< Pub >::Discover().
◆ Advertise
*brief Old method for advertising a service This signature is *considered deprecated Please migrate to the callback signature std::function< void(ReplyT &_rep, bool &_result)> const AdvertiseServiceOptions ReplyT const std::string void(ClassT::ClassT const AdvertiseServiceOptions ReplyT boo Advertise) (const std::string &_topic, bool(ClassT::*_cb)(const RequestT &_req, ReplyT &_rep), ClassT *_obj, const AdvertiseServiceOptions &_options=AdvertiseServiceOptions()) | ( | const std::string & | _topic, |
std::function< bool(const RequestT &_req, ReplyT &_rep)> & | _cb, | ||
const AdvertiseServiceOptions & | _options = AdvertiseServiceOptions() ) |
◆ AdvType
|
static |
Referenced by Discovery< Pub >::Advertise().
◆ arguments
* brief Subscribe to a topic registering a callback The callback must* accept a std::string to represent the message and a MessageInfo* which provides metadata about the message* param [in] _topic Name of the topic to subscribe to* param [in] _callback A function pointer or std::function object that* has a void return value and accepts two arguments |
◆ ByeType
|
static |
Referenced by Discovery< Pub >::~Discovery().
◆ code
*brief Old method for advertising a service This signature is *considered deprecated Please migrate to the callback signature * code |
◆ constant
*brief Get the list of topics currently advertised in the network *Note that this function can block for some time if the *discovery is in its initialization phase *The value of the heartbeatInterval constant |
◆ data
* brief Subscribe to a topic registering a callback The callback must* accept a std::string to represent the message data |
◆ else
else |
◆ EndConnection
|
static |
◆ HeartbeatType
|
static |
◆ kGenericMessageType
const std::string kGenericMessageType = "google.protobuf.Message" |
The string type used for generic messages.
Referenced by HandlerStorage< T >::FirstHandler(), and SubscriptionHandler< ProtoMsg >::TypeName().
◆ kUnthrottled
|
static |
Constant used when not interested in throttling.
◆ localResponserFound
localResponserFound |
◆ ms
* brief Get the list of topics currently advertised in the network* Note that this function can block for some time if the* discovery is in its initialization phase* The value of the heartbeatInterval with a default* value of ms |
◆ MsgTypesStr
|
static |
Used for debugging the message type received/send.
◆ NewConnection
|
static |
◆ of
* brief Get the list of topics currently advertised in the network* Note that this function can block for some time if the* discovery is in its initialization phase* The value of the heartbeatInterval with a default* value of |
◆ parameters
* brief Advertise a new service without any output parameter* In this version the callback is a member function* param [in] _topic Topic name associated to the service* param [in] _cb Callback to handle the service request with the* following parameters |
◆ repHandler
IRepHandlerPtr repHandler |
◆ reqHandlerPtr
std::shared_ptr< ReqHandler< RequestT, ReplyT > > reqHandlerPtr | ( | new ReqHandler< RequestT, ReplyT > | this->NodeUuid() | ) |
◆ RequestT
*brief Old method for advertising a service This signature is *considered deprecated Please migrate to the callback signature std::function< void(ReplyT &_rep, bool &_result)> const AdvertiseServiceOptions ReplyT const std::string void(ClassT:: ClassT const AdvertiseServiceOption RequestT) |
Referenced by if().
◆ SubType
|
static |
Referenced by Discovery< Pub >::Discover().
◆ true
return true |
◆ UnadvType
|
static |
Referenced by Discovery< Pub >::Unadvertise().
◆ Uninitialized
|
static |