List of all members
DataWrapper Struct Reference
Inheritance diagram for DataWrapper:
Inheritance graph
[legend]

Additional Inherited Members

- Public Member Functions inherited from MyVirtualData
 MyVirtualData (MyVirtualClass const &)
 
virtual ~MyVirtualData ()
 

Detailed Description

This "trampoline class" does nothing but is ABSOLUTELY required to ensure downcasting works properly with non-smart ptr signatures. Otherwise, there is no handle to the original Python object ( PyObject *). Every single polymorphic type exposed to Python should be exposed through such a trampoline. Users can also create their own wrapper classes by taking inspiration from boost::python::wrapper<T>.

Definition at line 90 of file bind_virtual_factory.cpp.


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


eigenpy
Author(s): Justin Carpentier, Nicolas Mansard
autogenerated on Fri Jun 2 2023 02:10:27