OverSim
ProximityLookupMessages_m.h File Reference
#include <omnetpp.h>
#include <CommonMessages_m.h>

Go to the source code of this file.

Classes

class  ProxFindNodeCall
 Class generated from common/ProximityLookupMessages.msg by opp_msgc. More...
class  ProxFindNodeResponse
 Class generated from common/ProximityLookupMessages.msg by opp_msgc. More...

Macros

#define MSGC_VERSION   0x0402
#define PROXFINDNODECALL_L(msg)   (FINDNODECALL_L(msg))
#define PROXFINDNODERESPONSE_L(msg)

Enumerations

enum  ProximityLookupMetrik {
  NONE = 0, BY_KEY = 1, BY_KEY_X = 2, BY_PROXIMITY = 3,
  BY_PROXIMITY_X = 4, BY_KEY_AND_PROXIMITY = 5, BY_KEY_AND_PROXIMITY_WEIGHT = 6
}
 Enum generated from common/ProximityLookupMessages.msg by opp_msgc. More...

Functions

void doPacking (cCommBuffer *b, ProxFindNodeCall &obj)
void doUnpacking (cCommBuffer *b, ProxFindNodeCall &obj)
void doPacking (cCommBuffer *b, ProxFindNodeResponse &obj)
void doUnpacking (cCommBuffer *b, ProxFindNodeResponse &obj)

Macro Definition Documentation

#define MSGC_VERSION   0x0402

Definition at line 11 of file ProximityLookupMessages_m.h.

#define PROXFINDNODECALL_L (   msg)    (FINDNODECALL_L(msg))

Definition at line 19 of file ProximityLookupMessages_m.h.

#define PROXFINDNODERESPONSE_L (   msg)
Value:
(msg->getNextHopNcsInfosArraySize() ? \
msg->getNextHopNcsInfosArraySize() * 32 : \
0))

Definition at line 20 of file ProximityLookupMessages_m.h.

Enumeration Type Documentation

Enum generated from common/ProximityLookupMessages.msg by opp_msgc.

enum ProximityLookupMetrik
{
    NONE = 0;                       
    BY_KEY = 1;                     
    BY_KEY_X = 2;                   
    BY_PROXIMITY = 3;               
    BY_PROXIMITY_X = 4;             
    BY_KEY_AND_PROXIMITY = 5;       
    BY_KEY_AND_PROXIMITY_WEIGHT = 6;
}
Enumerator:
NONE 
BY_KEY 
BY_KEY_X 
BY_PROXIMITY 
BY_PROXIMITY_X 
BY_KEY_AND_PROXIMITY 
BY_KEY_AND_PROXIMITY_WEIGHT 

Definition at line 43 of file ProximityLookupMessages_m.h.

Function Documentation

void doPacking ( cCommBuffer *  b,
ProxFindNodeCall obj 
)
inline

Definition at line 84 of file ProximityLookupMessages_m.h.

{obj.parsimPack(b);}
void doPacking ( cCommBuffer *  b,
ProxFindNodeResponse obj 
)
inline

Definition at line 125 of file ProximityLookupMessages_m.h.

{obj.parsimPack(b);}
void doUnpacking ( cCommBuffer *  b,
ProxFindNodeCall obj 
)
inline

Definition at line 85 of file ProximityLookupMessages_m.h.

{obj.parsimUnpack(b);}
void doUnpacking ( cCommBuffer *  b,
ProxFindNodeResponse obj 
)
inline

Definition at line 126 of file ProximityLookupMessages_m.h.

{obj.parsimUnpack(b);}