Interface for emitting timestamped values as signals, primarily for result recording. More...
#include <ctimestampedvalue.h>
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 |
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.
virtual simtime_t_cref cITimestampedValue::getTimestamp | ( | simsignal_t | signalID | ) | const [pure virtual] |
Returns the timestamp for the given signal.
Implemented in cChannel::MessageSentSignalValue, and cTimestampedValue.
virtual SimsignalType cITimestampedValue::getValueType | ( | simsignal_t | signalID | ) | const [pure virtual] |
Returns the value's data type for the given signal.
Implemented in cChannel::MessageSentSignalValue, and cTimestampedValue.