|
Rabbit Remote Control 0.1.0-bate14
|


Public Member Functions | |
| CStatsSever (CParameterOperate *parent=nullptr, const QString &szPrefix=QString()) | |
| QString | ToString () const |
| quint64 | GetTotalConnects () const |
| quint64 | GetConnects () const |
| quint64 | GetDisconnects () const |
| void | AddConnects (quint64 c=1) |
| void | Disconnects (quint64 c=1) |
| Public Member Functions inherited from CStats | |
| CStats (CParameterOperate *parent=nullptr, const QString &szPrefix=QString()) | |
| QString | TotalSends () |
| QString | TotalReceives () |
| quint64 | GetTotalSends () |
| quint64 | GetTotalReceives () |
| QString | SendRate () |
| QString | ReceiveRate () |
| virtual double | GetSendRate () |
| Send rate. | |
| virtual double | GetReceiveRate () |
| int | GetInterval () |
| Get interval. | |
| int | SetInterval (int interval=1) |
| Set interval. | |
| Public Member Functions inherited from CParameterOperate | |
| CParameterOperate (QObject *parent, const QString &szPrefix=QString()) | |
| CParameterPlugin * | GetPluginParameters () |
| 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 Member Functions inherited from 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 () |
| Check whether the parameter is valid to decide whether to use or save the parameter. | |
Private Attributes | |
| QAtomicInteger< quint64 > | m_TotalConnects |
| QAtomicInteger< quint64 > | m_Disconnects |
Additional Inherited Members | |
| Public Slots inherited from CStats | |
| virtual void | slotCalculating () |
| Calculating. | |
| virtual void | AddSends (quint64 size) |
| virtual void | AddReceives (quint64 size) |
| Signals inherited from CStats | |
| void | sigDataChanged () |
| Triggered when data changes, used to notify users to call slotCalculating(true) in real time for calculation. | |
| Signals inherited from CParameterOperate | |
| void | sigSetPluginParameters () |
| Only used by this class. | |
| void | sigNameChanged (const QString &name=QString()) |
| Signals inherited from CParameter | |
| void | sigChanged () |
| emit when the parameter changes Usually if required, the corresponding parameter corresponds to a change event. | |
| Static Public Member Functions inherited from CStats | |
| static QString | Convertbytes (quint64 bytes) |
| Protected Slots inherited from CParameterOperate | |
| virtual void | slotSetPluginParameters () |
| Call after set CParameterPlugin. | |
| Protected Member Functions inherited from CStats | |
| virtual int | OnLoad (QSettings &set) override |
| virtual int | OnSave (QSettings &set) override |
| Protected Member Functions inherited from CParameterOperate | |
| QByteArray | PasswordSum (const std::string &password, const std::string &key) |
| Protected Member Functions inherited from CParameter | |
| virtual bool | OnCheckValidity () |
| Check validity. | |
| int | SetModified (bool bModified=true) |
| When setting parameters, if there is a modification, it is called. | |
| bool | GetModified () |
| Whether the parameters have been modified. | |
| Properties inherited from CParameter | |
| bool | Modified |
|
explicit |