RINASim  October 2016
Documentation of framework for OMNeT++
SM_Burst.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <omnetpp.h>
4 
5 #include <list>
6 
7 namespace ModularMonitor {
8 
9 using namespace std;
10 
11 class SM_Burst {
12 public :
13  SM_Burst();
14  SM_Burst(simtime_t, unsigned int);
15  void set(simtime_t, unsigned int);
16 
17  void in(unsigned int);
18 
19  double tic();
20  double tic(unsigned int);
21 
22  simtime_t getTime(unsigned int);
23 
24 protected :
25  simtime_t duration;
26  unsigned int size;
27 
28  unsigned int currentSize;
29  list<unsigned int> pSizes;
30  list<simtime_t> pTimes;
31 
32  void out();
33 };
34 
35 }
list< simtime_t > pTimes
Definition: SM_Burst.h:30
list< unsigned int > pSizes
Definition: SM_Burst.h:29
unsigned int currentSize
Definition: SM_Burst.h:28
unsigned int size
Definition: SM_Burst.h:26