MEAL::EvaluationTracer< T > Class Template Reference

Traces changes in the result of a function. More...

#include <EvaluationTracer.h>

Inheritance diagram for MEAL::EvaluationTracer< T >:
MEAL::Tracer Reference::Able Reference::HeapTracked

Public Types

typedef T::Result Result
 

Public Member Functions

 EvaluationTracer (T *_model=0)
 Default constructor.
 
virtual void watch (T *_model)
 Trace the specified model.
 
- 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 ()
 Method called to report 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

Reference::To< T > Tmodel
 The model to watch.
 
Result current_value
 The current value of the result.
 
- 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

template<class T>
class MEAL::EvaluationTracer< T >

Traces changes in the result of a function.


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

Generated using doxygen 1.8.17