![]() |
Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
|
Protocol attributes map. More...
#include <roc_address/protocol_map.h>

Public Member Functions | |
| const ProtocolAttrs * | find_by_id (Protocol proto) const |
| Get protocol attributes by ID. | |
| const ProtocolAttrs * | find_by_scheme (const char *scheme) const |
| Get protocol attributes by scheme name. | |
| bool | get_supported_interfaces (core::Array< Interface > &) |
| Get list of interfaces with at least one protocol. | |
| bool | get_supported_protocols (Interface, core::StringList &) |
| Get all supported protocols. | |
Static Public Member Functions | |
| static ProtocolMap & | instance () |
| Get instance. | |
Friends | |
| class | core::Singleton< ProtocolMap > |
Protocol attributes map.
Definition at line 58 of file protocol_map.h.
| const ProtocolAttrs * roc::address::ProtocolMap::find_by_id | ( | Protocol | proto | ) | const |
Get protocol attributes by ID.
| const ProtocolAttrs * roc::address::ProtocolMap::find_by_scheme | ( | const char * | scheme | ) | const |
Get protocol attributes by scheme name.
| bool roc::address::ProtocolMap::get_supported_interfaces | ( | core::Array< Interface > & | ) |
Get list of interfaces with at least one protocol.
| bool roc::address::ProtocolMap::get_supported_protocols | ( | Interface | , |
| core::StringList & | |||
| ) |
Get all supported protocols.
|
inlinestatic |
Get instance.
Definition at line 61 of file protocol_map.h.
|
friend |
Definition at line 75 of file protocol_map.h.