cITimestampedValue Class Reference

Interface for emitting timestamped values as signals, primarily for result recording. More...

#include <ctimestampedvalue.h>

Inheritance diagram for cITimestampedValue:
cChannel::MessageSentSignalValue cTimestampedValue

List of all members.

Public Member Functions

virtual ~cITimestampedValue ()
virtual simtime_t_cref getTimestamp (simsignal_t signalID) const =0
virtual SimsignalType getValueType (simsignal_t signalID) const =0
Returns the value for the given signal.

virtual bool boolValue (simsignal_t signalID) const =0
virtual long longValue (simsignal_t signalID) const =0
virtual unsigned long unsignedLongValue (simsignal_t signalID) const =0
virtual double doubleValue (simsignal_t signalID) const =0
virtual SimTime simtimeValue (simsignal_t signalID) const =0
virtual const char * stringValue (simsignal_t signalID) const =0
virtual cObjectobjectValue (simsignal_t signalID) const =0

Detailed Description

Interface for emitting timestamped values as signals, primarily for result recording.

Note: The signalID argument is present in the methods to allow the same object to support multiple signals.


Member Function Documentation

virtual simtime_t_cref cITimestampedValue::getTimestamp ( simsignal_t  signalID  )  const [pure virtual]

Returns the timestamp for the given signal.

Implemented in cChannel::MessageSentSignalValue, and cTimestampedValue.

virtual SimsignalType cITimestampedValue::getValueType ( simsignal_t  signalID  )  const [pure virtual]

Returns the value's data type for the given signal.

Implemented in cChannel::MessageSentSignalValue, and cTimestampedValue.


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