EMANE  1.2.1
EMANE::Models::IEEE80211ABG::UnicastPreTxState Class Reference

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

#include <unicastpretxstate.h>

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

Public Member Functions

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

Static Public Member Functions

static UnicastPreTxStateinstance ()
 
static void destroy ()
 

Protected Member Functions

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

Detailed Description

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

Definition at line 52 of file unicastpretxstate.h.

Constructor & Destructor Documentation

◆ ~UnicastPreTxState()

EMANE::Models::IEEE80211ABG::UnicastPreTxState::~UnicastPreTxState ( )

Definition at line 43 of file unicastpretxstate.cc.

◆ UnicastPreTxState()

EMANE::Models::IEEE80211ABG::UnicastPreTxState::UnicastPreTxState ( )
protected

Definition at line 40 of file unicastpretxstate.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< UnicastPreTxState >::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::UnicastPreTxState::getWaitTime ( DownstreamQueueEntry entry)
virtual

◆ instance()

static UnicastPreTxState * EMANE::Utils::Singleton< UnicastPreTxState >::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::UnicastPreTxState::process ( MACLayer pMgr,
DownstreamQueueEntry  
)
virtual

◆ statename()

const char * EMANE::Models::IEEE80211ABG::UnicastPreTxState::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: