RINASim  October 2016
Documentation of framework for OMNeT++
TxControlPolicyLG Class Reference

#include <TxControlPolicyLG.h>

Inheritance diagram for TxControlPolicyLG:
TxControlPolicyBase EFCPPolicy

Public Member Functions

 TxControlPolicyLG ()
 
virtual ~TxControlPolicyLG ()
 
virtual bool run (DTPState *dtpState, DTCPState *dtcpState)
 
void updateRate (double load, double acked)
 
double getActualRate (DTPState *dtpState)
 
double getRate ()
 
void initialize ()
 
- Public Member Functions inherited from TxControlPolicyBase
 TxControlPolicyBase ()
 
virtual ~TxControlPolicyBase ()
 
void defaultAction (DTPState *dtpState, DTCPState *dtcpState)
 
- Public Member Functions inherited from EFCPPolicy
 EFCPPolicy ()
 
virtual ~EFCPPolicy ()
 
virtual bool call (DTPState *dtpState, DTCPState *dtcpState)
 

Private Attributes

double rate
 
double alpha
 
double flightSize
 
double sendCredit
 
simsignal_t sigStatRate
 
simsignal_t sigStatFlightSize
 

Additional Inherited Members

- Protected Member Functions inherited from TxControlPolicyBase
virtual void handleMessage (cMessage *msg)
 

Detailed Description

Definition at line 41 of file TxControlPolicyLG.h.

Constructor & Destructor Documentation

TxControlPolicyLG::TxControlPolicyLG ( )

Definition at line 37 of file TxControlPolicyLG.cc.

TxControlPolicyLG::~TxControlPolicyLG ( )
virtual

Definition at line 44 of file TxControlPolicyLG.cc.

Member Function Documentation

double TxControlPolicyLG::getActualRate ( DTPState dtpState)

Definition at line 62 of file TxControlPolicyLG.cc.

Referenced by run().

double TxControlPolicyLG::getRate ( )

Definition at line 67 of file TxControlPolicyLG.cc.

Referenced by run().

void TxControlPolicyLG::initialize ( )
virtual

Reimplemented from TxControlPolicyBase.

Definition at line 48 of file TxControlPolicyLG.cc.

bool TxControlPolicyLG::run ( DTPState dtpState,
DTCPState dtcpState 
)
virtual

Implements TxControlPolicyBase.

Definition at line 72 of file TxControlPolicyLG.cc.

void TxControlPolicyLG::updateRate ( double  load,
double  acked 
)

Definition at line 53 of file TxControlPolicyLG.cc.

Referenced by SenderAckPolicyLG::run().

Member Data Documentation

double TxControlPolicyLG::alpha
private

Definition at line 45 of file TxControlPolicyLG.h.

Referenced by TxControlPolicyLG(), and updateRate().

double TxControlPolicyLG::flightSize
private

Definition at line 46 of file TxControlPolicyLG.h.

Referenced by getActualRate(), run(), TxControlPolicyLG(), and updateRate().

double TxControlPolicyLG::rate
private

Definition at line 44 of file TxControlPolicyLG.h.

Referenced by getRate(), TxControlPolicyLG(), and updateRate().

double TxControlPolicyLG::sendCredit
private

Definition at line 47 of file TxControlPolicyLG.h.

Referenced by run().

simsignal_t TxControlPolicyLG::sigStatFlightSize
private

Definition at line 52 of file TxControlPolicyLG.h.

Referenced by initialize(), run(), and updateRate().

simsignal_t TxControlPolicyLG::sigStatRate
private

Definition at line 51 of file TxControlPolicyLG.h.

Referenced by initialize(), and updateRate().


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