Tesseract
Motion Planning Environment
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Private Member Functions | Friends | List of all members
tesseract_common::detail_any::AnyInstance< T > Struct Template Reference

#include <any_poly.h>

Inheritance diagram for tesseract_common::detail_any::AnyInstance< T >:
Inheritance graph
[legend]
Collaboration diagram for tesseract_common::detail_any::AnyInstance< T >:
Collaboration graph
[legend]

Public Types

using BaseType = tesseract_common::TypeErasureInstance< T, tesseract_common::TypeErasureInterface >
 
- Public Types inherited from tesseract_common::TypeErasureInstance< T, tesseract_common::TypeErasureInterface >
using ConceptValueType = T
 
using ConceptInterfaceType = tesseract_common::TypeErasureInterface
 

Public Member Functions

 AnyInstance ()=default
 
 AnyInstance (const T &x)
 
 AnyInstance (AnyInstance &&x) noexcept
 
 BOOST_CONCEPT_ASSERT ((AnyConcept< T >))
 
- Public Member Functions inherited from tesseract_common::TypeErasureInstance< T, tesseract_common::TypeErasureInterface >
 TypeErasureInstance ()=default
 
 TypeErasureInstance (T value)
 
 TypeErasureInstance (T &&value)
 
const ConceptValueTypeget () const
 
ConceptValueTypeget ()
 
void * recover () final
 
const void * recover () const final
 
std::type_index getType () const final
 
bool equals (const TypeErasureInterface &other) const final
 
- Public Member Functions inherited from tesseract_common::TypeErasureInterface
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 &ar, const unsigned int)
 

Friends

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

Additional Inherited Members

- Public Attributes inherited from tesseract_common::TypeErasureInstance< T, tesseract_common::TypeErasureInterface >
T value_
 

Member Typedef Documentation

◆ BaseType

Constructor & Destructor Documentation

◆ AnyInstance() [1/3]

template<typename T >
tesseract_common::detail_any::AnyInstance< T >::AnyInstance ( )
default

◆ AnyInstance() [2/3]

template<typename T >
tesseract_common::detail_any::AnyInstance< T >::AnyInstance ( const T x)
inline

◆ AnyInstance() [3/3]

template<typename T >
tesseract_common::detail_any::AnyInstance< T >::AnyInstance ( AnyInstance< T > &&  x)
inlinenoexcept

Member Function Documentation

◆ BOOST_CONCEPT_ASSERT()

template<typename T >
tesseract_common::detail_any::AnyInstance< T >::BOOST_CONCEPT_ASSERT ( (AnyConcept< T >)  )

◆ serialize()

template<typename T >
template<class Archive >
void tesseract_common::detail_any::AnyInstance< T >::serialize ( Archive &  ar,
const unsigned int   
)
inlineprivate

Friends And Related Function Documentation

◆ boost::serialization::access

template<typename T >
friend class boost::serialization::access
friend

◆ tesseract_common::Serialization

template<typename T >
friend struct tesseract_common::Serialization
friend

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