-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPriorityEtherFrame_m.h
More file actions
60 lines (46 loc) · 1.61 KB
/
PriorityEtherFrame_m.h
File metadata and controls
60 lines (46 loc) · 1.61 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
//
// Generated file, do not edit! Created by opp_msgc 4.3 from PriorityEtherFrame.msg.
//
#ifndef _PRIORITYETHERFRAME_M_H_
#define _PRIORITYETHERFRAME_M_H_
#include <omnetpp.h>
// opp_msgc version check
#define MSGC_VERSION 0x0403
#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
// cplusplus {{
#include "EtherFrame_m.h"
// }}
/**
* Class generated from <tt>PriorityEtherFrame.msg</tt> by opp_msgc.
* <pre>
* packet PriorityEtherFrame extends EtherFrame {
* int priority;
* };
* </pre>
*/
class PriorityEtherFrame : public ::EtherFrame
{
protected:
int priority_var;
private:
void copy(const PriorityEtherFrame& other);
protected:
// protected and unimplemented operator==(), to prevent accidental usage
bool operator==(const PriorityEtherFrame&);
public:
PriorityEtherFrame(const char *name=NULL, int kind=0);
PriorityEtherFrame(const PriorityEtherFrame& other);
virtual ~PriorityEtherFrame();
PriorityEtherFrame& operator=(const PriorityEtherFrame& other);
virtual PriorityEtherFrame *dup() const {return new PriorityEtherFrame(*this);}
virtual void parsimPack(cCommBuffer *b);
virtual void parsimUnpack(cCommBuffer *b);
// field getter/setter methods
virtual int getPriority() const;
virtual void setPriority(int priority);
};
inline void doPacking(cCommBuffer *b, PriorityEtherFrame& obj) {obj.parsimPack(b);}
inline void doUnpacking(cCommBuffer *b, PriorityEtherFrame& obj) {obj.parsimUnpack(b);}
#endif // _PRIORITYETHERFRAME_M_H_