Menu

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 >:
famouso::mw::attributes::Attribute< PacketLoss< 0 >, tags::integral_const_tag, uint16_t, packetLoss, detail::HighDensityIDs::packetLoss, detail::TagSet< detail::IsHighDensity, detail::IsRequirable, detail::HasLessThanRelation > > famouso::mw::attributes::access::Attribute_RT famouso::mw::attributes::access::AttributeHeader_RT

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: