#include <cdetect.h>

Public Member Functions | |
Constructors, destructor, assignment. | |
| cTransientDetection (const char *name=NULL) | |
| virtual | ~cTransientDetection () |
| virtual cTransientDetection * | 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 (PostTDFunc f, void *p) |
Host object. | |
| virtual void | setHostObject (cStatistic *ptr) |
| virtual cStatistic * | getHostObject () const |
| cTransientDetection::cTransientDetection | ( | const char * | name = NULL |
) | [inline, explicit] |
Constructor.
| virtual cTransientDetection::~cTransientDetection | ( | ) | [inline, virtual] |
Destructor.
| virtual cTransientDetection* cTransientDetection::dup | ( | ) | const [inline, virtual] |
Duplication not supported, this method is redefined to throw an error.
Reimplemented from cObject.
Reimplemented in cTDExpandingWindows.
References cObject::copyNotSupported().
| virtual void cTransientDetection::collect | ( | double | val | ) | [pure virtual] |
Should be redefined to update the detection algorithm with a value.
Implemented in cTDExpandingWindows.
| virtual bool cTransientDetection::detected | ( | ) | const [pure virtual] |
Should be redefined to return true if end of transient has been detected.
Implemented in cTDExpandingWindows.
| virtual void cTransientDetection::reset | ( | ) | [pure virtual] |
| virtual void cTransientDetection::stop | ( | ) | [pure virtual] |
Should be redefined to stop detection (further calls to collect() should be ignored.
)
Implemented in cTDExpandingWindows.
| virtual void cTransientDetection::start | ( | ) | [pure virtual] |
Should be redefined to start detection (further calls to collect() should update the detection algorithm.
)
Implemented in cTDExpandingWindows.
| void cTransientDetection::setPostDetectFunction | ( | PostTDFunc | f, | |
| void * | p | |||
| ) | [inline] |
Adds a function that will be called when accuracy has reached the configured limit.
| virtual void cTransientDetection::setHostObject | ( | cStatistic * | ptr | ) | [inline, virtual] |
Sets the host object.
This is internally called by cStatistic's addTransientDetection() method.
| virtual cStatistic* cTransientDetection::getHostObject | ( | ) | const [inline, virtual] |
Returns a pointer to the host object.
1.5.5