EMANE  1.2.1
EMANE::Events::SlotInfo Class Reference

#include <slotinfo.h>

Public Types

enum  Type { Type::TX, Type::RX, Type::IDLE }
 

Public Member Functions

 SlotInfo (Type type, std::uint32_t u32FrameIndex, std::uint32_t u32SlotIndex, std::uint64_t u64FrequencyHz=0, std::uint64_t u64DataRatebps_=0, std::uint8_t u8ServiceClass_=0, double dPowerdBm_=0, NEMId destination=0)
 
Type getType () const
 
std::uint32_t getFrameIndex () const
 
std::uint32_t getSlotIndex () const
 
std::uint64_t getFrequency () const
 
std::uint64_t getDataRate () const
 
std::uint8_t getServiceClass () const
 
double getPower () const
 
NEMId getDestination () const
 

Detailed Description

Definition at line 43 of file slotinfo.h.

Member Enumeration Documentation

◆ Type

Enumerator
TX 
RX 
IDLE 

Definition at line 46 of file slotinfo.h.

Constructor & Destructor Documentation

◆ SlotInfo()

EMANE::Events::SlotInfo::SlotInfo ( Type  type,
std::uint32_t  u32FrameIndex,
std::uint32_t  u32SlotIndex,
std::uint64_t  u64FrequencyHz = 0,
std::uint64_t  u64DataRatebps_ = 0,
std::uint8_t  u8ServiceClass_ = 0,
double  dPowerdBm_ = 0,
NEMId  destination = 0 
)
inline

Definition at line 34 of file slotinfo.inl.

Member Function Documentation

◆ getDataRate()

std::uint64_t EMANE::Events::SlotInfo::getDataRate ( ) const
inline

Definition at line 76 of file slotinfo.inl.

◆ getDestination()

EMANE::NEMId EMANE::Events::SlotInfo::getDestination ( ) const
inline

Definition at line 94 of file slotinfo.inl.

◆ getFrameIndex()

std::uint32_t EMANE::Events::SlotInfo::getFrameIndex ( ) const
inline

Definition at line 58 of file slotinfo.inl.

◆ getFrequency()

std::uint64_t EMANE::Events::SlotInfo::getFrequency ( ) const
inline

Definition at line 70 of file slotinfo.inl.

◆ getPower()

double EMANE::Events::SlotInfo::getPower ( ) const
inline

Definition at line 88 of file slotinfo.inl.

◆ getServiceClass()

std::uint8_t EMANE::Events::SlotInfo::getServiceClass ( ) const
inline

Definition at line 82 of file slotinfo.inl.

◆ getSlotIndex()

std::uint32_t EMANE::Events::SlotInfo::getSlotIndex ( ) const
inline

Definition at line 64 of file slotinfo.inl.

◆ getType()

EMANE::Events::SlotInfo::Type EMANE::Events::SlotInfo::getType ( ) const
inline

Definition at line 52 of file slotinfo.inl.


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