TTEthernet Model for INET Framework
|
Dummy sync module. More...
#include <DummySync.h>
Protected Member Functions | |
virtual void | initialize (int stage) |
Initializes the dummy synchronization module. More... | |
virtual int | numInitStages () const |
Returns the numer of initializaiton stages this module needs. More... | |
virtual void | handleMessage (cMessage *msg) |
dummy synchronization function. More... | |
![]() | |
void | notify (SyncNotificationKind kind) |
Dummy sync module.
This module corrects the time of a node by using the simulation time
Definition at line 31 of file DummySync.h.
|
protectedvirtual |
dummy synchronization function.
msg | Event of the scheduler that triggers the synchronization |
Definition at line 47 of file DummySync.cc.
|
protectedvirtual |
Initializes the dummy synchronization module.
registers an event in the scheduler to trigger the synchronization
stage | the stages. Module registers events when stage==1 |
Definition at line 30 of file DummySync.cc.
|
protectedvirtual |
Returns the numer of initializaiton stages this module needs.
Definition at line 25 of file DummySync.cc.