famouso::mw::attributes::PacketLoss< packetLoss > Class Template Reference
Defines a configurable packet loss attribute for describing how many packets will be averagely lost. More...
#include <PacketLoss.h>
Inheritance diagram for famouso::mw::attributes::PacketLoss< packetLoss >:
Public Types | |
typedef PacketLoss | type |
Detailed Description
template<uint16_t packetLoss>
class famouso::mw::attributes::PacketLoss< packetLoss >
Defines a configurable packet loss attribute for describing how many packets will be averagely lost.
The unit of the attribute value is a hundredth of the percentage of lost packets against all sent packets. E.g. a value of 1498 means that 14.98% of the packets are lost.
- Template Parameters:
-
packetLoss Describes the initial value to be set
Member Typedef Documentation
template<uint16_t packetLoss>
typedef PacketLoss famouso::mw::attributes::PacketLoss< packetLoss >::type |
The documentation for this class was generated from the following file:
- include/mw/attributes/PacketLoss.h