6 #ifndef REALTIMECOMMSPEC_H_
7 #define REALTIMECOMMSPEC_H_
9 #include "ocurvesconfig.h"
145 unsigned _bufferSize;
146 unsigned _timeColumn;
164 return _disconnectMsg;
188 _timeColumn = columnNumber;
209 #endif // REALTIMECOMMSPEC_H_
Base message handling for real time data plot communications.
Definition: rtmessage.h:29
const RTMessage * connectMessage() const
Access the current connection message.
Definition: realtimecommspec.h:156
double timeScale() const
Access the time scale value.
Definition: realtimecommspec.h:204
unsigned bufferSize() const
Access the requested buffer size for incoming sample data buffering.
Definition: realtimecommspec.h:180
void setBufferSize(unsigned size)
Set the requested plot buffer size for incoming data.
Definition: realtimecommspec.h:174
void setConnectMessage(RTMessage *msg)
Set the connection message, deleting and replacing any existing connection message.
~RealTimeCommSpec()
Destroy the comm-spec. Only deletes the wrapped classes (no disconnect).
void disconnect()
Send disconnect message and disconnect the connection.
RealTimeConnection * connection() const
Access the connection.
Definition: realtimecommspec.h:150
void setTimeScale(double scale)
Sets the time scaling value.
Definition: realtimecommspec.h:198
const RTMessage * disconnectMessage() const
Access the current disconnect message.
Definition: realtimecommspec.h:162
This is the base class for data source which provides data in real time.
Definition: realtimeconnection.h:16
Specifies a real time communication specification, messaging and buffer setup.
Definition: realtimecommspec.h:37
void setTimeColumn(unsigned columnNumber)
Set the expected time column number.
Definition: realtimecommspec.h:186
RTMessage * incomingMessage() const
Access the current disconnect message.
Definition: realtimecommspec.h:168
void setIncomingMessage(RTMessage *msg)
Set details of the expected incoming messages deleting and replacing any such existing specification...
unsigned timeColumn() const
Access the time column.
Definition: realtimecommspec.h:192
void setConnection(RealTimeConnection *connection)
Set the connection details, deleting and replacing any existing connection.
void setDisconnectMessage(RTMessage *msg)
Set the disconnect message, deleting and replacing any existing disconnect message.
RealTimeCommSpec()
Create an empty comm-spec.