A straightforward implementation of cITimestampedValue.
Public Member Functions | |
Constructors | |
cTimestampedValue () | |
cTimestampedValue (simtime_t timestamp, bool b) | |
cTimestampedValue (simtime_t timestamp, intval_t l) | |
cTimestampedValue (simtime_t timestamp, uintval_t 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, intval_t l) |
void | set (simtime_t timestamp, uintval_t 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) |
virtual simtime_t_cref | getTimestamp (simsignal_t signalID) const override |
virtual SimsignalType | getValueType (simsignal_t signalID) const override |
Getters. Call the one that corresponds to the stored type. | |
virtual bool | boolValue (simsignal_t signalID) const override |
virtual intval_t | intValue (simsignal_t signalID) const override |
virtual uintval_t | uintValue (simsignal_t signalID) const override |
virtual double | doubleValue (simsignal_t signalID) const override |
virtual SimTime | simtimeValue (simsignal_t signalID) const override |
virtual const char * | stringValue (simsignal_t signalID) const override |
virtual cObject * | objectValue (simsignal_t signalID) const override |
Public Member Functions inherited from cITimestampedValue | |
virtual | ~cITimestampedValue () |
intval_t | longValue (simsignal_t signalID) const |
uintval_t | unsignedLongValue (simsignal_t signalID) const |
Public Member Functions inherited from cObject | |
cObject () | |
cObject (const cObject &other)=default | |
virtual | ~cObject () |
virtual const char * | getClassName () const |
virtual const char * | getName () const |
bool | isName (const char *s) const |
virtual const char * | getFullName () const |
virtual std::string | getFullPath () const |
virtual std::string | getClassAndFullName () const |
virtual std::string | getClassAndFullPath () const |
const cObject * | getThisPtr () const |
virtual std::string | str () const |
virtual std::ostream & | printOn (std::ostream &os) const |
virtual cObject * | dup () const |
virtual void | parsimPack (cCommBuffer *buffer) const |
virtual void | parsimUnpack (cCommBuffer *buffer) |
virtual cObject * | getOwner () const |
virtual bool | isOwnedObject () const |
virtual bool | isSoftOwner () const |
virtual void | forEachChild (cVisitor *v) |
cObject * | findObject (const char *name, bool deep=true) |
virtual cClassDescriptor * | getDescriptor () const |
void | copyNotSupported () const |
Additional Inherited Members | |
Protected Member Functions inherited from cObject | |
virtual void | take (cOwnedObject *obj) |
virtual void | drop (cOwnedObject *obj) |
void | dropAndDelete (cOwnedObject *obj) |
|
inlineoverridevirtual |
Returns the stored timestamp.
Implements cITimestampedValue.
|
inlineoverridevirtual |
Returns the data type of the stored value.
Implements cITimestampedValue.