cChannel::MessageSentSignalValue Class Reference

Signal value that acompanies the "messageSent" signal. More...

#include <cchannel.h>

Inheritance diagram for cChannel::MessageSentSignalValue:
cITimestampedValue cObject

List of all members.

Public Member Functions

 MessageSentSignalValue (simtime_t_cref t, cMessage *m, result_t *r)
cMessagegetMessage () const
result_tgetChannelResult () const
cITimestampedValue methods

virtual simtime_t_cref getTimestamp (simsignal_t signalID) const
virtual SimsignalType getValueType (simsignal_t signalID) const
virtual cObjectobjectValue (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

Detailed Description

Signal value that acompanies the "messageSent" signal.


Constructor & Destructor Documentation

cChannel::MessageSentSignalValue::MessageSentSignalValue ( simtime_t_cref  t,
cMessage m,
result_t r 
) [inline]

Constructor.


Member Function Documentation

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.


The documentation for this class was generated from the following file:
Generated on Tue Dec 2 11:16:28 2014 for OMNeT++ Simulation Library by  doxygen 1.6.3