TTEthernet Model for INET Framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
TTEthernetModel::BGQueueBuffer Class Reference

Class for a queuing background (best-effort) buffer class. More...

#include <BGQueueBuffer.h>

Inheritance diagram for TTEthernetModel::BGQueueBuffer:
TTEthernetModel::BGBuffer TTEthernetModel::QueueBuffer TTEthernetModel::Buffer TTEthernetModel::Buffer

Additional Inherited Members

- Public Member Functions inherited from TTEthernetModel::Buffer
 ~Buffer ()
 Destructor. More...
 
virtual void handleParameterChange (const char *parname)
 Indicates a parameter has changed. More...
 
EtherFrame * getFrame ()
 Wrapper function arround dequeue(). More...
 
void putFrame (EtherFrame *frame)
 Wrapper function arround enqueue(). More...
 
void addReceiveCallback (Callback *cb, TTEApplicationBase *application)
 Adds a receive callback for an application to the buffer. More...
 
CallbackgetReceiveCallback (TTEApplicationBase *application)
 Returns the currently registered receive callback for an application. More...
 
void addTransmitCallback (Callback *cb, TTEApplicationBase *application)
 Adds a transmit callback for an application to the buffer. More...
 
CallbackgetTransmitCallback (TTEApplicationBase *application)
 Returns the currently registered transmit callback for an application. More...
 
- Public Member Functions inherited from TTEthernetModel::QueueBuffer
 QueueBuffer ()
 Constructor for the class. More...
 
 ~QueueBuffer ()
 Destructor for the class. More...
 
- Protected Member Functions inherited from TTEthernetModel::BGBuffer
virtual void initialize ()
 Initializes the module. More...
 
virtual void handleMessage (cMessage *msg)
 Is called when a new Frame is received in the buffer. More...
 
- Protected Member Functions inherited from TTEthernetModel::QueueBuffer
virtual void enqueue (EtherFrame *newFrame)
 Inserts EtherFrame in the Queue and emits the queue length. More...
 
virtual EtherFrame * dequeue ()
 Removes and returns an EtherFrame from the Queue and emits the queue length. More...
 
- Protected Attributes inherited from TTEthernetModel::Buffer
std::list< cGate * > destinationGates
 Stores the Gates to that the messages are delivered. More...
 
std::map< TTEApplicationBase
*, Callback * > 
receiveCallbacks
 Stores the callbacks that are executed when a frame is added to the buffer. More...
 
std::map< TTEApplicationBase
*, Callback * > 
transmitCallbacks
 Stores the callbacks that are executed when a frame is removed from the buffer. More...
 
- Static Protected Attributes inherited from TTEthernetModel::Buffer
static simsignal_t txPkSignal = SIMSIGNAL_NULL
 Signal that is emitted every time a frame was sent. More...
 
static simsignal_t latencySignal = SIMSIGNAL_NULL
 Signal that contains the latency until the frame enters the buffer. More...
 
- Static Protected Attributes inherited from TTEthernetModel::QueueBuffer
static simsignal_t queueLengthSignal = SIMSIGNAL_NULL
 Signal containing the queue length, that is emitted every time a frame was inserted or removed. More...
 
static simsignal_t ctDroppedSignal = SIMSIGNAL_NULL
 Signal that is emitted when a frame is dropped. More...
 

Detailed Description

Class for a queuing background (best-effort) buffer class.

See Also
BGBuffer, QueueBuffer, Buffer

Definition at line 33 of file BGQueueBuffer.h.


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