Tesseract
Motion Planning Environment
Loading...
Searching...
No Matches
Public Member Functions | Private Member Functions | Friends | List of all members
tesseract_common::TypeErasureInterface Struct Referenceabstract

This is the interface that all type erasures interfaces must inherit from. More...

#include <type_erasure.h>

Inheritance diagram for tesseract_common::TypeErasureInterface:
Inheritance graph
[legend]

Public Member Functions

virtual ~TypeErasureInterface ()=default
 
virtual bool equals (const TypeErasureInterface &other) const =0
 
virtual std::type_index getType () const =0
 
virtual void * recover ()=0
 
virtual const void * recover () const =0
 
virtual std::unique_ptr< TypeErasureInterfaceclone () const =0
 

Private Member Functions

template<class Archive >
void serialize (Archive &, const unsigned int)
 

Friends

class boost::serialization::access
 
struct tesseract_common::Serialization
 

Detailed Description

This is the interface that all type erasures interfaces must inherit from.

Constructor & Destructor Documentation

◆ ~TypeErasureInterface()

virtual tesseract_common::TypeErasureInterface::~TypeErasureInterface ( )
virtualdefault

Member Function Documentation

◆ clone()

virtual std::unique_ptr< TypeErasureInterface > tesseract_common::TypeErasureInterface::clone ( ) const
pure virtual

◆ equals()

virtual bool tesseract_common::TypeErasureInterface::equals ( const TypeErasureInterface other) const
pure virtual

◆ getType()

virtual std::type_index tesseract_common::TypeErasureInterface::getType ( ) const
pure virtual

◆ recover() [1/2]

virtual const void * tesseract_common::TypeErasureInterface::recover ( ) const
pure virtual

◆ recover() [2/2]

virtual void * tesseract_common::TypeErasureInterface::recover ( )
pure virtual

◆ serialize()

template<class Archive >
void tesseract_common::TypeErasureInterface::serialize ( Archive &  ,
const unsigned int   
)
inlineprivate

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

◆ tesseract_common::Serialization

friend struct tesseract_common::Serialization
friend

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