MillicastSDK 2.0.0
Loading...
Searching...
No Matches
Classes | Public Member Functions | List of all members
millicast::StatsReport Class Referenceabstract

#include <stats.h>

Classes

class  const_iterator
 

Public Member Functions

 StatsReport ()
 
virtual ~StatsReport ()=default
 
virtual void add_stats (StatObject stats)=0
 
virtual const rtcstats::Statsget (const std::string &id) const =0
 
template<typename T >
const T * get_as (const std::string &id) const
 
virtual const_iterator begin () const =0
 
virtual const_iterator end () const =0
 
template<typename T >
std::vector< const T * > get_stats_of_type () const
 
virtual StreamDetails stream_details () const =0
 Get the current stream details associated with this session.
 
virtual StatObject take (const std::string &id)=0
 
virtual size_t size () const =0
 

Constructor & Destructor Documentation

◆ StatsReport()

millicast::StatsReport::StatsReport ( )

◆ ~StatsReport()

virtual millicast::StatsReport::~StatsReport ( )
virtualdefault

Member Function Documentation

◆ add_stats()

virtual void millicast::StatsReport::add_stats ( StatObject  stats)
pure virtual

◆ begin()

virtual const_iterator millicast::StatsReport::begin ( ) const
pure virtual

◆ end()

virtual const_iterator millicast::StatsReport::end ( ) const
pure virtual

◆ get()

virtual const rtcstats::Stats * millicast::StatsReport::get ( const std::string &  id) const
pure virtual

◆ get_as()

template<typename T >
const T * millicast::StatsReport::get_as ( const std::string &  id) const
inline

◆ get_stats_of_type()

template<typename T >
std::vector< const T * > millicast::StatsReport::get_stats_of_type ( ) const
inline

◆ size()

virtual size_t millicast::StatsReport::size ( ) const
pure virtual

◆ stream_details()

virtual StreamDetails millicast::StatsReport::stream_details ( ) const
pure virtual

Get the current stream details associated with this session.

◆ take()

virtual StatObject millicast::StatsReport::take ( const std::string &  id)
pure virtual

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