|
|
| ServiceDiscovery (const ServiceDiscovery &)=delete |
|
ServiceDiscovery & | operator= (const ServiceDiscovery &)=delete |
|
| ServiceDiscovery (ServiceDiscovery &&)=delete |
|
ServiceDiscovery & | operator= (ServiceDiscovery &&)=delete |
| void | findService (const cxx::optional< capro::IdString_t > &service, const cxx::optional< capro::IdString_t > &instance, const cxx::optional< capro::IdString_t > &event, const cxx::function_ref< void(const capro::ServiceDescription &)> &callableForEach, const popo::MessagingPattern pattern) noexcept |
| | Searches all services with the given messaging pattern that match the provided service description and applies a function to each of them.
|
◆ findService()
| void iox::runtime::ServiceDiscovery::findService |
( |
const cxx::optional< capro::IdString_t > & | service, |
|
|
const cxx::optional< capro::IdString_t > & | instance, |
|
|
const cxx::optional< capro::IdString_t > & | event, |
|
|
const cxx::function_ref< void(const capro::ServiceDescription &)> & | callableForEach, |
|
|
const popo::MessagingPattern | pattern ) |
|
noexcept |
Searches all services with the given messaging pattern that match the provided service description and applies a function to each of them.
- Parameters
-
| [in] | service | service string to search for, a nullopt corresponds to a wildcard |
| [in] | instance | instance string to search for, a nullopt corresponds to a wildcard |
| [in] | event | event string to search for, a nullopt corresponds to a wildcard |
| [in] | callableForEach | callable to apply to all matching services |
| [in] | pattern | messaging pattern of the service to search |
The documentation for this class was generated from the following file: