TTEthernet Model for INET Framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
PCFrame_m.h
Go to the documentation of this file.
1 //
2 // Generated file, do not edit! Created by opp_msgc 4.3 from linklayer/ethernet/PCFrame.msg.
3 //
4 
5 #ifndef _PCFRAME_M_H_
6 #define _PCFRAME_M_H_
7 
8 #include <omnetpp.h>
9 
10 // opp_msgc version check
11 #define MSGC_VERSION 0x0403
12 #if (MSGC_VERSION!=OMNETPP_VERSION)
13 # error Version mismatch! Probably this file was generated by an earlier version of opp_msgc: 'make clean' should help.
14 #endif
15 
16 // cplusplus {{
17 #include "RCFrame_m.h"
18 // }}
19 
20 
21 namespace TTEthernetModel {
22 
65 {
66  protected:
70  uint8_t sync_domain_var;
71  uint8_t type_var;
73  opp_string displayString_var;
74 
75  private:
76  void copy(const PCFrame& other);
77 
78  protected:
79  // protected and unimplemented operator==(), to prevent accidental usage
80  bool operator==(const PCFrame&);
81 
82  public:
83  PCFrame(const char *name=NULL, int kind=0);
84  PCFrame(const PCFrame& other);
85  virtual ~PCFrame();
86  PCFrame& operator=(const PCFrame& other);
87  virtual PCFrame *dup() const {return new PCFrame(*this);}
88  virtual void parsimPack(cCommBuffer *b);
89  virtual void parsimUnpack(cCommBuffer *b);
90 
91  // field getter/setter methods
92  virtual uint32_t getIntegration_cycle() const;
93  virtual void setIntegration_cycle(uint32_t integration_cycle);
94  virtual uint32_t getMembership_new() const;
95  virtual void setMembership_new(uint32_t membership_new);
96  virtual uint8_t getSync_priority() const;
97  virtual void setSync_priority(uint8_t sync_priority);
98  virtual uint8_t getSync_domain() const;
99  virtual void setSync_domain(uint8_t sync_domain);
100  virtual uint8_t getType() const;
101  virtual void setType(uint8_t type);
102  virtual uint64_t getTransparent_clock() const;
103  virtual void setTransparent_clock(uint64_t transparent_clock);
104  virtual const char * getDisplayString() const;
105  virtual void setDisplayString(const char * displayString);
106 };
107 
108 inline void doPacking(cCommBuffer *b, PCFrame& obj) {obj.parsimPack(b);}
109 inline void doUnpacking(cCommBuffer *b, PCFrame& obj) {obj.parsimUnpack(b);}
110 
111 }; // end namespace TTEthernetModel
112 
113 #endif // _PCFRAME_M_H_