OMNeT++ Simulation Library
6.0.3
|
#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 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 cObject * | objectValue (simsignal_t signalID) const =0 |
intval_t | longValue (simsignal_t signalID) const |
uintval_t | unsignedLongValue (simsignal_t signalID) const |
|
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.