OMNeT++ Simulation Library  6.0.3
cTimestampedValue Class Reference

#include <ctimestampedvalue.h>

Description

A straightforward implementation of cITimestampedValue.

Inheritance diagram for cTimestampedValue:
cITimestampedValue cObject

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 cObjectobjectValue (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 cObjectgetThisPtr () const
 
virtual std::string str () const
 
virtual std::ostream & printOn (std::ostream &os) const
 
virtual cObjectdup () const
 
virtual void parsimPack (cCommBuffer *buffer) const
 
virtual void parsimUnpack (cCommBuffer *buffer)
 
virtual cObjectgetOwner () const
 
virtual bool isOwnedObject () const
 
virtual bool isSoftOwner () const
 
virtual void forEachChild (cVisitor *v)
 
cObjectfindObject (const char *name, bool deep=true)
 
virtual cClassDescriptorgetDescriptor () 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)
 

Member Function Documentation

◆ getTimestamp()

virtual simtime_t_cref getTimestamp ( simsignal_t  signalID) const
inlineoverridevirtual

Returns the stored timestamp.

Implements cITimestampedValue.

◆ getValueType()

virtual SimsignalType getValueType ( simsignal_t  signalID) const
inlineoverridevirtual

Returns the data type of the stored value.

Implements cITimestampedValue.


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