Crocoddyl
Loading...
Searching...
No Matches
CallbackVerboseTpl< _Scalar > Class Template Reference
Inheritance diagram for CallbackVerboseTpl< _Scalar >:
CallbackAbstractTpl< _Scalar >CallbackBase

Public Types

typedef CallbackAbstractTpl< Scalar > CallbackAbstract
typedef SolverAbstractTpl< Scalar > SolverAbstract
Public Types inherited from CallbackAbstractTpl< _Scalar >
typedef SolverAbstractTpl< Scalar > SolverAbstract

Public Member Functions

 CallbackVerboseTpl (VerboseLevel level=_4, int precision=3)
template<typename NewScalar>
CallbackVerboseTpl< NewScalar > cast () const
 Cast the verbose callback.
VerboseLevel get_level () const
int get_precision () const
void operator() (SolverAbstract &solver) override
 Run the callback function given a solver.
void set_level (VerboseLevel level)
void set_precision (int precision)
Public Member Functions inherited from CallbackAbstractTpl< _Scalar >
 CallbackAbstractTpl ()
 Initialize the callback function.

Public Attributes

EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef _Scalar Scalar
Public Attributes inherited from CallbackAbstractTpl< _Scalar >
EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef _Scalar Scalar

Detailed Description

template<typename _Scalar>
class crocoddyl::CallbackVerboseTpl< _Scalar >

Definition at line 31 of file callbacks.hpp.

Member Typedef Documentation

◆ CallbackAbstract

template<typename _Scalar>
typedef CallbackAbstractTpl<Scalar> CallbackAbstract

Definition at line 37 of file callbacks.hpp.

◆ SolverAbstract

template<typename _Scalar>
typedef SolverAbstractTpl<Scalar> SolverAbstract

Definition at line 38 of file callbacks.hpp.

Member Function Documentation

◆ operator()()

template<typename _Scalar>
void operator()(SolverAbstract &solver)
overridevirtual

Run the callback function given a solver.

Parameters
[in]solversolver to be diagnostic

Implements CallbackAbstractTpl< _Scalar >.

◆ cast()

template<typename _Scalar>
template<typename NewScalar>
CallbackVerboseTpl< NewScalar > cast()const

Cast the verbose callback.

It is useful for operations requiring different precision or scalar types.

Template Parameters
NewScalarThe new scalar type to cast to.
Returns
CallbackVerboseTpl<NewScalar> A verbose callback with the new scalar type.

Member Data Documentation

◆ Scalar

template<typename _Scalar>
EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef _Scalar Scalar

Definition at line 36 of file callbacks.hpp.


The documentation for this class was generated from the following files:
  • /build/source/include/crocoddyl/core/fwd.hpp
  • /build/source/include/crocoddyl/core/utils/callbacks.hpp