Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
|
Protocol attributes map. More...
#include <protocol_map.h>
Public Member Functions | |
const ProtocolAttrs * | find_by_id (Protocol proto) const |
Get protocol attributes by ID. More... | |
const ProtocolAttrs * | find_by_scheme (const char *scheme) const |
Get protocol attributes by scheme name. More... | |
ROC_ATTR_NODISCARD bool | get_supported_interfaces (core::Array< Interface > &) |
Get list of interfaces with at least one protocol. More... | |
ROC_ATTR_NODISCARD bool | get_supported_protocols (Interface, core::StringList &) |
Get all supported protocols. More... | |
Static Public Member Functions | |
static ProtocolMap & | instance () |
Get instance. More... | |
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.
ROC_ATTR_NODISCARD bool roc::address::ProtocolMap::get_supported_interfaces | ( | core::Array< Interface > & | ) |
Get list of interfaces with at least one protocol.
ROC_ATTR_NODISCARD 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.