Public Member Functions | List of all members
MyVirtualClass Struct Referenceabstract
Inheritance diagram for MyVirtualClass:
Inheritance graph
[legend]

Public Member Functions

virtual shared_ptr< MyVirtualDatacreateData () const
 
virtual void doSomethingPtr (shared_ptr< MyVirtualData > const &data) const =0
 
virtual void doSomethingRef (MyVirtualData &data) const =0
 
 MyVirtualClass ()
 
virtual ~MyVirtualClass ()
 

Detailed Description

A virtual class with two pure virtual functions taking different signatures, and a polymorphic factory function.

Definition at line 12 of file bind_virtual_factory.cpp.

Constructor & Destructor Documentation

◆ MyVirtualClass()

MyVirtualClass::MyVirtualClass ( )
inline

Definition at line 13 of file bind_virtual_factory.cpp.

◆ ~MyVirtualClass()

virtual MyVirtualClass::~MyVirtualClass ( )
inlinevirtual

Definition at line 14 of file bind_virtual_factory.cpp.

Member Function Documentation

◆ createData()

virtual shared_ptr<MyVirtualData> MyVirtualClass::createData ( ) const
inlinevirtual

Reimplemented in VirtualClassWrapper.

Definition at line 21 of file bind_virtual_factory.cpp.

◆ doSomethingPtr()

virtual void MyVirtualClass::doSomethingPtr ( shared_ptr< MyVirtualData > const &  data) const
pure virtual

Implemented in VirtualClassWrapper.

◆ doSomethingRef()

virtual void MyVirtualClass::doSomethingRef ( MyVirtualData data) const
pure virtual

Implemented in VirtualClassWrapper.


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