TTEthernet Model for INET Framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
SchedulerEvent.h
Go to the documentation of this file.
1 #ifndef _SCHEDULEREVENT_M_H_
2 #define _SCHEDULEREVENT_M_H_
3 
4 #include <SchedulerMessage_m.h>
5 
6 namespace TTEthernetModel {
7 
12 {
13  private:
15  public:
16  SchedulerEvent(const char *name = NULL, int kind = 0) :
17  SchedulerEvent_Base(name, kind)
18  {
19  destinationGate_var = NULL;
20  }
22  SchedulerEvent_Base(other.getName())
23  {
24  operator=(other);
25  }
27  {
29  return *this;
30  }
31  virtual SchedulerEvent *dup() const
32  {
33  return new SchedulerEvent(*this);
34  }
35  // ADD CODE HERE to redefine and implement pure virtual functions from SchedulerEvent_Base
36  virtual cGate* getDestinationGate() const;
37  virtual void setDestinationGate(cGate *destinationGate);
38 };
39 }
40 
41 #endif