TTEthernet Model for INET Framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
RCFrame_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/RCFrame.msg.
3 //
4 
5 #ifndef _RCFRAME_M_H_
6 #define _RCFRAME_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 "CTFrame.h"
18 // }}
19 
20 
21 namespace TTEthernetModel {
22 
34 {
35  protected:
36  opp_string displayString_var;
37 
38  private:
39  void copy(const RCFrame& other);
40 
41  protected:
42  // protected and unimplemented operator==(), to prevent accidental usage
43  bool operator==(const RCFrame&);
44 
45  public:
46  RCFrame(const char *name=NULL, int kind=0);
47  RCFrame(const RCFrame& other);
48  virtual ~RCFrame();
49  RCFrame& operator=(const RCFrame& other);
50  virtual RCFrame *dup() const {return new RCFrame(*this);}
51  virtual void parsimPack(cCommBuffer *b);
52  virtual void parsimUnpack(cCommBuffer *b);
53 
54  // field getter/setter methods
55  virtual const char * getDisplayString() const;
56  virtual void setDisplayString(const char * displayString);
57 };
58 
59 inline void doPacking(cCommBuffer *b, RCFrame& obj) {obj.parsimPack(b);}
60 inline void doUnpacking(cCommBuffer *b, RCFrame& obj) {obj.parsimUnpack(b);}
61 
62 }; // end namespace TTEthernetModel
63 
64 #endif // _RCFRAME_M_H_