Virtual base class for result accuracy detection classes. More...
#include <cdetect.h>
Public Member Functions | |
Constructors, destructor, assignment. | |
cAccuracyDetection (const char *name=NULL) | |
virtual | ~cAccuracyDetection () |
virtual cAccuracyDetection * | dup () const |
New methods. | |
virtual void | collect (double val)=0 |
virtual bool | detected () const =0 |
virtual void | reset ()=0 |
virtual void | stop ()=0 |
virtual void | start ()=0 |
void | setPostDetectFunction (PostADFunc f, void *p) |
Host object. | |
virtual void | setHostObject (cStatistic *ptr) |
virtual cStatistic * | getHostObject () const |
Virtual base class for result accuracy detection classes.
virtual void cAccuracyDetection::setHostObject | ( | cStatistic * | ptr | ) | [inline, virtual] |
Sets the host object.
This is internally called by cStatistic's addTransientDetection() method.