#include <eigenpy/eigenpy.hpp>
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< MyVirtualData > | callDoSomethingPtr (const MyVirtualClass &obj) |
shared_ptr< MyVirtualData > | callDoSomethingRef (const MyVirtualClass &obj) |
shared_ptr< MyVirtualData > | copy_shared (const shared_ptr< MyVirtualData > &d) |
Take and return a shared_ptr. More... | |
const MyVirtualData & | iden_ref (const MyVirtualData &d) |
Take and return a const reference. More... | |
const MyVirtualData & | iden_shared (const shared_ptr< MyVirtualData > &d) |
void | throw_virtual_not_implemented_error () |
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.
shared_ptr<MyVirtualData> callDoSomethingPtr | ( | const MyVirtualClass & | obj | ) |
Definition at line 31 of file bind_virtual_factory.cpp.
shared_ptr<MyVirtualData> callDoSomethingRef | ( | const MyVirtualClass & | obj | ) |
Definition at line 38 of file bind_virtual_factory.cpp.
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.
const MyVirtualData& iden_ref | ( | const MyVirtualData & | d | ) |
Take and return a const reference.
Definition at line 98 of file bind_virtual_factory.cpp.
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.
void throw_virtual_not_implemented_error | ( | ) |
Definition at line 45 of file bind_virtual_factory.cpp.