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

Time-triggered double buffer class. More...

#include <TTDoubleBuffer.h>

Inheritance diagram for TTEthernetModel::TTDoubleBuffer:
TTEthernetModel::TTBuffer TTEthernetModel::DoubleBuffer TTEthernetModel::CTBuffer TTEthernetModel::Buffer TTEthernetModel::Buffer

Additional Inherited Members

- Public Member Functions inherited from TTEthernetModel::TTBuffer
 TTBuffer ()
 Constructor. More...
 
 ~TTBuffer ()
 Destructor. More...
 
- Public Member Functions inherited from TTEthernetModel::DoubleBuffer
 DoubleBuffer ()
 Constructor. More...
 
virtual ~DoubleBuffer ()
 Destructor. More...
 
- Protected Member Functions inherited from TTEthernetModel::TTBuffer
virtual void initialize (int stage)
 Initializes the SchedulerActionTimeEvent. 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::DoubleBuffer
virtual void enqueue (EtherFrame *newFrame)
 Stores a new frame. More...
 
virtual EtherFrame * dequeue ()
 Returns the frame that is stored in the buffer. 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...
 

Detailed Description

Time-triggered double buffer class.

The Frame is stored and released time-triggered using a previously registered SchedulerActionTimeEvent. The Buffer interacts with the TTEScheduler.

See Also
TTBuffer, TTDoubleBuffer, CTBuffer

Definition at line 36 of file TTDoubleBuffer.h.


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