TTEthernet Model for INET Framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
SyncNotification_m.h
Go to the documentation of this file.
1 //
2 // Generated file, do not edit! Created by opp_msgc 4.3 from synchronisation/base/SyncNotification.msg.
3 //
4 
5 #ifndef _SYNCNOTIFICATION_M_H_
6 #define _SYNCNOTIFICATION_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 
17 namespace TTEthernetModel {
18 
31  SYNC = 0,
32  ASYNC = 1
33 };
34 
43 class SyncNotification : public ::cMessage
44 {
45  protected:
46 
47  private:
48  void copy(const SyncNotification& other);
49 
50  protected:
51  // protected and unimplemented operator==(), to prevent accidental usage
52  bool operator==(const SyncNotification&);
53 
54  public:
55  SyncNotification(const char *name=NULL, int kind=0);
56  SyncNotification(const SyncNotification& other);
57  virtual ~SyncNotification();
59  virtual SyncNotification *dup() const {return new SyncNotification(*this);}
60  virtual void parsimPack(cCommBuffer *b);
61  virtual void parsimUnpack(cCommBuffer *b);
62 
63  // field getter/setter methods
64 };
65 
66 inline void doPacking(cCommBuffer *b, SyncNotification& obj) {obj.parsimPack(b);}
67 inline void doUnpacking(cCommBuffer *b, SyncNotification& obj) {obj.parsimUnpack(b);}
68 
69 }; // end namespace TTEthernetModel
70 
71 #endif // _SYNCNOTIFICATION_M_H_