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

Rate-constrained queue buffer class. More...

#include <RCQueueBuffer.h>

Inheritance diagram for TTEthernetModel::RCQueueBuffer:
TTEthernetModel::RCBuffer TTEthernetModel::QueueBuffer TTEthernetModel::CTBuffer TTEthernetModel::Buffer TTEthernetModel::Buffer

Additional Inherited Members

- Public Member Functions inherited from TTEthernetModel::RCBuffer
 RCBuffer ()
 Constructor. More...
 
virtual ~RCBuffer ()
 Destructor. More...
 
virtual void resetBag ()
 resets the bag for a destination gate. 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::RCBuffer
virtual void initialize (int stage)
 Initializes the timerMessage. More...
 
virtual int numInitStages () const
 Returns the numer of initializaiton stages this module needs. More...
 
virtual void handleMessage (cMessage *msg)
 handles the incoming and outgoing messages of the buffer. More...
 
virtual void handleParameterChange (const char *parname)
 Indicates a parameter has changed. 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::CTBuffer
uint32_t ctMask
 caches ct_mask parameter More...
 
uint32_t ctMarker
 caches ct_marker parameter More...
 
uint16_t ctId
 caches ct_id parameter 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

Rate-constrained queue buffer class.

The Frame is stored and released immediately when the bag has expired previously. If the bag has not expired yet the frame is stored. The implementation uses a SchedulerTimerEvent that is registered at the TTEScheduler.

The queue is an endless fifo queue

See Also
RCBuffer, RCQueueBuffer, CTBuffer

Definition at line 39 of file RCQueueBuffer.h.


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