24 #include "ns3/time-series-adaptor.h"
25 #include "ns3/object.h"
26 #include "ns3/traced-value.h"
28 #include "ns3/simulator.h"
41 .AddConstructor<TimeSeriesAdaptor> ()
42 .AddTraceSource (
"Output",
43 "The current simulation time versus the current value converted to a double",
virtual bool IsEnabled(void) const
Check the status of an individual object.
#define NS_LOG_FUNCTION(parameters)
If log level LOG_FUNCTION is enabled, this macro will output all input parameters separated by "...
Base class for data collection framework objects.
#define NS_OBJECT_ENSURE_REGISTERED(type)
Register the class in the ns-3 factory.
#define NS_LOG_COMPONENT_DEFINE(name)
Define a Log component with a specific name.
void TraceSinkUinteger32(uint32_t oldData, uint32_t newData)
Trace sink for receiving data from uint32_t valued trace sources.
void TraceSinkUinteger8(uint8_t oldData, uint8_t newData)
Trace sink for receiving data from uint8_t valued trace sources.
Ptr< const TraceSourceAccessor > MakeTraceSourceAccessor(T a)
virtual ~TimeSeriesAdaptor()
static Time Now(void)
Return the "current simulation time".
#define NS_LOG_DEBUG(msg)
Use NS_LOG to output a message of level LOG_DEBUG.
void TraceSinkUinteger16(uint16_t oldData, uint16_t newData)
Trace sink for receiving data from uint16_t valued trace sources.
void TraceSinkDouble(double oldData, double newData)
Trace sink for receiving data from double valued trace sources.
void TraceSinkBoolean(bool oldData, bool newData)
Trace sink for receiving data from bool valued trace sources.
TracedCallback< double, double > m_output
output trace
static TypeId GetTypeId(void)
Get the type ID.
a unique identifier for an interface.
TypeId SetParent(TypeId tid)