Abstract class for solver callbacks. More...
#include <solver-base.hpp>
Public Types | |
| typedef SolverAbstractTpl< Scalar > | SolverAbstract |
Public Member Functions | |
| CallbackAbstractTpl () | |
| Initialize the callback function. | |
| virtual void | operator() (SolverAbstract &solver)=0 |
| Run the callback function given a solver. | |
Public Attributes | |
| EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef _Scalar | Scalar |
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 793 of file solver-base.hpp.
| typedef SolverAbstractTpl<Scalar> SolverAbstract |
Definition at line 798 of file solver-base.hpp.
| inline |
Initialize the callback function.
Definition at line 803 of file solver-base.hpp.
| pure virtual |
Run the callback function given a solver.
| [in] | solver | solver to be diagnostic |
Implemented in CallbackVerboseTpl< _Scalar >, and CallbackVerboseTpl< double >.
| EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef _Scalar Scalar |
Definition at line 797 of file solver-base.hpp.