qTox  Version: nightly | Commit: bc751c8e1cac455f9690654fcfe0f560d2d7dfdd
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
ToxCall Class Reference

#include <toxcall.h>

Inheritance diagram for ToxCall:
Inheritance graph
Collaboration diagram for ToxCall:
Collaboration graph

Public Member Functions

 ToxCall (const ToxCall &other)=delete
 
 ToxCall (ToxCall &&other)=delete
 
ToxCalloperator= (const ToxCall &other)=delete
 
ToxCalloperator= (ToxCall &&other)=delete
 
bool isActive () const
 
void setActive (bool value)
 
bool getMuteVol () const
 
void setMuteVol (bool value)
 
bool getMuteMic () const
 
void setMuteMic (bool value)
 
bool getVideoEnabled () const
 
void setVideoEnabled (bool value)
 
bool getNullVideoBitrate () const
 
void setNullVideoBitrate (bool value)
 
CoreVideoSourcegetVideoSource () const
 

Protected Member Functions

 ToxCall ()=delete
 
 ToxCall (bool VideoEnabled, CoreAV &av, IAudioControl &audio)
 
 ~ToxCall ()
 

Protected Attributes

bool active {false}
 
CoreAVav {nullptr}
 
IAudioControl & audio
 
bool muteMic {false}
 
bool muteVol {false}
 
CoreVideoSourcevideoSource {nullptr}
 
QMetaObject::Connection videoInConn
 
bool videoEnabled {false}
 
bool nullVideoBitrate {false}
 
std::unique_ptr< IAudioSource > audioSource
 

Detailed Description

Definition at line 41 of file toxcall.h.

Constructor & Destructor Documentation

◆ ToxCall() [1/4]

ToxCall::ToxCall ( )
protecteddelete

◆ ToxCall() [2/4]

ToxCall::ToxCall ( bool  VideoEnabled,
CoreAV av,
IAudioControl &  audio 
)
protected

Definition at line 51 of file toxcall.cpp.

◆ ~ToxCall()

ToxCall::~ToxCall ( )
protected

Definition at line 58 of file toxcall.cpp.

Here is the call graph for this function:

◆ ToxCall() [3/4]

ToxCall::ToxCall ( const ToxCall other)
delete

◆ ToxCall() [4/4]

ToxCall::ToxCall ( ToxCall &&  other)
delete

Member Function Documentation

◆ getMuteMic()

bool ToxCall::getMuteMic ( ) const

Definition at line 86 of file toxcall.cpp.

Here is the caller graph for this function:

◆ getMuteVol()

bool ToxCall::getMuteVol ( ) const

Definition at line 76 of file toxcall.cpp.

Here is the caller graph for this function:

◆ getNullVideoBitrate()

bool ToxCall::getNullVideoBitrate ( ) const

Definition at line 106 of file toxcall.cpp.

Here is the caller graph for this function:

◆ getVideoEnabled()

bool ToxCall::getVideoEnabled ( ) const

Definition at line 96 of file toxcall.cpp.

Here is the caller graph for this function:

◆ getVideoSource()

CoreVideoSource * ToxCall::getVideoSource ( ) const

Definition at line 116 of file toxcall.cpp.

◆ isActive()

bool ToxCall::isActive ( ) const

Definition at line 66 of file toxcall.cpp.

Here is the caller graph for this function:

◆ operator=() [1/2]

ToxCall& ToxCall::operator= ( const ToxCall other)
delete

◆ operator=() [2/2]

ToxCall& ToxCall::operator= ( ToxCall &&  other)
delete

◆ setActive()

void ToxCall::setActive ( bool  value)

Definition at line 71 of file toxcall.cpp.

◆ setMuteMic()

void ToxCall::setMuteMic ( bool  value)

Definition at line 91 of file toxcall.cpp.

Here is the caller graph for this function:

◆ setMuteVol()

void ToxCall::setMuteVol ( bool  value)

Definition at line 81 of file toxcall.cpp.

Here is the caller graph for this function:

◆ setNullVideoBitrate()

void ToxCall::setNullVideoBitrate ( bool  value)

Definition at line 111 of file toxcall.cpp.

Here is the caller graph for this function:

◆ setVideoEnabled()

void ToxCall::setVideoEnabled ( bool  value)

Definition at line 101 of file toxcall.cpp.

Member Data Documentation

◆ active

bool ToxCall::active {false}
protected

Definition at line 75 of file toxcall.h.

◆ audio

IAudioControl& ToxCall::audio
protected

Definition at line 78 of file toxcall.h.

◆ audioSource

std::unique_ptr<IAudioSource> ToxCall::audioSource
protected

Definition at line 86 of file toxcall.h.

◆ av

CoreAV* ToxCall::av {nullptr}
protected

Definition at line 76 of file toxcall.h.

◆ muteMic

bool ToxCall::muteMic {false}
protected

Definition at line 79 of file toxcall.h.

◆ muteVol

bool ToxCall::muteVol {false}
protected

Definition at line 80 of file toxcall.h.

◆ nullVideoBitrate

bool ToxCall::nullVideoBitrate {false}
protected

Definition at line 85 of file toxcall.h.

◆ videoEnabled

bool ToxCall::videoEnabled {false}
protected

Definition at line 84 of file toxcall.h.

◆ videoInConn

QMetaObject::Connection ToxCall::videoInConn
protected

Definition at line 83 of file toxcall.h.

◆ videoSource

CoreVideoSource* ToxCall::videoSource {nullptr}
protected

Definition at line 82 of file toxcall.h.


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