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
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
32
class
SchedulerActionTimeEvent
:
public
::TTEthernetModel::SchedulerEvent
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
42
bool
operator==
(
const
SchedulerActionTimeEvent
&);
43
44
public
:
45
SchedulerActionTimeEvent
(
const
char
*name=NULL,
int
kind=0);
46
SchedulerActionTimeEvent
(
const
SchedulerActionTimeEvent
& other);
47
virtual
~SchedulerActionTimeEvent
();
48
SchedulerActionTimeEvent
&
operator=
(
const
SchedulerActionTimeEvent
& other);
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
70
class
SchedulerTimerEvent
:
public
::TTEthernetModel::SchedulerEvent
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);
84
SchedulerTimerEvent
(
const
SchedulerTimerEvent
& other);
85
virtual
~SchedulerTimerEvent
();
86
SchedulerTimerEvent
&
operator=
(
const
SchedulerTimerEvent
& other);
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_
src
scheduler
SchedulerMessageEvents_m.h
Generated on Tue May 7 2013 11:17:27 for TTEthernet Model for INET Framework by
1.8.3.1