![]() |
Stellarium
0.16.1
|
Public Member Functions | |
SyncProtocol::SyncMessageType | getMessageType () const Q_DECL_OVERRIDE |
Subclasses must return the message type this message represents. More... | |
void | serialize (QDataStream &stream) const Q_DECL_OVERRIDE |
Subclasses should override this to serialize their contents to the data stream. More... | |
bool | deserialize (QDataStream &stream, SyncProtocol::tPayloadSize dataSize) Q_DECL_OVERRIDE |
Subclasses should override this to load their contents from the data stream. More... | |
QDebug | debugOutput (QDebug dbg) const Q_DECL_OVERRIDE |
Subclasses can override this to provide proper debug output. More... | |
![]() | |
qint64 | createFullMessage (QByteArray &target) const |
Writes a full message (with header) to the specified byte array. More... | |
Public Attributes | |
QList< QPair< QString, QString > > | selectedObjects |
Additional Inherited Members | |
![]() | |
static void | writeString (QDataStream &stream, const QString &str) |
static QString | readString (QDataStream &stream) |
Definition at line 113 of file SyncMessages.hpp.
|
inlinevirtual |
Subclasses can override this to provide proper debug output.
The default just prints the message type.
Reimplemented from SyncProtocol::SyncMessage.
Definition at line 121 of file SyncMessages.hpp.
|
virtual |
Subclasses should override this to load their contents from the data stream.
The default implementation expects a zero dataSize, and reads nothing.
Reimplemented from SyncProtocol::SyncMessage.
|
inlinevirtual |
Subclasses must return the message type this message represents.
Implements SyncProtocol::SyncMessage.
Definition at line 116 of file SyncMessages.hpp.
|
virtual |
Subclasses should override this to serialize their contents to the data stream.
The default implementation writes nothing.
Reimplemented from SyncProtocol::SyncMessage.