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
6
namespace
aligator
{
7
9
template
<
typename
Scalar>
struct
CallbackBaseTpl {
10
using
Workspace
=
WorkspaceBaseTpl<Scalar>
;
11
using
Results
=
ResultsBaseTpl<Scalar>
;
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
fwd.hpp
Forward declarations.
aligator
Main package namespace.
Definition
action-model-wrap.hpp:14
aligator::CallbackBaseTpl::call
virtual void call(const Workspace &, const Results &)=0
aligator::CallbackBaseTpl::~CallbackBaseTpl
virtual ~CallbackBaseTpl()=default
aligator::ResultsBaseTpl
Definition
fwd.hpp:122
aligator::WorkspaceBaseTpl
Base workspace struct for the algorithms.
Definition
fwd.hpp:119
include
aligator
core
callback-base.hpp
Generated by
1.11.0