webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | List of all members
webrtc::MockStatsObserver Class Reference

#include <mockpeerconnectionobservers.h>

Inheritance diagram for webrtc::MockStatsObserver:
webrtc::CallStatsObserver webrtc::StatsObserver webrtc::StatsObserver rtc::RefCountInterface rtc::RefCountInterface rtc::RefCountInterface rtc::RefCountInterface

Public Member Functions

 MockStatsObserver ()
 
virtual ~MockStatsObserver ()
 
virtual void OnComplete (const StatsReports &reports)
 
bool called () const
 
size_t number_of_reports () const
 
double timestamp () const
 
int AudioOutputLevel () const
 
int AudioInputLevel () const
 
int BytesReceived () const
 
int BytesSent () const
 
int AvailableReceiveBandwidth () const
 
std::string DtlsCipher () const
 
std::string SrtpCipher () const
 
 MockStatsObserver ()
 
virtual ~MockStatsObserver ()
 
virtual void OnComplete (const StatsReports &reports)
 
bool called () const
 
size_t number_of_reports () const
 
double timestamp () const
 
int AudioOutputLevel () const
 
int AudioInputLevel () const
 
int BytesReceived () const
 
int BytesSent () const
 
int AvailableReceiveBandwidth () const
 
std::string DtlsCipher () const
 
std::string SrtpCipher () const
 
 MockStatsObserver ()
 
virtual ~MockStatsObserver ()
 
 MOCK_METHOD2 (OnRttUpdate, void(int64_t, int64_t))
 
- Public Member Functions inherited from webrtc::CallStatsObserver
virtual void OnRttUpdate (int64_t avg_rtt_ms, int64_t max_rtt_ms)=0
 
virtual ~CallStatsObserver ()
 
virtual void OnRttUpdate (int64_t avg_rtt_ms, int64_t max_rtt_ms)=0
 
virtual ~CallStatsObserver ()
 
- Public Member Functions inherited from rtc::RefCountInterface
virtual int AddRef () const =0
 
virtual int Release () const =0
 
virtual int AddRef () const =0
 
virtual int Release () const =0
 

Additional Inherited Members

- Protected Member Functions inherited from webrtc::StatsObserver
virtual ~StatsObserver ()
 
virtual ~StatsObserver ()
 
- Protected Member Functions inherited from rtc::RefCountInterface
virtual ~RefCountInterface ()
 
virtual ~RefCountInterface ()
 

Constructor & Destructor Documentation

◆ MockStatsObserver() [1/3]

webrtc::MockStatsObserver::MockStatsObserver ( )
inline

◆ ~MockStatsObserver() [1/3]

virtual webrtc::MockStatsObserver::~MockStatsObserver ( )
inlinevirtual

◆ MockStatsObserver() [2/3]

webrtc::MockStatsObserver::MockStatsObserver ( )
inline

◆ ~MockStatsObserver() [2/3]

virtual webrtc::MockStatsObserver::~MockStatsObserver ( )
inlinevirtual

◆ MockStatsObserver() [3/3]

webrtc::MockStatsObserver::MockStatsObserver ( )
inline

◆ ~MockStatsObserver() [3/3]

virtual webrtc::MockStatsObserver::~MockStatsObserver ( )
inlinevirtual

Member Function Documentation

◆ AudioInputLevel() [1/2]

int webrtc::MockStatsObserver::AudioInputLevel ( ) const
inline

◆ AudioInputLevel() [2/2]

int webrtc::MockStatsObserver::AudioInputLevel ( ) const
inline

◆ AudioOutputLevel() [1/2]

int webrtc::MockStatsObserver::AudioOutputLevel ( ) const
inline

◆ AudioOutputLevel() [2/2]

int webrtc::MockStatsObserver::AudioOutputLevel ( ) const
inline

◆ AvailableReceiveBandwidth() [1/2]

int webrtc::MockStatsObserver::AvailableReceiveBandwidth ( ) const
inline

◆ AvailableReceiveBandwidth() [2/2]

int webrtc::MockStatsObserver::AvailableReceiveBandwidth ( ) const
inline

◆ BytesReceived() [1/2]

int webrtc::MockStatsObserver::BytesReceived ( ) const
inline

◆ BytesReceived() [2/2]

int webrtc::MockStatsObserver::BytesReceived ( ) const
inline

◆ BytesSent() [1/2]

int webrtc::MockStatsObserver::BytesSent ( ) const
inline

◆ BytesSent() [2/2]

int webrtc::MockStatsObserver::BytesSent ( ) const
inline

◆ called() [1/2]

bool webrtc::MockStatsObserver::called ( ) const
inline

◆ called() [2/2]

bool webrtc::MockStatsObserver::called ( ) const
inline

◆ DtlsCipher() [1/2]

std::string webrtc::MockStatsObserver::DtlsCipher ( ) const
inline

◆ DtlsCipher() [2/2]

std::string webrtc::MockStatsObserver::DtlsCipher ( ) const
inline

◆ MOCK_METHOD2()

webrtc::MockStatsObserver::MOCK_METHOD2 ( OnRttUpdate  ,
void(int64_t, int64_t  
)

◆ number_of_reports() [1/2]

size_t webrtc::MockStatsObserver::number_of_reports ( ) const
inline

◆ number_of_reports() [2/2]

size_t webrtc::MockStatsObserver::number_of_reports ( ) const
inline

◆ OnComplete() [1/2]

virtual void webrtc::MockStatsObserver::OnComplete ( const StatsReports reports)
inlinevirtual

Implements webrtc::StatsObserver.

◆ OnComplete() [2/2]

virtual void webrtc::MockStatsObserver::OnComplete ( const StatsReports reports)
inlinevirtual

Implements webrtc::StatsObserver.

◆ SrtpCipher() [1/2]

std::string webrtc::MockStatsObserver::SrtpCipher ( ) const
inline

◆ SrtpCipher() [2/2]

std::string webrtc::MockStatsObserver::SrtpCipher ( ) const
inline

◆ timestamp() [1/2]

double webrtc::MockStatsObserver::timestamp ( ) const
inline

◆ timestamp() [2/2]

double webrtc::MockStatsObserver::timestamp ( ) const
inline

Member Data Documentation

◆ audio_input_level

int webrtc::MockStatsObserver::audio_input_level

◆ audio_output_level

int webrtc::MockStatsObserver::audio_output_level

◆ available_receive_bandwidth

int webrtc::MockStatsObserver::available_receive_bandwidth

◆ bytes_received

int webrtc::MockStatsObserver::bytes_received

◆ bytes_sent

int webrtc::MockStatsObserver::bytes_sent

◆ dtls_cipher

std::string webrtc::MockStatsObserver::dtls_cipher

◆ number_of_reports

size_t webrtc::MockStatsObserver::number_of_reports

◆ srtp_cipher

std::string webrtc::MockStatsObserver::srtp_cipher

◆ timestamp

double webrtc::MockStatsObserver::timestamp

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