cTimestampedValue Class Reference

A straightforward implementation of cITimestampedValue. More...

#include <ctimestampedvalue.h>

Inheritance diagram for cTimestampedValue:
cITimestampedValue cObject

List of all members.

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 cObjectobjectValue (simsignal_t signalID) const

Detailed Description

A straightforward implementation of cITimestampedValue.


Member Function Documentation

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.


The documentation for this class was generated from the following file:
Generated on Tue Dec 2 11:16:30 2014 for OMNeT++ Simulation Library by  doxygen 1.6.3