TTEthernet Model for INET Framework
|
Simple Test-Application. More...
#include <TrafficSourceAppBase.h>
Protected Member Functions | |
virtual void | initialize () |
Initialization of the module. More... | |
virtual void | sendMessage () |
Generates and sends a new Message. More... | |
Additional Inherited Members | |
![]() | |
virtual void | executeCallback (Callback *cb) |
executes the given Callback in the context of the Application More... | |
virtual void | handleParameterChange (const char *parname) |
Indicates a parameter has changed. More... | |
![]() | |
std::map< uint16_t, std::list < Buffer * > > | buffers |
Map of critical traffic identifies with their corresponding Buffers. More... | |
Simple Test-Application.
Definition at line 31 of file TrafficSourceAppBase.h.
|
protectedvirtual |
Initialization of the module.
Sends activator message
Reimplemented in TTEthernetModel::TTTrafficSourceApp, and TTEthernetModel::RCTrafficSourceApp.
Definition at line 26 of file TrafficSourceAppBase.cc.
Referenced by TTEthernetModel::RCTrafficSourceApp::initialize(), and TTEthernetModel::TTTrafficSourceApp::initialize().
|
protectedvirtual |
Generates and sends a new Message.
The message is sent to the buffer with the ct_id defined in parameter ct_id of the module. The message kind is defined by the buffer-type (RC/TT) of the buffer the message is sent to. The size is defined by the payload parameter of the module.
Definition at line 31 of file TrafficSourceAppBase.cc.
Referenced by TTEthernetModel::RCTrafficSourceApp::handleMessage(), and TTEthernetModel::TTTrafficSourceApp::handleMessage().