IBR-DTNSuite
0.12
Main Page
Namespaces
Classes
Files
File List
File Members
TimeAdjustmentEvent.h
Go to the documentation of this file.
1
/*
2
* TimeAdjustmentEvent.h
3
*
4
* Created on: 11.09.2012
5
* Author: morgenro
6
*/
7
8
#ifndef TIMEADJUSTMENTEVENT_H_
9
#define TIMEADJUSTMENTEVENT_H_
10
11
#include "
core/Node.h
"
12
#include "
core/Event.h
"
13
#include <sys/time.h>
14
15
namespace
dtn
16
{
17
namespace
core
18
{
19
class
TimeAdjustmentEvent
:
public
Event
20
{
21
public
:
22
virtual
~TimeAdjustmentEvent
();
23
24
const
std::string
getName
()
const
;
25
26
std::string
getMessage
()
const
;
27
28
static
void
raise
(
const
timeval &
offset
,
const
double
&
rating
);
29
30
static
const
std::string
className
;
31
32
timeval
offset
;
33
double
rating
;
34
35
private
:
36
TimeAdjustmentEvent
(
const
timeval &
offset
,
const
double
&
rating
);
37
};
38
}
/* namespace core */
39
}
/* namespace dtn */
40
#endif
/* TIMEADJUSTMENTEVENT_H_ */
daemon
src
core
TimeAdjustmentEvent.h
Generated on Thu Mar 27 2014 09:26:20 for IBR-DTNSuite by
1.8.4