Signal value that acompanies the "messageSent" signal. More...
#include <cchannel.h>
Public Member Functions | |
MessageSentSignalValue (simtime_t_cref t, cMessage *m, result_t *r) | |
cMessage * | getMessage () const |
result_t * | getChannelResult () const |
cITimestampedValue methods | |
virtual simtime_t_cref | getTimestamp (simsignal_t signalID) const |
virtual SimsignalType | getValueType (simsignal_t signalID) const |
virtual cObject * | objectValue (simsignal_t signalID) const |
Other (non-cObject) getters throw an exception. | |
virtual bool | boolValue (simsignal_t signalID) const |
virtual long | longValue (simsignal_t signalID) const |
virtual unsigned long | unsignedLongValue (simsignal_t signalID) const |
virtual double | doubleValue (simsignal_t signalID) const |
virtual SimTime | simtimeValue (simsignal_t signalID) const |
virtual const char * | stringValue (simsignal_t signalID) const |
void | error () const |
Signal value that acompanies the "messageSent" signal.
cChannel::MessageSentSignalValue::MessageSentSignalValue | ( | simtime_t_cref | t, | |
cMessage * | m, | |||
result_t * | r | |||
) | [inline] |
Constructor.
result_t* cChannel::MessageSentSignalValue::getChannelResult | ( | ) | const [inline] |
Returns the channel result.
cMessage* cChannel::MessageSentSignalValue::getMessage | ( | ) | const [inline] |
Returns the message (packet).
virtual simtime_t_cref cChannel::MessageSentSignalValue::getTimestamp | ( | simsignal_t | signalID | ) | const [inline, virtual] |
Returns the timestamp; it represents the start of the transmission.
Implements cITimestampedValue.
virtual SimsignalType cChannel::MessageSentSignalValue::getValueType | ( | simsignal_t | signalID | ) | const [inline, virtual] |
Returns SIMSIGNAL_OBJECT.
Implements cITimestampedValue.
virtual cObject* cChannel::MessageSentSignalValue::objectValue | ( | simsignal_t | signalID | ) | const [inline, virtual] |
Returns the message (packet) as the stored object.
Implements cITimestampedValue.