|
Pool Video Switch v2
Software video switch for distributed remote display in a lecture environment
|
#include "client.h"
Inheritance diagram for Client:
Collaboration diagram for Client:Signals | |
| void | authenticating (Client *client, ClientLogin *request) |
| void | authenticated (Client *client) |
| void | thumbUpdated (Client *client, const QImage &thumb) |
| void | vncServerStateChange (Client *client) |
| void | vncClientStateChange (Client *client) |
| void | stateChanged () |
| void | disconnected () |
Public Member Functions | |
| Client (QTcpSocket *socket) | |
| ~Client () override | |
| bool | isAuthed () const |
| const QString & | name () const |
| const QString & | host () const |
| QString | ip () const |
| int | id () const |
| bool | isActiveVncClient () const |
| bool | isActiveVncServer () const |
| bool | isLocked () const |
| int | desiredProjectionSource () const |
| int | projectionSource () const |
| int | isExamMode () const |
| bool | wantsAttention () const |
| void | removeAttention () |
| void | setTutor (bool enable) |
| void | setDesiredProjectionSource (int id) |
| void | setExamMode (bool mode) |
| void | startVncServer () |
| void | stopVncServer () |
| void | startVncClient (const Client *to) |
| void | stopVncClient () |
| void | lockScreen (bool) |
| void | requestThumb (const QSize &size) |
Protected Member Functions | |
| void | timerEvent (QTimerEvent *event) override |
Private Slots | |
| void | onDataArrival () |
| void | disconnect (const char *errmsg) |
Private Member Functions | |
| bool | isManagerMachine () const |
| Checks if client and manager runs on same machine. More... | |
| void | handleMsg () |
| void | sendMessage (NetworkMessage &message) |
| void | removeAttentionInternal () |
Private Attributes | |
| QTcpSocket *const | _socket |
| bool | _locked {} |
| int | _authed {} |
| QString | _name |
| QString | _host |
| QByteArray | _challenge |
| qint64 | _pingTimeout |
| NetworkMessage | _fromClient |
| int | _timerIdAuthTimeout |
| int | _timerPingTimeout |
| int | _id |
| QString | _vncRwPass |
| QString | _vncRoPass |
| int | _vncPort {} |
| int | _desiredSource |
| int | _projectionSource {} |
| bool | _isActiveVncClient {} |
| bool | _isTutor {} |
| bool | _isExamMode {} |
| bool | _wantsAttention {} |
| QByteArray | _rawRemoteScreen |
Static Private Attributes | |
| static int | _clientIdCounter = 0 |
|
explicit |
|
override |
Definition at line 65 of file client.cpp.
|
signal |
Here is the caller graph for this function:
|
signal |
Here is the caller graph for this function:
|
inline |
|
privateslot |
Definition at line 335 of file client.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
signal |
Here is the caller graph for this function:
|
private |
Definition at line 147 of file client.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
|
inline |
| QString Client::ip | ( | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
Checks if client and manager runs on same machine.
Definition at line 311 of file client.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void Client::lockScreen | ( | bool | lock | ) |
Definition at line 320 of file client.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
|
privateslot |
Definition at line 124 of file client.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
|
inline |
|
private |
Definition at line 101 of file client.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void Client::requestThumb | ( | const QSize & | size | ) |
Definition at line 111 of file client.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 91 of file client.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
|
inline |
|
inline |
| void Client::startVncClient | ( | const Client * | to | ) |
Definition at line 280 of file client.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void Client::startVncServer | ( | ) |
Definition at line 264 of file client.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
signal |
Here is the caller graph for this function:| void Client::stopVncClient | ( | ) |
Definition at line 297 of file client.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void Client::stopVncServer | ( | ) |
Definition at line 272 of file client.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
signal |
Here is the caller graph for this function:
|
overrideprotected |
|
signal |
Here is the caller graph for this function:
|
signal |
Here is the caller graph for this function:
|
inline |
|
private |
1.8.8