TTEthernet Model for INET Framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
SchedulerMessageEvents_m.h
Go to the documentation of this file.
1 //
2 // Generated file, do not edit! Created by opp_msgc 4.3 from scheduler/SchedulerMessageEvents.msg.
3 //
4 
5 #ifndef _SCHEDULERMESSAGEEVENTS_M_H_
6 #define _SCHEDULERMESSAGEEVENTS_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 "SchedulerEvent.h"
18 // }}
19 
20 
21 namespace TTEthernetModel {
22 
33 {
34  protected:
35  uint32_t action_time_var;
36 
37  private:
38  void copy(const SchedulerActionTimeEvent& other);
39 
40  protected:
41  // protected and unimplemented operator==(), to prevent accidental usage
43 
44  public:
45  SchedulerActionTimeEvent(const char *name=NULL, int kind=0);
47  virtual ~SchedulerActionTimeEvent();
49  virtual SchedulerActionTimeEvent *dup() const {return new SchedulerActionTimeEvent(*this);}
50  virtual void parsimPack(cCommBuffer *b);
51  virtual void parsimUnpack(cCommBuffer *b);
52 
53  // field getter/setter methods
54  virtual uint32_t getAction_time() const;
55  virtual void setAction_time(uint32_t action_time);
56 };
57 
58 inline void doPacking(cCommBuffer *b, SchedulerActionTimeEvent& obj) {obj.parsimPack(b);}
59 inline void doUnpacking(cCommBuffer *b, SchedulerActionTimeEvent& obj) {obj.parsimUnpack(b);}
60 
71 {
72  protected:
73  uint64_t timer_var;
74 
75  private:
76  void copy(const SchedulerTimerEvent& other);
77 
78  protected:
79  // protected and unimplemented operator==(), to prevent accidental usage
80  bool operator==(const SchedulerTimerEvent&);
81 
82  public:
83  SchedulerTimerEvent(const char *name=NULL, int kind=0);
85  virtual ~SchedulerTimerEvent();
87  virtual SchedulerTimerEvent *dup() const {return new SchedulerTimerEvent(*this);}
88  virtual void parsimPack(cCommBuffer *b);
89  virtual void parsimUnpack(cCommBuffer *b);
90 
91  // field getter/setter methods
92  virtual uint64_t getTimer() const;
93  virtual void setTimer(uint64_t timer);
94 };
95 
96 inline void doPacking(cCommBuffer *b, SchedulerTimerEvent& obj) {obj.parsimPack(b);}
97 inline void doUnpacking(cCommBuffer *b, SchedulerTimerEvent& obj) {obj.parsimUnpack(b);}
98 
99 }; // end namespace TTEthernetModel
100 
101 #endif // _SCHEDULERMESSAGEEVENTS_M_H_