6 #ifndef RTSTRINGMESSAGE_H_
7 #define RTSTRINGMESSAGE_H_
9 #include "ocurvesconfig.h"
11 #include "rtmessage.h"
53 QStringList
headings()
const override;
63 unsigned populateValues(std::vector<double> &values)
const override;
70 #endif // RTSTRINGMESSAGE_H_
QStringList headings() const override
Returns the cache headings.
void setMessage(QByteArray &buffer) override
Set the message to send in buffer.
RTStringMessage(const QString &message=QString())
Constructor, sending message() when setMesssage() is called.
Base message handling for real time data plot communications.
Definition: rtmessage.h:29
int readMessage(const QByteArray &buffer) override
Read incoming message data.
void setHeadings(const QStringList &headings)
Set the headings.
Definition: rtstringmessage.h:46
Represents a string based message for real-time data plots.
Definition: rtstringmessage.h:27
QStringList _headings
Cached headings.
Definition: rtstringmessage.h:67
unsigned populateValues(std::vector< double > &values) const override
Data access request for the latest data.
QString _message
Message to send, or last read.
Definition: rtstringmessage.h:66