FNSS C++ library
C++ API for the Fast Network Simulation Setup (FNSS) toolchain
Main Page
Classes
Files
File List
All
Classes
Functions
Typedefs
Pages
src
units.h
1
#ifndef UNITS_H
2
#define UNITS_H
3
4
#define PACKET_SIZE 1500 * 8 //Conversion from packet to bit count for BufferSize.
5
#include "measurement-unit.h"
6
7
namespace
fnss {
8
16
class
Units
{
17
public
:
18
static
const
MeasurementUnit
SIPrefix;
19
static
const
MeasurementUnit
Time;
20
static
const
MeasurementUnit
Data;
21
static
const
MeasurementUnit
BufferSize;
//Appends "packet" unit to Data.
22
static
const
MeasurementUnit
Bandwidth;
23
static
const
MeasurementUnit
Distance;
24
25
private
:
26
Units
();
27
};
28
29
}
//namespace
30
31
#endif //UNITS_H
fnss::Units
Definition:
units.h:16
fnss::MeasurementUnit
Definition:
measurement-unit.h:10
Generated by
1.8.6