EMANE  1.2.1
EMANE::Models::IEEE80211ABG::BroadcastPreTxState Class Reference

class used to define the transitions for the mac broadcast pre tx state More...

#include <broadcastpretxstate.h>

Inheritance diagram for EMANE::Models::IEEE80211ABG::BroadcastPreTxState:
EMANE::Models::IEEE80211ABG::TransmissionTxState EMANE::Utils::Singleton< BroadcastPreTxState >

Public Member Functions

 ~BroadcastPreTxState ()
 
bool process (MACLayer *, DownstreamQueueEntry &)
 
std::pair< TimePoint, bool > getWaitTime (DownstreamQueueEntry &)
 
const char * statename ()
 
virtual void update (MACLayer *, DownstreamQueueEntry &)
 

Static Public Member Functions

static BroadcastPreTxStateinstance ()
 
static void destroy ()
 

Protected Member Functions

 BroadcastPreTxState ()
 
void changeState (MACLayer *, TransmissionTxState *)
 

Detailed Description

class used to define the transitions for the mac broadcast pre tx state

Definition at line 52 of file broadcastpretxstate.h.

Constructor & Destructor Documentation

◆ ~BroadcastPreTxState()

EMANE::Models::IEEE80211ABG::BroadcastPreTxState::~BroadcastPreTxState ( )

Definition at line 44 of file broadcastpretxstate.cc.

◆ BroadcastPreTxState()

EMANE::Models::IEEE80211ABG::BroadcastPreTxState::BroadcastPreTxState ( )
protected

Definition at line 40 of file broadcastpretxstate.cc.

Member Function Documentation

◆ changeState()

void EMANE::Models::IEEE80211ABG::TransmissionTxState::changeState ( MACLayer pMgr,
TransmissionTxState pState 
)
protectedinherited

Definition at line 47 of file transmissiontxstate.cc.

◆ destroy()

static void EMANE::Utils::Singleton< BroadcastPreTxState >::destroy ( )
inlinestaticinherited

Destroys the single instance of type T. Once destroyed it cannot be used or recreated. This is not a thread-safe method.

Definition at line 67 of file singleton.h.

◆ getWaitTime()

std::pair< EMANE::TimePoint, bool > EMANE::Models::IEEE80211ABG::BroadcastPreTxState::getWaitTime ( DownstreamQueueEntry entry)
virtual

◆ instance()

static BroadcastPreTxState * EMANE::Utils::Singleton< BroadcastPreTxState >::instance ( )
inlinestaticinherited

Provides thread-safe access to a single instance of type T. It does not provide thread-safety for T methods.

Returns
A pointer to T

Definition at line 56 of file singleton.h.

◆ process()

bool EMANE::Models::IEEE80211ABG::BroadcastPreTxState::process ( MACLayer pMgr,
DownstreamQueueEntry  
)
virtual

◆ statename()

const char * EMANE::Models::IEEE80211ABG::BroadcastPreTxState::statename ( )
virtual

◆ update()

void EMANE::Models::IEEE80211ABG::TransmissionTxState::update ( MACLayer ,
DownstreamQueueEntry  
)
virtualinherited

Definition at line 54 of file transmissiontxstate.cc.


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