OMNeT++ API 6.1
Discrete Event Simulation Library
cChannel::MessageSentSignalValue Class Reference

Description

Signal value that accompanies the "messageSent" signal.

Inheritance diagram for cChannel::MessageSentSignalValue:
[legend]

Public Member Functions

 MessageSentSignalValue (simtime_t_cref t, cMessage *m, Result *r)
 
cITimestampedValue methods
virtual simtime_t_cref getTimestamp (simsignal_t signalID) const override
 
virtual SimsignalType getValueType (simsignal_t signalID) const override
 
virtual cObjectobjectValue (simsignal_t signalID) const override
 
cMessagegetMessage () const
 
ResultgetChannelResult () const
 
Other (non-cObject) getters throw an exception.
virtual bool boolValue (simsignal_t signalID) const override
 
virtual intval_t intValue (simsignal_t signalID) const override
 
virtual uintval_t uintValue (simsignal_t signalID) const override
 
virtual double doubleValue (simsignal_t signalID) const override
 
virtual SimTime simtimeValue (simsignal_t signalID) const override
 
virtual const char * stringValue (simsignal_t signalID) const override
 
- Public Member Functions inherited from cITimestampedValue
virtual ~cITimestampedValue ()
 
intval_t longValue (simsignal_t signalID) const
 
uintval_t unsignedLongValue (simsignal_t signalID) const
 
- Public Member Functions inherited from cObject
 cObject ()
 
 cObject (const cObject &other)=default
 
virtual ~cObject ()
 
virtual const char * getClassName () const
 
virtual const char * getName () const
 
bool isName (const char *s) const
 
virtual const char * getFullName () const
 
virtual std::string getFullPath () const
 
virtual std::string getClassAndFullName () const
 
virtual std::string getClassAndFullPath () const
 
const cObjectgetThisPtr () const
 
virtual std::string str () const
 
virtual std::ostream & printOn (std::ostream &os) const
 
virtual cObjectdup () const
 
virtual void parsimPack (cCommBuffer *buffer) const
 
virtual void parsimUnpack (cCommBuffer *buffer)
 
virtual cObjectgetOwner () const
 
virtual bool isOwnedObject () const
 
virtual bool isSoftOwner () const
 
virtual void forEachChild (cVisitor *v)
 
cObjectfindObject (const char *name, bool deep=true)
 
virtual cClassDescriptorgetDescriptor () const
 
void copyNotSupported () const
 

Additional Inherited Members

- Protected Member Functions inherited from cObject
virtual void take (cOwnedObject *obj)
 
virtual void drop (cOwnedObject *obj)
 
void dropAndDelete (cOwnedObject *obj)
 

Constructor & Destructor Documentation

◆ MessageSentSignalValue()

MessageSentSignalValue ( simtime_t_cref  t,
cMessage m,
Result r 
)
inline

Constructor.

Member Function Documentation

◆ getTimestamp()

virtual simtime_t_cref getTimestamp ( simsignal_t  signalID) const
inlineoverridevirtual

Returns the timestamp; it represents the start of the transmission.

Implements cITimestampedValue.

◆ getValueType()

virtual SimsignalType getValueType ( simsignal_t  signalID) const
inlineoverridevirtual

Returns SIMSIGNAL_OBJECT.

Implements cITimestampedValue.

◆ objectValue()

virtual cObject* objectValue ( simsignal_t  signalID) const
inlineoverridevirtual

Returns the message (packet) as the stored object.

Implements cITimestampedValue.

◆ getMessage()

cMessage* getMessage ( ) const
inline

Returns the message (packet).

◆ getChannelResult()

Result* getChannelResult ( ) const
inline

Returns the channel result.


The documentation for this class was generated from the following file: