Class for storing MappedMessageBox header information that is stored at the beginning of shared memory used in MappedMessageBox. More...
#include <mappedmessagebox.h>
Public Member Functions | |
Header () | |
Constructor, initializes all values to 0. | |
Header (const Header &header) | |
Copy constructor. | |
~Header () | |
Destructor. | |
Header & | operator= (const Header &header) |
Sets equal to. | |
Public Attributes | |
Time::Stamp | mWriteTimeMs |
The last time a message was written to box in ms. | |
Time::Stamp | mReadTimeMs |
The last time a process read data from the box in ms. | |
unsigned int | mCount |
The current number of messages stored in the box in ms. | |
unsigned int | mStartBytePos |
The byte index of the first message in the box (from memory index 0). | |
unsigned int | mEndBytePos |
The ending byte index of the last message (from memory index 0). | |
Static Public Attributes | |
static const unsigned int | Size = 28 |
Size of message box header in bytes. |
Class for storing MappedMessageBox header information that is stored at the beginning of shared memory used in MappedMessageBox.
Definition at line 74 of file mappedmessagebox.h.
MappedMessageBox::Header::Header | ( | ) |
Constructor, initializes all values to 0.
Definition at line 59 of file mappedmessagebox.cpp.
MappedMessageBox::Header::Header | ( | const Header & | header ) |
Copy constructor.
Definition at line 74 of file mappedmessagebox.cpp.
MappedMessageBox::Header::~Header | ( | ) |
Destructor.
Definition at line 89 of file mappedmessagebox.cpp.
MappedMessageBox::Header & MappedMessageBox::Header::operator= | ( | const Header & | header ) |
Sets equal to.
Definition at line 99 of file mappedmessagebox.cpp.
unsigned int CxUtils::MappedMessageBox::Header::mCount |
The current number of messages stored in the box in ms.
Definition at line 84 of file mappedmessagebox.h.
unsigned int CxUtils::MappedMessageBox::Header::mEndBytePos |
The ending byte index of the last message (from memory index 0).
Definition at line 86 of file mappedmessagebox.h.
The last time a process read data from the box in ms.
Definition at line 83 of file mappedmessagebox.h.
unsigned int CxUtils::MappedMessageBox::Header::mStartBytePos |
The byte index of the first message in the box (from memory index 0).
Definition at line 85 of file mappedmessagebox.h.
The last time a message was written to box in ms.
Definition at line 82 of file mappedmessagebox.h.
const unsigned int CxUtils::MappedMessageBox::Header::Size = 28 [static] |
Size of message box header in bytes.
Definition at line 77 of file mappedmessagebox.h.