12 #ifndef ROC_PIPELINE_STATE_TRACKER_H_
13 #define ROC_PIPELINE_STATE_TRACKER_H_
Base class for non-copyable objects.
StateTracker()
Initialize all counters to zero.
void add_pending_packets(int increment)
Add/subtract to pending packets counter.
sndio::DeviceState get_state() const
Compute current state.
void add_active_sessions(int increment)
Add/subtract to active sessions counter.
size_t num_active_sessions() const
Get active sessions counter.
size_t num_pending_packets() const
Get pending packets counter.
Commonly used types and functions.