TTEthernet Model for INET Framework
|
Class for a queuing background (best-effort) buffer class. More...
#include <BGQueueBuffer.h>
Additional Inherited Members | |
![]() | |
~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... | |
Callback * | getReceiveCallback (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... | |
Callback * | getTransmitCallback (TTEApplicationBase *application) |
Returns the currently registered transmit callback for an application. More... | |
![]() | |
QueueBuffer () | |
Constructor for the class. More... | |
~QueueBuffer () | |
Destructor for the class. More... | |
![]() | |
virtual void | initialize () |
Initializes the module. More... | |
virtual void | handleMessage (cMessage *msg) |
Is called when a new Frame is received in the buffer. More... | |
![]() | |
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... | |
![]() | |
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 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 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... | |
Class for a queuing background (best-effort) buffer class.
Definition at line 33 of file BGQueueBuffer.h.