-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathConstantGenerationProcess.hpp
More file actions
executable file
·48 lines (40 loc) · 1.14 KB
/
ConstantGenerationProcess.hpp
File metadata and controls
executable file
·48 lines (40 loc) · 1.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
//
// ConstantGenerationProcess.hpp
// AggregationNS3
//
// Created by Alper Sinan Akyurek on 8/8/16.
// Copyright © 2016 Alper Sinan Akyurek. All rights reserved.
//
#ifndef ConstantGenerationProcess_hpp
#define ConstantGenerationProcess_hpp
#include "GenerationProcess.hpp"
/**
Implements a constant rate generation process.
**/
class ConstantGenerationProcess : public GenerationProcess
{
public:
/** Constant Sampling Interval Type **/
typedef ns3::Time TSamplingInterval;
private:
/** Constant generation interval **/
TSamplingInterval m_samplingInterval;
public:
/**
Constructor to set the constant generation rate
\param samplingInterval Constant Sampling interval
**/
ConstantGenerationProcess( const TSamplingInterval samplingInterval );
private:
/**
Schedule the generation of the next measurement(s)
**/
void
ScheduleGeneration( void );
/**
Creates an actual measurement
**/
void
CreateMeasurement( void );
};
#endif /* ConstantGenerationProcess_hpp */