Crocoddyl
CallbackAbstract Class Referenceabstract

Abstract class for solver callbacks. More...

#include <solver-base.hpp>

Inheritance diagram for CallbackAbstract:
CallbackVerbose

Public Member Functions

 CallbackAbstract ()
 Initialize the callback function.
 
virtual void operator() (SolverAbstract &solver)=0
 Run the callback function given a solver. More...
 

Detailed Description

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.

Definition at line 486 of file solver-base.hpp.

Member Function Documentation

◆ operator()()

virtual void operator() ( SolverAbstract solver)
pure virtual

Run the callback function given a solver.

Parameters
[in]solversolver to be diagnostic

Implemented in CallbackVerbose.


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