9 #include "ocurvesconfig.h"
11 #include <QStringList>
37 virtual void setMessage(QByteArray &buffer) = 0;
42 virtual int readMessage(
const QByteArray &buffer) = 0;
46 virtual QStringList
headings()
const = 0;
55 virtual unsigned populateValues(std::vector<double> &values)
const = 0;
59 #endif // RTMESSAGE_H_
virtual void setMessage(QByteArray &buffer)=0
Called to fill out the send buffer with the contained message.
Base message handling for real time data plot communications.
Definition: rtmessage.h:29
virtual unsigned populateValues(std::vector< double > &values) const =0
Request the latest values.
virtual ~RTMessage()
Virtual destructor.
virtual int readMessage(const QByteArray &buffer)=0
Called to read incoming data from the given buffer.
virtual QStringList headings() const =0
Request the list of headings for the plot.