A straightforward implementation of cITimestampedValue. More...
#include <ctimestampedvalue.h>
Public Member Functions | |
virtual simtime_t_cref | getTimestamp (simsignal_t signalID) const |
virtual SimsignalType | getValueType (simsignal_t signalID) const |
Constructors | |
cTimestampedValue () | |
cTimestampedValue (simtime_t timestamp, bool b) | |
cTimestampedValue (simtime_t timestamp, long l) | |
cTimestampedValue (simtime_t timestamp, unsigned long ul) | |
cTimestampedValue (simtime_t timestamp, double d) | |
cTimestampedValue (simtime_t timestamp, const SimTime &t) | |
cTimestampedValue (simtime_t timestamp, const char *s) | |
cTimestampedValue (simtime_t timestamp, cObject *obj) | |
Setters | |
void | set (simtime_t timestamp, bool b) |
void | set (simtime_t timestamp, long l) |
void | set (simtime_t timestamp, unsigned long ul) |
void | set (simtime_t timestamp, double d) |
void | set (simtime_t timestamp, const SimTime &t) |
void | set (simtime_t timestamp, const char *s) |
void | set (simtime_t timestamp, cObject *obj) |
Getters. Call the one that corresponds to the stored type. | |
virtual bool | boolValue (simsignal_t signalID) const |
virtual long | longValue (simsignal_t signalID) const |
virtual unsigned long | unsignedLongValue (simsignal_t signalID) const |
virtual double | doubleValue (simsignal_t signalID) const |
virtual SimTime | simtimeValue (simsignal_t signalID) const |
virtual const char * | stringValue (simsignal_t signalID) const |
virtual cObject * | objectValue (simsignal_t signalID) const |
A straightforward implementation of cITimestampedValue.
virtual simtime_t_cref cTimestampedValue::getTimestamp | ( | simsignal_t | signalID | ) | const [inline, virtual] |
Returns the stored timestamp.
Implements cITimestampedValue.
virtual SimsignalType cTimestampedValue::getValueType | ( | simsignal_t | signalID | ) | const [inline, virtual] |
Returns the data type of the stored value.
Implements cITimestampedValue.