QuonP_m.h File Reference
#include <omnetpp.h>
#include <NodeHandle.h>
#include <QuonDefs.h>
#include <QuonPRDefs.h>
#include <CommonMessages_m.h>
Go to the source code of this file.
|
Classes |
| class | QuonPSelfMessage |
| | Class generated from overlay/quon/QuonP.msg by opp_msgc. More...
|
| class | QuonPMessage |
| | Class generated from overlay/quon/QuonP.msg by opp_msgc. More...
|
| class | QuonPListMessage |
| | Class generated from overlay/quon/QuonP.msg by opp_msgc. More...
|
| class | QuonPMoveMessage |
| | Class generated from overlay/quon/QuonP.msg by opp_msgc. More...
|
| class | QuonPEventMessage |
| | Class generated from overlay/quon/QuonP.msg by opp_msgc. More...
|
Defines |
| #define | MSGC_VERSION 0x0400 |
| #define | QUONP_L(msg) (QUONPCOMMAND_L + NODEHANDLE_L + KEY_L + QUONPPOSITION_L + QUONPAOI_L) |
| #define | QUONPLIST_L(msg) (QUONP_L(msg) + QUONPENTRYCOUNT_L + msg->getNeighborHandleArraySize() * (NODEHANDLE_L + QUONPPOSITION_L)) |
| #define | QUONPMOVE_L(msg) (QUONP_L(msg) + (msg->getNeighborHandle(0).isUnspecified() ? 0 : (NODEHANDLE_L + QUONPPOSITION_L)) + (msg->getNeighborHandle(1).isUnspecified() ? 0 : (NODEHANDLE_L + QUONPPOSITION_L)) + (msg->getNeighborHandle(2).isUnspecified() ? 0 : (NODEHANDLE_L + QUONPPOSITION_L)) + (msg->getNeighborHandle(3).isUnspecified() ? 0 : (NODEHANDLE_L + QUONPPOSITION_L)) + QUONPPOSITION_L + QUONPFLAG_L) |
Enumerations |
| enum | QUONPCommand {
JOIN_REQUEST = 0,
JOIN_ACKNOWLEDGE = 1,
NODE_MOVE = 2,
NEW_NEIGHBORS = 3,
NODE_LEAVE = 4,
QUON_EVENT = 5
} |
| | Enum generated from overlay/quon/QuonP.msg by opp_msgc. More...
|
Functions |
| void | doPacking (cCommBuffer *b, QuonPSelfMessage &obj) |
| void | doUnpacking (cCommBuffer *b, QuonPSelfMessage &obj) |
| void | doPacking (cCommBuffer *b, QuonPMessage &obj) |
| void | doUnpacking (cCommBuffer *b, QuonPMessage &obj) |
| void | doPacking (cCommBuffer *b, QuonPListMessage &obj) |
| void | doUnpacking (cCommBuffer *b, QuonPListMessage &obj) |
| void | doPacking (cCommBuffer *b, QuonPMoveMessage &obj) |
| void | doUnpacking (cCommBuffer *b, QuonPMoveMessage &obj) |
| void | doPacking (cCommBuffer *b, QuonPEventMessage &obj) |
| void | doUnpacking (cCommBuffer *b, QuonPEventMessage &obj) |
Variables |
| static const int | QUONPCOMMAND_L = 8 |
| static const int | QUONPPOSITION_L = 128 |
| static const int | QUONPAOI_L = 64 |
| static const int | QUONPENTRYCOUNT_L = 32 |
| static const int | QUONPFLAG_L = 1 |
Define Documentation
| #define MSGC_VERSION 0x0400 |
Enumeration Type Documentation
Enum generated from overlay/quon/QuonP.msg by opp_msgc.
enum QUONPCommand
{
JOIN_REQUEST = 0;
JOIN_ACKNOWLEDGE = 1;
NODE_MOVE = 2;
NEW_NEIGHBORS = 3;
NODE_LEAVE = 4;
QUON_EVENT = 5;
}
- Enumerator:
-
| JOIN_REQUEST |
|
| JOIN_ACKNOWLEDGE |
|
| NODE_MOVE |
|
| NEW_NEIGHBORS |
|
| NODE_LEAVE |
|
| QUON_EVENT |
|
Definition at line 51 of file QuonP_m.h.
Function Documentation
| void doPacking |
( |
cCommBuffer * |
b, |
|
|
QuonPMessage & |
obj | |
|
) |
| | [inline] |
| void doUnpacking |
( |
cCommBuffer * |
b, |
|
|
QuonPMessage & |
obj | |
|
) |
| | [inline] |
Variable Documentation