#include <omnetpp.h>#include <CommonMessages_m.h>#include <Vector2D.h>Go to the source code of this file.
Classes | |
| class | NTreeJoinCall |
Class generated from overlay/ntree/NTree.msg by opp_msgc. More... | |
| class | NTreeJoinResponse |
Class generated from overlay/ntree/NTree.msg by opp_msgc. More... | |
| class | NTreeDivideCall |
Class generated from overlay/ntree/NTree.msg by opp_msgc. More... | |
| class | NTreeDivideResponse |
Class generated from overlay/ntree/NTree.msg by opp_msgc. More... | |
| class | NTreePingCall |
Class generated from overlay/ntree/NTree.msg by opp_msgc. More... | |
| class | NTreeNodePingCall |
Class generated from overlay/ntree/NTree.msg by opp_msgc. More... | |
| class | NTreePingResponse |
Class generated from overlay/ntree/NTree.msg by opp_msgc. More... | |
| class | NTreeNodePingResponse |
Class generated from overlay/ntree/NTree.msg by opp_msgc. More... | |
| class | NTreeGroupDeleteMessage |
Class generated from overlay/ntree/NTree.msg by opp_msgc. More... | |
| class | NTreeCollapseMessage |
Class generated from overlay/ntree/NTree.msg by opp_msgc. More... | |
| class | NTreeLeaveMessage |
Class generated from overlay/ntree/NTree.msg by opp_msgc. More... | |
| class | NTreeMoveMessage |
Class generated from overlay/ntree/NTree.msg by opp_msgc. More... | |
| class | NTreeGroupAddMessage |
Class generated from overlay/ntree/NTree.msg by opp_msgc. More... | |
| class | NTreeReplaceNodeMessage |
Class generated from overlay/ntree/NTree.msg by opp_msgc. More... | |
| class | NTreeTakeOverMessage |
Class generated from overlay/ntree/NTree.msg by opp_msgc. More... | |
Defines | |
| #define | MSGC_VERSION 0x0401 |
| #define | NTREEJOINCALL_L(msg) (NTREEPOSITION_L + BASECALL_L(msg)) |
| #define | NTREEJOINRESPONSE_L(msg) (NTREEPOSITION_L + NTREESIZE_L + msg->getMembersArraySize() * NODEHANDLE_L + BASERESPONSE_L(msg)) |
| #define | NTREEDIVIDECALL_L(msg) (NTREEPOSITION_L + NTREESIZE_L + NTREEQUADRANT_L + BASECALL_L(msg)) |
| #define | NTREEDIVIDERESPONSE_L(msg) (BASERESPONSE_L(msg)) |
| #define | NTREEPINGCALL_L(msg) (NTREEPOSITION_L + NTREESIZE_L + NODEHANDLE_L + BASECALL_L(msg)) |
| #define | NTREENODEPINGCALL_L(msg) (NTREEPINGCALL_L(msg) + 4*NODEHANDLE_L + NTREEQUADRANT_L) |
| #define | NTREEPINGRESPONSE_L(msg) (BASERESPONSE_L(msg)) |
| #define | NTREENODEPINGRESPONSE_L(msg) (NTREEPINGRESPONSE_L(msg) + msg->getMembersArraySize() * NODEHANDLE_L + NTREECHILDCOUNT_L) |
| #define | NTREEDELETE_L(msg) (NTREEPOSITION_L + NTREESIZE_L + 4*NODEHANDLE_L + BASEOVERLAY_L(msg)) |
| #define | NTREECOLLAPSE_L(msg) (NTREEPOSITION_L + NTREESIZE_L + NODEHANDLE_L + BASEOVERLAY_L(msg)) |
| #define | NTREELEAVE_L(msg) (NTREEPOSITION_L + NODEHANDLE_L + BASEOVERLAY_L(msg)) |
| #define | NTREEMOVE_L(msg) (NTREEPOSITION_L + NODEHANDLE_L + BASEOVERLAY_L(msg)) |
| #define | NTREEADD_L(msg) (NTREEPOSITION_L + NODEHANDLE_L + BASEOVERLAY_L(msg)) |
| #define | NTREEREPLACE_L(msg) (NTREEPOSITION_L + NTREESIZE_L + (msg->getChildrenArraySize() +1)*NODEHANDLE_L + TRANSPORTADDRESS_L + 1 + BASEOVERLAY_L(msg)) |
| #define | NTREETAKEOVER_L(msg) (NTREEPOSITION_L + NTREESIZE_L + NODEHANDLE_L + BASEOVERLAY_L(msg)) |
Functions | |
| void | doPacking (cCommBuffer *b, NTreeJoinCall &obj) |
| void | doUnpacking (cCommBuffer *b, NTreeJoinCall &obj) |
| void | doPacking (cCommBuffer *b, NTreeJoinResponse &obj) |
| void | doUnpacking (cCommBuffer *b, NTreeJoinResponse &obj) |
| void | doPacking (cCommBuffer *b, NTreeDivideCall &obj) |
| void | doUnpacking (cCommBuffer *b, NTreeDivideCall &obj) |
| void | doPacking (cCommBuffer *b, NTreeDivideResponse &obj) |
| void | doUnpacking (cCommBuffer *b, NTreeDivideResponse &obj) |
| void | doPacking (cCommBuffer *b, NTreePingCall &obj) |
| void | doUnpacking (cCommBuffer *b, NTreePingCall &obj) |
| void | doPacking (cCommBuffer *b, NTreeNodePingCall &obj) |
| void | doUnpacking (cCommBuffer *b, NTreeNodePingCall &obj) |
| void | doPacking (cCommBuffer *b, NTreePingResponse &obj) |
| void | doUnpacking (cCommBuffer *b, NTreePingResponse &obj) |
| void | doPacking (cCommBuffer *b, NTreeNodePingResponse &obj) |
| void | doUnpacking (cCommBuffer *b, NTreeNodePingResponse &obj) |
| void | doPacking (cCommBuffer *b, NTreeGroupDeleteMessage &obj) |
| void | doUnpacking (cCommBuffer *b, NTreeGroupDeleteMessage &obj) |
| void | doPacking (cCommBuffer *b, NTreeCollapseMessage &obj) |
| void | doUnpacking (cCommBuffer *b, NTreeCollapseMessage &obj) |
| void | doPacking (cCommBuffer *b, NTreeLeaveMessage &obj) |
| void | doUnpacking (cCommBuffer *b, NTreeLeaveMessage &obj) |
| void | doPacking (cCommBuffer *b, NTreeMoveMessage &obj) |
| void | doUnpacking (cCommBuffer *b, NTreeMoveMessage &obj) |
| void | doPacking (cCommBuffer *b, NTreeGroupAddMessage &obj) |
| void | doUnpacking (cCommBuffer *b, NTreeGroupAddMessage &obj) |
| void | doPacking (cCommBuffer *b, NTreeReplaceNodeMessage &obj) |
| void | doUnpacking (cCommBuffer *b, NTreeReplaceNodeMessage &obj) |
| void | doPacking (cCommBuffer *b, NTreeTakeOverMessage &obj) |
| void | doUnpacking (cCommBuffer *b, NTreeTakeOverMessage &obj) |
Variables | |
| static const int | NTREEPOSITION_L = 128 |
| static const int | NTREESIZE_L = 64 |
| static const int | NTREEQUADRANT_L = 2 |
| static const int | NTREECHILDCOUNT_L = 16 |
| #define NTREEADD_L | ( | msg | ) | (NTREEPOSITION_L + NODEHANDLE_L + BASEOVERLAY_L(msg)) |
Definition at line 37 of file NTree_m.h.
Referenced by NTree::handleJoinCall().
| #define NTREECOLLAPSE_L | ( | msg | ) | (NTREEPOSITION_L + NTREESIZE_L + NODEHANDLE_L + BASEOVERLAY_L(msg)) |
Definition at line 34 of file NTree_m.h.
Referenced by NTree::collapseTree().
| #define NTREEDELETE_L | ( | msg | ) | (NTREEPOSITION_L + NTREESIZE_L + 4*NODEHANDLE_L + BASEOVERLAY_L(msg)) |
Definition at line 33 of file NTree_m.h.
Referenced by NTree::divideNode(), and NTree::handleCollapseMessage().
| #define NTREEDIVIDECALL_L | ( | msg | ) | (NTREEPOSITION_L + NTREESIZE_L + NTREEQUADRANT_L + BASECALL_L(msg)) |
Definition at line 27 of file NTree_m.h.
Referenced by NTree::handleJoinCall().
| #define NTREEDIVIDERESPONSE_L | ( | msg | ) | (BASERESPONSE_L(msg)) |
Definition at line 28 of file NTree_m.h.
Referenced by NTree::handleDivideCall().
| #define NTREEJOINCALL_L | ( | msg | ) | (NTREEPOSITION_L + BASECALL_L(msg)) |
Definition at line 25 of file NTree_m.h.
Referenced by NTree::handleAppMessage(), NTree::handleDeleteMessage(), and NTree::joinGroup().
| #define NTREEJOINRESPONSE_L | ( | msg | ) | (NTREEPOSITION_L + NTREESIZE_L + msg->getMembersArraySize() * NODEHANDLE_L + BASERESPONSE_L(msg)) |
Definition at line 26 of file NTree_m.h.
Referenced by NTree::handleJoinCall().
| #define NTREELEAVE_L | ( | msg | ) | (NTREEPOSITION_L + NODEHANDLE_L + BASEOVERLAY_L(msg)) |
Definition at line 35 of file NTree_m.h.
Referenced by NTree::handlePingCallTimeout(), and NTree::leaveGroup().
| #define NTREEMOVE_L | ( | msg | ) | (NTREEPOSITION_L + NODEHANDLE_L + BASEOVERLAY_L(msg)) |
Definition at line 36 of file NTree_m.h.
Referenced by NTree::handleMove().
| #define NTREENODEPINGCALL_L | ( | msg | ) | (NTREEPINGCALL_L(msg) + 4*NODEHANDLE_L + NTREEQUADRANT_L) |
Definition at line 30 of file NTree_m.h.
Referenced by NTree::pingNodes().
| #define NTREENODEPINGRESPONSE_L | ( | msg | ) | (NTREEPINGRESPONSE_L(msg) + msg->getMembersArraySize() * NODEHANDLE_L + NTREECHILDCOUNT_L) |
Definition at line 32 of file NTree_m.h.
Referenced by NTree::handlePingCall().
| #define NTREEPINGCALL_L | ( | msg | ) | (NTREEPOSITION_L + NTREESIZE_L + NODEHANDLE_L + BASECALL_L(msg)) |
Definition at line 29 of file NTree_m.h.
Referenced by NTree::pingNodes().
| #define NTREEPINGRESPONSE_L | ( | msg | ) | (BASERESPONSE_L(msg)) |
Definition at line 31 of file NTree_m.h.
Referenced by NTree::handlePingCall().
| #define NTREEREPLACE_L | ( | msg | ) | (NTREEPOSITION_L + NTREESIZE_L + (msg->getChildrenArraySize() +1)*NODEHANDLE_L + TRANSPORTADDRESS_L + 1 + BASEOVERLAY_L(msg)) |
Definition at line 38 of file NTree_m.h.
Referenced by NTree::checkParentTimeout(), NTree::handleNodeGracefulLeaveNotification(), and NTree::handlePingCallTimeout().
| #define NTREETAKEOVER_L | ( | msg | ) | (NTREEPOSITION_L + NTREESIZE_L + NODEHANDLE_L + BASEOVERLAY_L(msg)) |
Definition at line 39 of file NTree_m.h.
Referenced by NTree::handleReplaceMessage().
| void doPacking | ( | cCommBuffer * | b, | |
| NTreeJoinCall & | obj | |||
| ) | [inline] |
Definition at line 76 of file NTree_m.h.
{obj.parsimPack(b);}
| void doPacking | ( | cCommBuffer * | b, | |
| NTreeDivideCall & | obj | |||
| ) | [inline] |
Definition at line 166 of file NTree_m.h.
{obj.parsimPack(b);}
| void doPacking | ( | cCommBuffer * | b, | |
| NTreePingCall & | obj | |||
| ) | [inline] |
Definition at line 244 of file NTree_m.h.
{obj.parsimPack(b);}
| void doPacking | ( | cCommBuffer * | b, | |
| NTreeGroupDeleteMessage & | obj | |||
| ) | [inline] |
Definition at line 401 of file NTree_m.h.
{obj.parsimPack(b);}
| void doPacking | ( | cCommBuffer * | b, | |
| NTreeCollapseMessage & | obj | |||
| ) | [inline] |
Definition at line 445 of file NTree_m.h.
{obj.parsimPack(b);}
| void doPacking | ( | cCommBuffer * | b, | |
| NTreeNodePingCall & | obj | |||
| ) | [inline] |
Definition at line 284 of file NTree_m.h.
{obj.parsimPack(b);}
| void doPacking | ( | cCommBuffer * | b, | |
| NTreeLeaveMessage & | obj | |||
| ) | [inline] |
Definition at line 485 of file NTree_m.h.
{obj.parsimPack(b);}
| void doPacking | ( | cCommBuffer * | b, | |
| NTreeMoveMessage & | obj | |||
| ) | [inline] |
Definition at line 525 of file NTree_m.h.
{obj.parsimPack(b);}
| void doPacking | ( | cCommBuffer * | b, | |
| NTreeJoinResponse & | obj | |||
| ) | [inline] |
Definition at line 123 of file NTree_m.h.
{obj.parsimPack(b);}
| void doPacking | ( | cCommBuffer * | b, | |
| NTreePingResponse & | obj | |||
| ) | [inline] |
Definition at line 314 of file NTree_m.h.
{obj.parsimPack(b);}
| void doPacking | ( | cCommBuffer * | b, | |
| NTreeGroupAddMessage & | obj | |||
| ) | [inline] |
Definition at line 565 of file NTree_m.h.
{obj.parsimPack(b);}
| void doPacking | ( | cCommBuffer * | b, | |
| NTreeReplaceNodeMessage & | obj | |||
| ) | [inline] |
Definition at line 626 of file NTree_m.h.
{obj.parsimPack(b);}
| void doPacking | ( | cCommBuffer * | b, | |
| NTreeDivideResponse & | obj | |||
| ) | [inline] |
Definition at line 200 of file NTree_m.h.
{obj.parsimPack(b);}
| void doPacking | ( | cCommBuffer * | b, | |
| NTreeTakeOverMessage & | obj | |||
| ) | [inline] |
Definition at line 670 of file NTree_m.h.
{obj.parsimPack(b);}
| void doPacking | ( | cCommBuffer * | b, | |
| NTreeNodePingResponse & | obj | |||
| ) | [inline] |
Definition at line 356 of file NTree_m.h.
{obj.parsimPack(b);}
| void doUnpacking | ( | cCommBuffer * | b, | |
| NTreeNodePingResponse & | obj | |||
| ) | [inline] |
Definition at line 357 of file NTree_m.h.
{obj.parsimUnpack(b);}
| void doUnpacking | ( | cCommBuffer * | b, | |
| NTreeJoinResponse & | obj | |||
| ) | [inline] |
Definition at line 124 of file NTree_m.h.
{obj.parsimUnpack(b);}
| void doUnpacking | ( | cCommBuffer * | b, | |
| NTreeCollapseMessage & | obj | |||
| ) | [inline] |
Definition at line 446 of file NTree_m.h.
{obj.parsimUnpack(b);}
| void doUnpacking | ( | cCommBuffer * | b, | |
| NTreeLeaveMessage & | obj | |||
| ) | [inline] |
Definition at line 486 of file NTree_m.h.
{obj.parsimUnpack(b);}
| void doUnpacking | ( | cCommBuffer * | b, | |
| NTreeJoinCall & | obj | |||
| ) | [inline] |
Definition at line 77 of file NTree_m.h.
{obj.parsimUnpack(b);}
| void doUnpacking | ( | cCommBuffer * | b, | |
| NTreeGroupAddMessage & | obj | |||
| ) | [inline] |
Definition at line 566 of file NTree_m.h.
{obj.parsimUnpack(b);}
| void doUnpacking | ( | cCommBuffer * | b, | |
| NTreeDivideCall & | obj | |||
| ) | [inline] |
Definition at line 167 of file NTree_m.h.
{obj.parsimUnpack(b);}
| void doUnpacking | ( | cCommBuffer * | b, | |
| NTreePingResponse & | obj | |||
| ) | [inline] |
Definition at line 315 of file NTree_m.h.
{obj.parsimUnpack(b);}
| void doUnpacking | ( | cCommBuffer * | b, | |
| NTreeTakeOverMessage & | obj | |||
| ) | [inline] |
Definition at line 671 of file NTree_m.h.
{obj.parsimUnpack(b);}
| void doUnpacking | ( | cCommBuffer * | b, | |
| NTreeGroupDeleteMessage & | obj | |||
| ) | [inline] |
Definition at line 402 of file NTree_m.h.
{obj.parsimUnpack(b);}
| void doUnpacking | ( | cCommBuffer * | b, | |
| NTreePingCall & | obj | |||
| ) | [inline] |
Definition at line 245 of file NTree_m.h.
{obj.parsimUnpack(b);}
| void doUnpacking | ( | cCommBuffer * | b, | |
| NTreeNodePingCall & | obj | |||
| ) | [inline] |
Definition at line 285 of file NTree_m.h.
{obj.parsimUnpack(b);}
| void doUnpacking | ( | cCommBuffer * | b, | |
| NTreeReplaceNodeMessage & | obj | |||
| ) | [inline] |
Definition at line 627 of file NTree_m.h.
{obj.parsimUnpack(b);}
| void doUnpacking | ( | cCommBuffer * | b, | |
| NTreeDivideResponse & | obj | |||
| ) | [inline] |
Definition at line 201 of file NTree_m.h.
{obj.parsimUnpack(b);}
| void doUnpacking | ( | cCommBuffer * | b, | |
| NTreeMoveMessage & | obj | |||
| ) | [inline] |
Definition at line 526 of file NTree_m.h.
{obj.parsimUnpack(b);}
const int NTREECHILDCOUNT_L = 16 [static] |
const int NTREEPOSITION_L = 128 [static] |
const int NTREEQUADRANT_L = 2 [static] |
const int NTREESIZE_L = 64 [static] |
1.7.1