#include <cdetect.h>
Inheritance diagram for cTransientDetection:
Public Member Functions | |
Constructors, destructor, assignment. | |
cTransientDetection (const cTransientDetection &r) | |
cTransientDetection (const char *name=NULL) | |
virtual | ~cTransientDetection () |
cTransientDetection & | operator= (const cTransientDetection &) |
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 * | hostObject () const |
|
Copy constructor.
|
|
Constructor.
|
|
Destructor.
|
|
Should be redefined to update the detection algorithm with a value.
Implemented in cTDExpandingWindows. |
|
Should be redefined to return true if end of transient has been detected.
Implemented in cTDExpandingWindows. |
|
Returns a pointer to the host object.
|
|
Assignment is not supported by this class: this method throws a cRuntimeError when called.
|
|
Should be redefined to reset detection algorithm.
Implemented in cTDExpandingWindows. |
|
Sets the host object. This is internally called by cStatistic's addTransientDetection() method. |
|
Adds a function that will be called when accuracy has reached the configured limit.
|
|
Should be redefined to start detection (further calls to collect() should update the detection algorithm. ) Implemented in cTDExpandingWindows. |
|
Should be redefined to stop detection (further calls to collect() should be ignored. ) Implemented in cTDExpandingWindows. |