EMANE  1.2.1
EMANE::Models::TDMA::SlotStatusTablePublisher Class Reference

Slot statistic and statistic table status publisher. More...

#include <slotstatustablepublisher.h>

Public Types

enum  Status {
  Status::TX_GOOD, Status::TX_MISSED, Status::TX_TOOBIG, Status::RX_GOOD,
  Status::RX_MISSED, Status::RX_IDLE, Status::RX_TX, Status::RX_TOOLONG,
  Status::RX_WRONGFREQ, Status::RX_LOCK
}
 

Public Member Functions

void registerStatistics (StatisticRegistrar &registrar)
 
void update (std::uint32_t u32RelativeIndex, std::uint32_t u32RelativeFrameIndex, std::uint32_t u32RelativeSlotIndex, Status status, double dSlotRemainingRatio)
 
void clear ()
 

Detailed Description

Slot statistic and statistic table status publisher.

Slot statistic tables can be used to determine how well the emulator is keeping up with the configured slotting structure.

Definition at line 56 of file slotstatustablepublisher.h.

Member Enumeration Documentation

◆ Status

Enumerator
TX_GOOD 
TX_MISSED 
TX_TOOBIG 
RX_GOOD 
RX_MISSED 
RX_IDLE 
RX_TX 
RX_TOOLONG 
RX_WRONGFREQ 
RX_LOCK 

Definition at line 59 of file slotstatustablepublisher.h.

Member Function Documentation

◆ clear()

void EMANE::Models::TDMA::SlotStatusTablePublisher::clear ( )

Definition at line 81 of file slotstatustablepublisher.cc.

◆ registerStatistics()

void EMANE::Models::TDMA::SlotStatusTablePublisher::registerStatistics ( StatisticRegistrar registrar)

Definition at line 36 of file slotstatustablepublisher.cc.

◆ update()

void EMANE::Models::TDMA::SlotStatusTablePublisher::update ( std::uint32_t  u32RelativeIndex,
std::uint32_t  u32RelativeFrameIndex,
std::uint32_t  u32RelativeSlotIndex,
Status  status,
double  dSlotRemainingRatio 
)

Definition at line 91 of file slotstatustablepublisher.cc.


The documentation for this class was generated from the following files: