玉兔远程控制 0.1.0-bate11
载入中...
搜索中...
未找到
CParameterPlayer类 参考
类 CParameterPlayer 继承关系图:
CParameterPlayer 的协作图:

Public 类型

enum class  TYPE { Camera , Url }

信号

void sigAudioInput (int nIndex)
void sigEnableAudioInput (bool bEnable)
void sigAudioInputMuted (bool bMuted)
void sigAudioInputVolume (float fVolume)
void sigAudioOutput (int nIndex)
void sigEnableAudioOutput (bool bEnable)
void sigAudioOutputMuted (bool bMuted)
void sigAudioOutputVolume (float fVolume)
信号 继承自 CParameterDesktop
void sigShowServerNameChanged ()
void sigEnableInputMethod (bool bEnable)
void sigAdaptWindowsChanged (CFrmViewer::ADAPT_WINDOWS aw)
void sigZoomFactorChanged (double newZoomFactor)
信号 继承自 CParameterOperate
void sigSetPluginParameters ()
 仅由此类使用
void sigNameChanged (const QString &name=QString())
信号 继承自 CParameter
void sigChanged ()
 当参数改变时,触发 通常如果需要,则相应的参数会对应一个改变事件。

Public 成员函数

 CParameterPlayer (QObject *parent=nullptr)
const TYPE GetType () const
int SetType (TYPE type)
const QString GetUrl () const
int SetUrl (const QString &szUrl)
const int GetCamera () const
int SetCamera (int nIndex)
const int GetAudioInput () const
int SetAudioInput (int nIndex)
const bool GetEnableAudioInput () const
int SetEnableAudioInput (bool bEnable)
const bool GetAudioInputMuted () const
int SetAudioInputMuted (bool bMuted)
const float GetAudioInputVolume () const
int SetAudioInputVolume (float fVolume)
const int GetAudioOutput () const
int SetAudioOutput (int nIndex)
const bool GetEnableAudioOutput () const
int SetEnableAudioOutput (bool bEnable)
const bool GetAudioOutputMuted () const
int SetAudioOutputMuted (bool bMuted)
const float GetAudioOutputVolume () const
int SetAudioOutputVolume (float fVolume)
bool GetSubtitle () const
void SetSubtitle (bool subtitle)
const int GetScreen () const
int SetScreen (int nIndex)
Public 成员函数 继承自 CParameterDesktop
 CParameterDesktop (QObject *parent=nullptr)
 CParameterDesktop (CParameterOperate *parent, const QString &szPrefix=QString())
const QString GetServerName () const
void SetServerName (const QString &szName)
bool GetShowServerName () const
void SetShowServerName (bool NewShowServerName)
bool GetOnlyView () const
void SetOnlyView (bool only)
const bool GetLocalCursor () const
void SetLocalCursor (bool cursor)
const bool GetCursorPosition () const
void SetCursorPosition (bool pos)
virtual const bool GetClipboard () const
virtual void SetClipboard (bool c)
bool GetSupportsDesktopResize () const
void SetSupportsDesktopResize (bool newSupportsDesktopResize)
bool GetLedState () const
void SetLedState (bool state)
bool GetEnableLocalInputMethod () const
void SetEnableLocalInputMethod (bool enable)
CFrmViewer::ADAPT_WINDOWS GetAdaptWindows ()
void SetAdaptWindows (CFrmViewer::ADAPT_WINDOWS aw)
double GetZoomFactor () const
void SetZoomFactor (double newZoomFactor)
Public 成员函数 继承自 CParameterOperate
 CParameterOperate (QObject *parent, const QString &szPrefix=QString())
CParameterPluginGetPluginParameters ()
 Get CParameterPlugin
int SetPluginParameters (CParameterPlugin *p)
const QString GetName () const
void SetName (const QString &szName)
int LoadPassword (const QString &szTitle, const QString &szKey, QString &password, QSettings &set)
 Restore password
int SavePassword (const QString &szKey, const QString &password, QSettings &set, bool bSave=false)
Public 成员函数 继承自 CParameter
 CParameter (QObject *parent, const QString &szPrefix=QString())
virtual int Load (QString szFile=QString())
 Load from file
virtual int Save (QString szFile=QString(), bool bForce=true)
 Save to file
virtual int Load (QSettings &set)
 Load from QSettings
virtual int Save (QSettings &set, bool bForce=true)
 Save to QSettings
virtual bool CheckValidity ()
 检查参数是否有效,以决定是否使用或者保存参数。 派生类一般只要重载 OnCheckValidity() ,用于检查参数。

Protected 成员函数

virtual int OnLoad (QSettings &set) override
virtual int OnSave (QSettings &set) override
Protected 成员函数 继承自 CParameterDesktop
virtual void slotSetPluginParameters () override
 设置 CParameterPlugin 后调用,用于初始化与 CParameterPlugin 有关的操作。
Protected 成员函数 继承自 CParameterOperate
QByteArray PasswordSum (const std::string &password, const std::string &key)
Protected 成员函数 继承自 CParameter
virtual bool OnCheckValidity ()
 检查参数是否有效
int SetModified (bool bModified=true)
 在设置参数时,如果有修改,则调用。
bool GetModified ()
 参数是否有修改

Private 属性

TYPE m_Type
QString m_szUrl
int m_nCamera
int m_nAudioInput
bool m_bEnableAudioInput
bool m_bAudioInputMuted
float m_fAudioInputVolume
int m_nAudioOutput
bool m_bEnableAudioOutput
bool m_bAudioOutputMuted
float m_fAudioOutputVolume
bool m_bSubtitle
int m_nScreen

额外继承的成员函数

Public 属性 继承自 CParameterDesktop
CParameterNet m_Net
CParameterProxy m_Proxy
CParameterRecord m_Record
属性 继承自 CParameterDesktop
QString Name
QString ServerName
bool ShowServerName
bool OnlyView
bool LocalCursor
CFrmViewer::ADAPT_WINDOWS AdaptWindows
double ZoomFactor
属性 继承自 CParameter
bool Modified

详细描述

在文件 ParameterPlayer.h8 行定义.

成员枚举类型说明

◆ TYPE

enum class CParameterPlayer::TYPE
strong

在文件 ParameterPlayer.h14 行定义.

构造及析构函数说明

◆ CParameterPlayer()

CParameterPlayer::CParameterPlayer ( QObject * parent = nullptr)
explicit

在文件 ParameterPlayer.cpp5 行定义.

成员函数说明

◆ GetAudioInput()

const int CParameterPlayer::GetAudioInput ( ) const

在文件 ParameterPlayer.cpp63 行定义.

◆ GetAudioInputMuted()

const bool CParameterPlayer::GetAudioInputMuted ( ) const

在文件 ParameterPlayer.cpp93 行定义.

◆ GetAudioInputVolume()

const float CParameterPlayer::GetAudioInputVolume ( ) const

在文件 ParameterPlayer.cpp108 行定义.

◆ GetAudioOutput()

const int CParameterPlayer::GetAudioOutput ( ) const

在文件 ParameterPlayer.cpp123 行定义.

◆ GetAudioOutputMuted()

const bool CParameterPlayer::GetAudioOutputMuted ( ) const

在文件 ParameterPlayer.cpp153 行定义.

◆ GetAudioOutputVolume()

const float CParameterPlayer::GetAudioOutputVolume ( ) const

在文件 ParameterPlayer.cpp168 行定义.

◆ GetCamera()

const int CParameterPlayer::GetCamera ( ) const

在文件 ParameterPlayer.cpp49 行定义.

◆ GetEnableAudioInput()

const bool CParameterPlayer::GetEnableAudioInput ( ) const

在文件 ParameterPlayer.cpp78 行定义.

◆ GetEnableAudioOutput()

const bool CParameterPlayer::GetEnableAudioOutput ( ) const

在文件 ParameterPlayer.cpp138 行定义.

◆ GetScreen()

const int CParameterPlayer::GetScreen ( ) const

在文件 ParameterPlayer.cpp244 行定义.

◆ GetSubtitle()

bool CParameterPlayer::GetSubtitle ( ) const

在文件 ParameterPlayer.cpp258 行定义.

◆ GetType()

const CParameterPlayer::TYPE CParameterPlayer::GetType ( ) const

在文件 ParameterPlayer.cpp21 行定义.

◆ GetUrl()

const QString CParameterPlayer::GetUrl ( ) const

在文件 ParameterPlayer.cpp35 行定义.

◆ OnLoad()

int CParameterPlayer::OnLoad ( QSettings & set)
overrideprotectedvirtual

重载 CParameterDesktop .

在文件 ParameterPlayer.cpp183 行定义.

◆ OnSave()

int CParameterPlayer::OnSave ( QSettings & set)
overrideprotectedvirtual

重载 CParameterDesktop .

在文件 ParameterPlayer.cpp214 行定义.

◆ SetAudioInput()

int CParameterPlayer::SetAudioInput ( int nIndex)

在文件 ParameterPlayer.cpp68 行定义.

◆ SetAudioInputMuted()

int CParameterPlayer::SetAudioInputMuted ( bool bMuted)

在文件 ParameterPlayer.cpp98 行定义.

◆ SetAudioInputVolume()

int CParameterPlayer::SetAudioInputVolume ( float fVolume)

在文件 ParameterPlayer.cpp113 行定义.

◆ SetAudioOutput()

int CParameterPlayer::SetAudioOutput ( int nIndex)

在文件 ParameterPlayer.cpp128 行定义.

◆ SetAudioOutputMuted()

int CParameterPlayer::SetAudioOutputMuted ( bool bMuted)

在文件 ParameterPlayer.cpp158 行定义.

◆ SetAudioOutputVolume()

int CParameterPlayer::SetAudioOutputVolume ( float fVolume)

在文件 ParameterPlayer.cpp173 行定义.

◆ SetCamera()

int CParameterPlayer::SetCamera ( int nIndex)

在文件 ParameterPlayer.cpp54 行定义.

◆ SetEnableAudioInput()

int CParameterPlayer::SetEnableAudioInput ( bool bEnable)

在文件 ParameterPlayer.cpp83 行定义.

◆ SetEnableAudioOutput()

int CParameterPlayer::SetEnableAudioOutput ( bool bEnable)

在文件 ParameterPlayer.cpp143 行定义.

◆ SetScreen()

int CParameterPlayer::SetScreen ( int nIndex)

在文件 ParameterPlayer.cpp249 行定义.

◆ SetSubtitle()

void CParameterPlayer::SetSubtitle ( bool subtitle)

在文件 ParameterPlayer.cpp263 行定义.

◆ SetType()

int CParameterPlayer::SetType ( TYPE type)

在文件 ParameterPlayer.cpp26 行定义.

◆ SetUrl()

int CParameterPlayer::SetUrl ( const QString & szUrl)

在文件 ParameterPlayer.cpp40 行定义.

类成员变量说明

◆ m_bAudioInputMuted

bool CParameterPlayer::m_bAudioInputMuted
private

在文件 ParameterPlayer.h81 行定义.

◆ m_bAudioOutputMuted

bool CParameterPlayer::m_bAudioOutputMuted
private

在文件 ParameterPlayer.h85 行定义.

◆ m_bEnableAudioInput

bool CParameterPlayer::m_bEnableAudioInput
private

在文件 ParameterPlayer.h80 行定义.

◆ m_bEnableAudioOutput

bool CParameterPlayer::m_bEnableAudioOutput
private

在文件 ParameterPlayer.h84 行定义.

◆ m_bSubtitle

bool CParameterPlayer::m_bSubtitle
private

在文件 ParameterPlayer.h92 行定义.

◆ m_fAudioInputVolume

float CParameterPlayer::m_fAudioInputVolume
private

在文件 ParameterPlayer.h82 行定义.

◆ m_fAudioOutputVolume

float CParameterPlayer::m_fAudioOutputVolume
private

在文件 ParameterPlayer.h86 行定义.

◆ m_nAudioInput

int CParameterPlayer::m_nAudioInput
private

在文件 ParameterPlayer.h79 行定义.

◆ m_nAudioOutput

int CParameterPlayer::m_nAudioOutput
private

在文件 ParameterPlayer.h83 行定义.

◆ m_nCamera

int CParameterPlayer::m_nCamera
private

在文件 ParameterPlayer.h78 行定义.

◆ m_nScreen

int CParameterPlayer::m_nScreen
private

在文件 ParameterPlayer.h98 行定义.

◆ m_szUrl

QString CParameterPlayer::m_szUrl
private

在文件 ParameterPlayer.h77 行定义.

◆ m_Type

TYPE CParameterPlayer::m_Type
private

在文件 ParameterPlayer.h76 行定义.


该类的文档由以下文件生成: