Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
Loading...
Searching...
No Matches
roc::address::ProtocolMap Class Reference

Protocol attributes map. More...

#include <protocol_map.h>

Inheritance diagram for roc::address::ProtocolMap:
roc::core::NonCopyable< T >

Public Member Functions

const ProtocolAttrsfind_proto_by_id (Protocol proto) const
 Get protocol attributes by ID.
 
const ProtocolAttrsfind_proto_by_scheme (const char *scheme) const
 Get protocol attributes by scheme name.
 

Static Public Member Functions

static ProtocolMapinstance ()
 Get instance.
 

Friends

class core::Singleton< ProtocolMap >
 

Detailed Description

Protocol attributes map.

Definition at line 56 of file protocol_map.h.

Member Function Documentation

◆ find_proto_by_id()

const ProtocolAttrs * roc::address::ProtocolMap::find_proto_by_id ( Protocol  proto) const

Get protocol attributes by ID.

◆ find_proto_by_scheme()

const ProtocolAttrs * roc::address::ProtocolMap::find_proto_by_scheme ( const char *  scheme) const

Get protocol attributes by scheme name.

◆ instance()

static ProtocolMap & roc::address::ProtocolMap::instance ( )
inlinestatic

Get instance.

Definition at line 59 of file protocol_map.h.

Friends And Related Symbol Documentation

◆ core::Singleton< ProtocolMap >

friend class core::Singleton< ProtocolMap >
friend

Definition at line 67 of file protocol_map.h.


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