Traces changes to a single parameter of a single Function. More...

#include <ParameterTracer.h>

Inheritance diagram for MEAL::ParameterTracer:
MEAL::Tracer Reference::Able Reference::HeapTracked

Public Member Functions

 ParameterTracer (Function *model=0, unsigned param=0)
 Default constructor.
 
virtual void watch (Function *model, unsigned param)
 Trace the specified parameter of the specified function.
 
- Public Member Functions inherited from MEAL::Tracer
 Tracer ()
 Default constructor.
 
 ~Tracer ()
 Destructor.
 
virtual void watch (Function *)
 Trace changes in the specified function.
 
- Public Member Functions inherited from Reference::Able
 Able (const Able &)
 
Ableoperator= (const Able &)
 
unsigned get_reference_count () const
 
- Public Member Functions inherited from Reference::HeapTracked
 HeapTracked (const HeapTracked &)
 
HeapTrackedoperator= (const HeapTracked &)
 
bool __is_on_heap () const
 

Protected Member Functions

void report ()
 Report the parameter value.
 
- Protected Member Functions inherited from MEAL::Tracer
virtual void attribute_changed (Function::Attribute attribute)
 Method called when a Function attribute has changed.
 
- Protected Member Functions inherited from Reference::Able
Handle__reference (bool active) const
 
void __dereference (bool auto_delete=true) const
 

Protected Attributes

unsigned parameter
 The parameter to watch.
 
double current_value
 The current value of the watched parameter.
 
- Protected Attributes inherited from MEAL::Tracer
Reference::To< Functionmodel
 The function to watch.
 

Additional Inherited Members

- Static Public Member Functions inherited from Reference::Able
static size_t get_instance_count ()
 
- Static Public Member Functions inherited from Reference::HeapTracked
static void * operator new (size_t size, void *ptr=0)
 
static void operator delete (void *location, void *ptr)
 
static void operator delete (void *location)
 
static size_t get_heap_queue_size ()
 

Detailed Description

Traces changes to a single parameter of a single Function.


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

Generated using doxygen 1.8.17