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

Rate-constrained double buffer class. More...

#include <RCDoubleBuffer.h>

Inheritance diagram for TTEthernetModel::RCDoubleBuffer:
TTEthernetModel::RCBuffer TTEthernetModel::DoubleBuffer TTEthernetModel::CTBuffer 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...
 
- 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 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...
 
- 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...
 
- Private Member Functions inherited from TTEthernetModel::DoubleBuffer
 DoubleBuffer ()
 Constructor. More...
 
virtual ~DoubleBuffer ()
 Destructor. More...
 
virtual void enqueue (EtherFrame *newFrame)
 Stores a new frame. More...
 
virtual EtherFrame * dequeue ()
 Returns the frame that is stored in the buffer. More...
 

Detailed Description

Rate-constrained double 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.

See Also
RCBuffer, RCDoubleBuffer, CTBuffer

Definition at line 37 of file RCDoubleBuffer.h.


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