OMNeT++ Simulation Library
5.6.1
|
#include <ctimestampedvalue.h>
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.
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 long | longValue (simsignal_t signalID) const =0 |
virtual unsigned long | unsignedLongValue (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 cObject * | objectValue (simsignal_t signalID) const =0 |
|
inlinevirtual |
Virtual destructor
|
pure virtual |
Returns the timestamp for the given signal.
Implemented in cTimestampedValue, and cChannel::MessageSentSignalValue.
|
pure virtual |
Returns the value's data type for the given signal.
Implemented in cTimestampedValue, and cChannel::MessageSentSignalValue.