Class CallbackAbstract

Inheritance Relationships

Derived Type

Class Documentation

class CallbackAbstract

Abstract class for solver callbacks.

A callback is used to diagnostic the behaviour of our solver in each iteration of it. For instance, it can be used to print values, record data or display motions.

Subclassed by crocoddyl::CallbackVerbose

Public Functions

inline CallbackAbstract()

Initialize the callback function.

inline virtual ~CallbackAbstract()
virtual void operator()(SolverAbstract &solver) = 0

Run the callback function given a solver.

Parameters:

solver[in] solver to be diagnostic