Template Class CallbackAbstractTpl

Inheritance Relationships

Base Type

Derived Type

Class Documentation

template<typename _Scalar>
class CallbackAbstractTpl : public crocoddyl::CallbackBase

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::CallbackVerboseTpl< _Scalar >

Public Types

typedef SolverAbstractTpl<Scalar> SolverAbstract

Public Functions

inline CallbackAbstractTpl()

Initialize the callback function.

virtual ~CallbackAbstractTpl() = default
virtual void operator()(SolverAbstract &solver) = 0

Run the callback function given a solver.

Parameters:

solver[in] solver to be diagnostic

Public Members

EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef _Scalar Scalar