pinocchio 4.1.0
A fast and flexible implementation of Rigid Body Dynamics algorithms and their analytical derivatives
Loading...
Searching...
No Matches
StdAlignedVectorPythonVisitor< T, NoProxy, EnableFromPythonListConverter > Struct Template Reference

Expose an container::aligned_vector from a type given as template argument. More...

#include <pinocchio/bindings/python/utils/std-aligned-vector.hpp>

Inheritance diagram for StdAlignedVectorPythonVisitor< T, NoProxy, EnableFromPythonListConverter >:
Collaboration diagram for StdAlignedVectorPythonVisitor< T, NoProxy, EnableFromPythonListConverter >:

Public Types

typedef eigenpy::StdContainerFromPythonList< vector_type, NoProxy > FromPythonListConverter
typedef T value_type
typedef container::aligned_vector< T > vector_type

Static Public Member Functions

template<typename VisitorDerived>
static void expose (const std::string &class_name, const boost::python::def_visitor< VisitorDerived > &visitor)
template<typename VisitorDerived>
static void expose (const std::string &class_name, const std::string &doc_string, const boost::python::def_visitor< VisitorDerived > &visitor)
static void expose (const std::string &class_name, const std::string &doc_string="")

Detailed Description

template<class T, bool NoProxy = false, bool EnableFromPythonListConverter = true>
struct pinocchio::python::StdAlignedVectorPythonVisitor< T, NoProxy, EnableFromPythonListConverter >

Expose an container::aligned_vector from a type given as template argument.

Template Parameters
TType to expose as container::aligned_vector<T>.
EnableFromPythonListConverterEnables the conversion from a Python list to a container::aligned_vector<T>.
See also
StdAlignedVectorPythonVisitor

Definition at line 31 of file std-aligned-vector.hpp.

Member Typedef Documentation

◆ FromPythonListConverter

template<class T, bool NoProxy = false, bool EnableFromPythonListConverter = true>
typedef eigenpy::StdContainerFromPythonList<vector_type, NoProxy> FromPythonListConverter

Definition at line 40 of file std-aligned-vector.hpp.

◆ value_type

template<class T, bool NoProxy = false, bool EnableFromPythonListConverter = true>
typedef T value_type

Definition at line 41 of file std-aligned-vector.hpp.

◆ vector_type

template<class T, bool NoProxy = false, bool EnableFromPythonListConverter = true>
typedef container::aligned_vector<T> vector_type

Definition at line 39 of file std-aligned-vector.hpp.

Member Function Documentation

◆ expose() [1/3]

template<class T, bool NoProxy = false, bool EnableFromPythonListConverter = true>
template<typename VisitorDerived>
void expose(const std::string &class_name,
const boost::python::def_visitor< VisitorDerived > &visitor )
inlinestatic

Definition at line 49 of file std-aligned-vector.hpp.

◆ expose() [2/3]

template<class T, bool NoProxy = false, bool EnableFromPythonListConverter = true>
template<typename VisitorDerived>
void expose(const std::string &class_name,
const std::string &doc_string,
const boost::python::def_visitor< VisitorDerived > &visitor )
inlinestatic

Definition at line 56 of file std-aligned-vector.hpp.

◆ expose() [3/3]

template<class T, bool NoProxy = false, bool EnableFromPythonListConverter = true>
void expose(const std::string &class_name,
const std::string &doc_string = "" )
inlinestatic

Definition at line 43 of file std-aligned-vector.hpp.


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