Signals | Public Member Functions | Private Slots | Private Attributes | List of all members
Client Class Reference

#include <client.h>

Inheritance diagram for Client:
Inheritance graph
[legend]

Signals

void closed ()
 

Public Member Functions

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

Private Slots

void onConnected ()
 [constructor] More...
 
void onTextMessageReceived (QString message)
 [onConnected] More...
 
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 ( )
privateslot

[constructor]

[onConnected]

Definition at line 79 of file client.cpp.

void Client::onTextMessageReceived ( QString  message)
privateslot

[onConnected]

[onTextMessageReceived]

Definition at line 122 of file client.cpp.

void Client::sendMsg ( const QString &  key)
privateslot

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 Sat Jul 6 2019 03:44:18