#include <TimeStampedMessage.hh>
Inheritance diagram for rovsoft::messages::TimeStampedMessage:
Public Member Functions | |
TimeStampedMessage (unsigned short sa, unsigned short da) | |
virtual void | write (io::OStreamer &out) const throw (io::IOExceptionPtr) |
Writes this message to a stream. | |
virtual int | getSize () const |
Returns the size of the message = the number of bytes that would be written by write. | |
const ost::Datetime & | getTimeStamp () const |
This method is not const because the common c++ classes do not have const methods, so the return reference can't be const and I don't want to copy too much. | |
Protected Attributes | |
ost::Datetime | timestamp |
The time stamp of a message. |
The time stamp will contain the time and date of the creation of the message
|
|
|
Returns the size of the message = the number of bytes that would be written by write. (SA and DA are not included!) Reimplemented from rovsoft::messages::Message. Reimplemented in rovsoft::messages::TsFloatTypeMessage, and rovsoft::messages::TsUByteTypeMessage. Here is the call graph for this function: ![]() |
|
This method is not const because the common c++ classes do not have const methods, so the return reference can't be const and I don't want to copy too much.
|
|
Writes this message to a stream. SA and DA are not written!! Reimplemented from rovsoft::messages::Message. Reimplemented in rovsoft::messages::TsFloatTypeMessage, and rovsoft::messages::TsUByteTypeMessage. Here is the call graph for this function: ![]() |
|
The time stamp of a message.
|