Classes | Functions
bind_virtual_factory.cpp File Reference
#include <eigenpy/eigenpy.hpp>
Include dependency graph for bind_virtual_factory.cpp:

Go to the source code of this file.

Classes

struct  DataWrapper
 
struct  MyVirtualClass
 
struct  MyVirtualData
 
struct  VirtualClassWrapper
 Wrapper classes. More...
 

Functions

 BOOST_PYTHON_MODULE (bind_virtual_factory)
 
shared_ptr< MyVirtualDatacallDoSomethingPtr (const MyVirtualClass &obj)
 
shared_ptr< MyVirtualDatacallDoSomethingRef (const MyVirtualClass &obj)
 
shared_ptr< MyVirtualDatacopy_shared (const shared_ptr< MyVirtualData > &d)
 Take and return a shared_ptr. More...
 
const MyVirtualDataiden_ref (const MyVirtualData &d)
 Take and return a const reference. More...
 
const MyVirtualDataiden_shared (const shared_ptr< MyVirtualData > &d)
 
void throw_virtual_not_implemented_error ()
 

Function Documentation

◆ BOOST_PYTHON_MODULE()

BOOST_PYTHON_MODULE ( bind_virtual_factory  )

Trampoline used as 1st argument otherwise if passed as "HeldType", we need to define the constructor and call initializer manually.

Definition at line 121 of file bind_virtual_factory.cpp.

◆ callDoSomethingPtr()

shared_ptr<MyVirtualData> callDoSomethingPtr ( const MyVirtualClass obj)

Definition at line 31 of file bind_virtual_factory.cpp.

◆ callDoSomethingRef()

shared_ptr<MyVirtualData> callDoSomethingRef ( const MyVirtualClass obj)

Definition at line 38 of file bind_virtual_factory.cpp.

◆ copy_shared()

shared_ptr<MyVirtualData> copy_shared ( const shared_ptr< MyVirtualData > &  d)

Take and return a shared_ptr.

Definition at line 115 of file bind_virtual_factory.cpp.

◆ iden_ref()

const MyVirtualData& iden_ref ( const MyVirtualData d)

Take and return a const reference.

Definition at line 98 of file bind_virtual_factory.cpp.

◆ iden_shared()

const MyVirtualData& iden_shared ( const shared_ptr< MyVirtualData > &  d)

Take a shared_ptr (by const reference or value, doesn't matter), return by const reference

Definition at line 105 of file bind_virtual_factory.cpp.

◆ throw_virtual_not_implemented_error()

void throw_virtual_not_implemented_error ( )

Definition at line 45 of file bind_virtual_factory.cpp.



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