OMNeT++ API 6.1
Discrete Event Simulation Library
cITimestampedValue Class Referenceabstract

Description

Interface for emitting timestamped values as signals, primarily for result recording.

Note: The signalID argument is present in the methods to allow the same object to support multiple signals.

Inheritance diagram for cITimestampedValue:
[legend]

Public Member Functions

virtual ~cITimestampedValue ()
 
virtual simtime_t_cref getTimestamp (simsignal_t signalID) const =0
 
virtual SimsignalType getValueType (simsignal_t signalID) const =0
 
Returns the value for the given signal.
virtual bool boolValue (simsignal_t signalID) const =0
 
virtual intval_t intValue (simsignal_t signalID) const =0
 
virtual uintval_t uintValue (simsignal_t signalID) const =0
 
virtual double doubleValue (simsignal_t signalID) const =0
 
virtual SimTime simtimeValue (simsignal_t signalID) const =0
 
virtual const char * stringValue (simsignal_t signalID) const =0
 
virtual cObjectobjectValue (simsignal_t signalID) const =0
 
intval_t longValue (simsignal_t signalID) const
 
uintval_t unsignedLongValue (simsignal_t signalID) const
 

Constructor & Destructor Documentation

◆ ~cITimestampedValue()

virtual ~cITimestampedValue ( )
inlinevirtual

Virtual destructor

Member Function Documentation

◆ getTimestamp()

virtual simtime_t_cref getTimestamp ( simsignal_t  signalID) const
pure virtual

Returns the timestamp for the given signal.

Implemented in cTimestampedValue, and cChannel::MessageSentSignalValue.

◆ getValueType()

virtual SimsignalType getValueType ( simsignal_t  signalID) const
pure virtual

Returns the value's data type for the given signal.

Implemented in cTimestampedValue, and cChannel::MessageSentSignalValue.


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