Template Class CallbackAbstractTpl
Defined in File solver-base.hpp
Inheritance Relationships
Base Type
public crocoddyl::CallbackBase(Class CallbackBase)
Derived Type
public crocoddyl::CallbackVerboseTpl< _Scalar >(Template Class CallbackVerboseTpl)
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
-
typedef SolverAbstractTpl<Scalar> SolverAbstract