Signals | Public Member Functions | Private Slots | Private Attributes
Client Class Reference

#include <client.h>

List of all members.

Signals

void closed ()

Public Member Functions

 Client (const QUrl &url, bool debug=false, QObject *parent=Q_NULLPTR)
 [constructor]

Private Slots

void onConnected ()
 [constructor]
void onTextMessageReceived (QString message)
 [onConnected]
void sendMsg (const QString &key)

Private Attributes

double i_
bool m_debug
QUrl m_url
QWebSocket m_webSocket
QTimer timer2_
QTimer timer_

Detailed Description

Definition at line 58 of file client.h.


Constructor & Destructor Documentation

QT_USE_NAMESPACE Client::Client ( const QUrl &  url,
bool  debug = false,
QObject *  parent = Q_NULLPTR 
) [explicit]

[constructor]

Definition at line 65 of file client.cpp.


Member Function Documentation

void Client::closed ( ) [signal]
void Client::onConnected ( ) [private, slot]

[constructor]

[onConnected]

Definition at line 79 of file client.cpp.

void Client::onTextMessageReceived ( QString  message) [private, slot]

[onConnected]

[onTextMessageReceived]

Definition at line 122 of file client.cpp.

void Client::sendMsg ( const QString &  key) [private, slot]

Definition at line 101 of file client.cpp.


Member Data Documentation

double Client::i_ [private]

Definition at line 76 of file client.h.

bool Client::m_debug [private]

Definition at line 75 of file client.h.

QUrl Client::m_url [private]

Definition at line 74 of file client.h.

QWebSocket Client::m_webSocket [private]

Definition at line 73 of file client.h.

QTimer Client::timer2_ [private]

Definition at line 78 of file client.h.

QTimer Client::timer_ [private]

Definition at line 77 of file client.h.


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


plotjuggler
Author(s): Davide Faconti
autogenerated on Wed Jul 3 2019 19:28:05