cMessage class for OMNET++ API compatibility. This provides a heavier message class than Sim::Event, with short 'kind' and std::string 'name' attributes. The events by default are scheduled using cProcess::scheduleAt(), and handled using cProcess::handleMessage() (as per OMNET++). NB: cProcess::scheduleAt() uses simulation time rather than time in state (which is used by Sim::self_signal_event()).
More...
#include <microsimulation.h>
cMessage class for OMNET++ API compatibility. This provides a heavier message class than Sim::Event, with short 'kind' and std::string 'name' attributes. The events by default are scheduled using cProcess::scheduleAt(), and handled using cProcess::handleMessage() (as per OMNET++). NB: cProcess::scheduleAt() uses simulation time rather than time in state (which is used by Sim::self_signal_event()).
Definition at line 191 of file microsimulation.h.
◆ cMessage()
ssim::cMessage::cMessage |
( |
const short |
k = -1 , |
|
|
const string |
n = "" |
|
) |
| |
|
inline |
◆ getKind()
short ssim::cMessage::getKind |
( |
| ) |
|
|
inline |
◆ getName()
string ssim::cMessage::getName |
( |
| ) |
|
|
inline |
◆ getSendingTime()
Time ssim::cMessage::getSendingTime |
( |
| ) |
|
|
inline |
◆ getTimestamp()
Time ssim::cMessage::getTimestamp |
( |
| ) |
|
|
inline |
◆ str()
string ssim::cMessage::str |
( |
| ) |
const |
|
inlinevirtual |
◆ kind
short ssim::cMessage::kind |
◆ name
string ssim::cMessage::name |
◆ sendingTime
Time ssim::cMessage::sendingTime |
◆ timestamp
Time ssim::cMessage::timestamp |
The documentation for this class was generated from the following file: