OMNeT++ Simulation Library  5.6.1
cTimestampedValue Class Reference

#include <ctimestampedvalue.h>


A straightforward implementation of cITimestampedValue.

Inheritance diagram for cTimestampedValue:
cITimestampedValue cObject

Public Member Functions

virtual simtime_t_cref getTimestamp (simsignal_t signalID) const override
virtual SimsignalType getValueType (simsignal_t signalID) const override
 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)
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 override
virtual long longValue (simsignal_t signalID) const override
virtual unsigned long unsignedLongValue (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 cObjectobjectValue (simsignal_t signalID) const override
- Public Member Functions inherited from cITimestampedValue
virtual ~cITimestampedValue ()
- Public Member Functions inherited from cObject
 cObject ()
 cObject (const cObject &other)
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
const cObjectgetThisPtr () const
virtual std::string str () const
virtual _OPPDEPRECATED std::string info () const
virtual _OPPDEPRECATED std::string detailedInfo () const
virtual cObjectdup () const
virtual void parsimPack (cCommBuffer *buffer) const
virtual void parsimUnpack (cCommBuffer *buffer)
virtual cObjectgetOwner () const
virtual bool isOwnedObject () const
virtual void forEachChild (cVisitor *v)
cObjectfindObject (const char *name, bool deep=true)
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)

Member Function Documentation

◆ getTimestamp()

virtual simtime_t_cref getTimestamp ( simsignal_t  signalID) const

Returns the stored timestamp.

Implements cITimestampedValue.

◆ getValueType()

virtual SimsignalType getValueType ( simsignal_t  signalID) const

Returns the data type of the stored value.

Implements cITimestampedValue.

The documentation for this class was generated from the following file: