aligator  0.6.1
A primal-dual augmented Lagrangian-type solver for nonlinear trajectory optimization.
Loading...
Searching...
No Matches
aligator::python::CreateDataPolymorphicPythonVisitor< T, TWrapper > Struct Template Reference

#include </home/runner/work/aligator/aligator/bindings/python/include/aligator/python/visitors.hpp>

Inheritance diagram for aligator::python::CreateDataPolymorphicPythonVisitor< T, TWrapper >:
[legend]
Collaboration diagram for aligator::python::CreateDataPolymorphicPythonVisitor< T, TWrapper >:
[legend]

Public Member Functions

template<typename PyClass >
void visit (PyClass &obj) const
 

Detailed Description

template<typename T, typename TWrapper>
struct aligator::python::CreateDataPolymorphicPythonVisitor< T, TWrapper >

Visitor for exposing a polymorphic factory for data classes that can be overridden from Python.

See also
CreateDataPythonVisitor
StageFunctionTpl
Template Parameters
TThe wrapped class
TWrapperThe wrapper class

Definition at line 37 of file visitors.hpp.

Member Function Documentation

◆ visit()

template<typename T , typename TWrapper >
template<typename PyClass >
void aligator::python::CreateDataPolymorphicPythonVisitor< T, TWrapper >::visit ( PyClass & obj) const
inline

Definition at line 39 of file visitors.hpp.


The documentation for this struct was generated from the following file: