#include <client.h>
Client::Client |
( |
const QString & |
host, |
|
|
std::uint16_t |
port, |
|
|
QObject * |
parent = nullptr |
|
) |
| |
void Client::connected |
( |
| ) |
|
|
signal |
void Client::do_request |
( |
const message::GetVariables & |
gv | ) |
|
|
private |
void Client::do_request |
( |
const message::GetValues & |
gv | ) |
|
|
private |
bool Client::is_connected |
( |
| ) |
const |
|
private |
void Client::onReadyRead |
( |
| ) |
|
|
privateslot |
void Client::request_var_values |
( |
const QString & |
var_name | ) |
|
void Client::request_var_values |
( |
const QString & |
var_name, |
|
|
const std::chrono::system_clock::time_point & |
start, |
|
|
const std::chrono::system_clock::time_point & |
end |
|
) |
| |
void Client::request_vars |
( |
| ) |
|
void Client::responseReceived |
( |
message::MessageType * |
prev_msg, |
|
|
message::ResponseStatus |
status, |
|
|
QString |
response |
|
) |
| |
|
signal |
void Client::send_var |
( |
const Variable & |
var | ) |
|
void Client::send_var_val |
( |
const QString & |
var_name, |
|
|
double |
value |
|
) |
| |
void Client::valuesReceived |
( |
const std::vector< VarValue > & |
vals | ) |
|
|
signal |
void Client::variablesReceived |
( |
const std::vector< Variable > & |
vals | ) |
|
|
signal |
const QString Client::host_ |
|
private |
constexpr size_t Client::max_values_ammount {120} |
|
staticprivate |
std::uint16_t Client::port_ |
|
private |
QTcpSocket Client::socket_ |
|
private |
The documentation for this class was generated from the following files:
- /home/travis/build/denisacostaq/DAQs/src/database-server/client/client.h
- /home/travis/build/denisacostaq/DAQs/src/database-server/client/client.cc