Tekkotsu Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
MessageQueue< MAX_UNREAD, MAX_RECEIVERS, MAX_SENDERS >::entry Struct Reference#include <MessageQueue.h>
Detailed Descriptiontemplate<unsigned int MAX_UNREAD, unsigned int MAX_RECEIVERS = 10, unsigned int MAX_SENDERS = 10>
data storage needed for each message
|
Public Member Functions | |
entry () | |
constructor | |
entry (unsigned int serialNumber, RCRegion *r) | |
constructor, pass message info | |
Public Attributes | |
RCRegion::Identifier | id |
the identifier for the shared memory region so that other regions can attach it | |
unsigned int | sn |
serial number for this message (not the same as its index in the queue -- indicies are reused, this id is unique to this message | |
bool | readFlags [MAX_RECEIVERS] |
a flag for each receiver to indicate if they have read it | |
unsigned int | numRead |
a count of the number of receivers which have read this message (should always equal sum(readFlags)) |
MessageQueue< MAX_UNREAD, MAX_RECEIVERS, MAX_SENDERS >::entry::entry | ( | ) | [inline] |
MessageQueue< MAX_UNREAD, MAX_RECEIVERS, MAX_SENDERS >::entry::entry | ( | unsigned int | serialNumber, | |
RCRegion * | r | |||
) | [inline] |
RCRegion::Identifier MessageQueue< MAX_UNREAD, MAX_RECEIVERS, MAX_SENDERS >::entry::id |
the identifier for the shared memory region so that other regions can attach it
Definition at line 227 of file MessageQueue.h.
unsigned int MessageQueue< MAX_UNREAD, MAX_RECEIVERS, MAX_SENDERS >::entry::sn |
serial number for this message (not the same as its index in the queue -- indicies are reused, this id is unique to this message
Definition at line 228 of file MessageQueue.h.
bool MessageQueue< MAX_UNREAD, MAX_RECEIVERS, MAX_SENDERS >::entry::readFlags[MAX_RECEIVERS] |
a flag for each receiver to indicate if they have read it
Definition at line 229 of file MessageQueue.h.
Referenced by MessageQueue< MAX_UNREAD, MAX_RECEIVERS, MAX_SENDERS >::entry::entry().
unsigned int MessageQueue< MAX_UNREAD, MAX_RECEIVERS, MAX_SENDERS >::entry::numRead |
a count of the number of receivers which have read this message (should always equal sum(readFlags))
Definition at line 230 of file MessageQueue.h.
Tekkotsu v4.0 |
Generated Thu Nov 22 00:58:31 2007 by Doxygen 1.5.4 |