AnyCollect  1.1.2
AnyCollect::ControllerDelegate Class Referenceabstract

Abstract delegate of Controller. More...

#include <Controller.h>

Inheritance diagram for AnyCollect::ControllerDelegate:

Public Member Functions

virtual void contollerCollectedMetrics (const Controller &controller, const std::vector< const Metric *> &metrics)=0
 Function called every time the Controller has collected metrics. More...
 
virtual bool contollerShouldStopCollectingMetrics (const Controller &controller)=0
 Function called after each iteration to ask the delegate whether the controller should stop collecting metrics. More...
 

Detailed Description

Abstract delegate of Controller.

Each function is called when the Controller has done something of importance

Definition at line 142 of file Controller.h.

Member Function Documentation

◆ contollerCollectedMetrics()

virtual void AnyCollect::ControllerDelegate::contollerCollectedMetrics ( const Controller controller,
const std::vector< const Metric *> &  metrics 
)
pure virtual

Function called every time the Controller has collected metrics.

Parameters
controllerthe calling Controller
metricslatest collected metrics

Implemented in AnyCollect::SnapInterface, and AnyCollectValues.

Here is the caller graph for this function:

◆ contollerShouldStopCollectingMetrics()

virtual bool AnyCollect::ControllerDelegate::contollerShouldStopCollectingMetrics ( const Controller controller)
pure virtual

Function called after each iteration to ask the delegate whether the controller should stop collecting metrics.

Parameters
controllerthe calling Controller
Returns
true if the controller should stop
false otherwise

Implemented in AnyCollect::SnapInterface, and AnyCollectValues.

Here is the caller graph for this function:

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