OverSim
Nps_m.h File Reference
#include <omnetpp.h>
#include <TransportAddress.h>
#include <CommonMessages_m.h>

Go to the source code of this file.

Classes

class  CoordsReqCall
 Class generated from common/Nps.msg by opp_msgc. More...
class  CoordsReqResponse
 Class generated from common/Nps.msg by opp_msgc. More...

Macros

#define MSGC_VERSION   0x0402
#define COORDSREQCALL_L(msg)   BASECALL_L(msg)
#define COORDSREQRESPONSE_L(msg)   (BASERESPONSE_L(msg) + NPSLAYER_L)

Functions

void doPacking (cCommBuffer *b, CoordsReqCall &obj)
void doUnpacking (cCommBuffer *b, CoordsReqCall &obj)
void doPacking (cCommBuffer *b, CoordsReqResponse &obj)
void doUnpacking (cCommBuffer *b, CoordsReqResponse &obj)

Variables

static const int NPSLAYER_L = 8

Macro Definition Documentation

#define COORDSREQCALL_L (   msg)    BASECALL_L(msg)

Definition at line 22 of file Nps_m.h.

Referenced by Nps::sendCoordsReqCall().

#define COORDSREQRESPONSE_L (   msg)    (BASERESPONSE_L(msg) + NPSLAYER_L)

Definition at line 23 of file Nps_m.h.

Referenced by Nps::coordsReqRpc().

#define MSGC_VERSION   0x0402

Definition at line 11 of file Nps_m.h.

Function Documentation

void doPacking ( cCommBuffer *  b,
CoordsReqCall obj 
)
inline

Definition at line 59 of file Nps_m.h.

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

Definition at line 98 of file Nps_m.h.

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

Definition at line 60 of file Nps_m.h.

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

Definition at line 99 of file Nps_m.h.

{obj.parsimUnpack(b);}

Variable Documentation

const int NPSLAYER_L = 8
static

Definition at line 20 of file Nps_m.h.