TTEthernet Model for INET Framework
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
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
11
class
SchedulerEvent
:
public
TTEthernetModel::SchedulerEvent_Base
12
{
13
private
:
14
cGate *
destinationGate_var
;
15
public
:
16
SchedulerEvent
(
const
char
*name = NULL,
int
kind = 0) :
17
SchedulerEvent_Base
(name, kind)
18
{
19
destinationGate_var
= NULL;
20
}
21
SchedulerEvent
(
const
SchedulerEvent
& other) :
22
SchedulerEvent_Base
(other.getName())
23
{
24
operator=
(other);
25
}
26
SchedulerEvent
&
operator=
(
const
SchedulerEvent
& other)
27
{
28
SchedulerEvent_Base::operator=
(other);
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
src
scheduler
SchedulerEvent.h
Generated on Tue May 7 2013 11:17:27 for TTEthernet Model for INET Framework by
1.8.3.1