-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathPositionUpdateMessage_m.h
More file actions
65 lines (52 loc) · 1.82 KB
/
PositionUpdateMessage_m.h
File metadata and controls
65 lines (52 loc) · 1.82 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
//
// Generated file, do not edit! Created by opp_msgc 4.2 from PositionUpdateMessage.msg.
//
#ifndef _POSITIONUPDATEMESSAGE_M_H_
#define _POSITIONUPDATEMESSAGE_M_H_
#include <omnetpp.h>
// opp_msgc version check
#define MSGC_VERSION 0x0402
#if (MSGC_VERSION!=OMNETPP_VERSION)
# error Version mismatch! Probably this file was generated by an earlier version of opp_msgc: 'make clean' should help.
#endif
/**
* Class generated from <tt>PositionUpdateMessage.msg</tt> by opp_msgc.
* <pre>
* message PositionUpdateMessage
* {
* int idMs;
* double deltaX;
* double deltaY;
* }
* </pre>
*/
class PositionUpdateMessage : public ::cMessage
{
protected:
int idMs_var;
double deltaX_var;
double deltaY_var;
private:
void copy(const PositionUpdateMessage& other);
protected:
// protected and unimplemented operator==(), to prevent accidental usage
bool operator==(const PositionUpdateMessage&);
public:
PositionUpdateMessage(const char *name=NULL, int kind=0);
PositionUpdateMessage(const PositionUpdateMessage& other);
virtual ~PositionUpdateMessage();
PositionUpdateMessage& operator=(const PositionUpdateMessage& other);
virtual PositionUpdateMessage *dup() const {return new PositionUpdateMessage(*this);}
virtual void parsimPack(cCommBuffer *b);
virtual void parsimUnpack(cCommBuffer *b);
// field getter/setter methods
virtual int getIdMs() const;
virtual void setIdMs(int idMs);
virtual double getDeltaX() const;
virtual void setDeltaX(double deltaX);
virtual double getDeltaY() const;
virtual void setDeltaY(double deltaY);
};
inline void doPacking(cCommBuffer *b, PositionUpdateMessage& obj) {obj.parsimPack(b);}
inline void doUnpacking(cCommBuffer *b, PositionUpdateMessage& obj) {obj.parsimUnpack(b);}
#endif // _POSITIONUPDATEMESSAGE_M_H_