aligator  0.9.0
A primal-dual augmented Lagrangian-type solver for nonlinear trajectory optimization.
Loading...
Searching...
No Matches
callback-base.hpp
Go to the documentation of this file.
1#pragma once
2
3#include "aligator/fwd.hpp"
4#include <boost/any.hpp>
5
6namespace aligator {
7
9template <typename Scalar> struct CallbackBaseTpl {
12 virtual void call(const Workspace &, const Results &) = 0;
13 virtual ~CallbackBaseTpl() = default;
14};
15
16} // namespace aligator
17
18#ifdef ALIGATOR_ENABLE_TEMPLATE_INSTANTIATION
19#include "aligator/core/callback-base.txx"
20#endif
Forward declarations.
Main package namespace.
virtual void call(const Workspace &, const Results &)=0
virtual ~CallbackBaseTpl()=default
Base workspace struct for the algorithms.
Definition fwd.hpp:119