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

Receiver pipeline state. Thread-safe. More...

#include <receiver_state.h>

Inheritance diagram for roc::pipeline::ReceiverState:
roc::core::NonCopyable< T >

Public Member Functions

 ReceiverState ()
 Initialize.
 
bool has_pending_packets () const
 Check whether pending packets counter is non-zero.
 
void add_pending_packets (int increment)
 Add given number to pending packets counter.
 
size_t num_sessions () const
 Get sessions counter.
 
void add_sessions (int increment)
 Add given number to sessions counter.
 

Detailed Description

Receiver pipeline state. Thread-safe.

Definition at line 24 of file receiver_state.h.

Constructor & Destructor Documentation

◆ ReceiverState()

roc::pipeline::ReceiverState::ReceiverState ( )

Initialize.

Member Function Documentation

◆ add_pending_packets()

void roc::pipeline::ReceiverState::add_pending_packets ( int increment)

Add given number to pending packets counter.

◆ add_sessions()

void roc::pipeline::ReceiverState::add_sessions ( int increment)

Add given number to sessions counter.

◆ has_pending_packets()

bool roc::pipeline::ReceiverState::has_pending_packets ( ) const

Check whether pending packets counter is non-zero.

◆ num_sessions()

size_t roc::pipeline::ReceiverState::num_sessions ( ) const

Get sessions counter.


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