Classes | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
canopen::TypeGuard Class Reference

#include <objdict.h>

Classes

class  TypeInfo
 

Public Member Functions

size_t get_size () const
 
template<typename T >
bool is_type () const
 
bool operator== (const TypeGuard &other) const
 
 TypeGuard ()
 
bool valid () const
 

Static Public Member Functions

template<typename T >
static TypeGuard create ()
 

Private Member Functions

 TypeGuard (const std::type_info &(*ti)(), const size_t s)
 

Private Attributes

const std::type_info &(* get_type )()
 
size_t type_size
 

Detailed Description

Definition at line 19 of file objdict.h.

Constructor & Destructor Documentation

◆ TypeGuard() [1/2]

canopen::TypeGuard::TypeGuard ( const std::type_info &(*)()  ti,
const size_t  s 
)
inlineprivate

Definition at line 27 of file objdict.h.

◆ TypeGuard() [2/2]

canopen::TypeGuard::TypeGuard ( )
inline

Definition at line 38 of file objdict.h.

Member Function Documentation

◆ create()

template<typename T >
static TypeGuard canopen::TypeGuard::create ( )
inlinestatic

Definition at line 41 of file objdict.h.

◆ get_size()

size_t canopen::TypeGuard::get_size ( ) const
inline

Definition at line 40 of file objdict.h.

◆ is_type()

template<typename T >
bool canopen::TypeGuard::is_type ( ) const
inline

Definition at line 30 of file objdict.h.

◆ operator==()

bool canopen::TypeGuard::operator== ( const TypeGuard other) const
inline

Definition at line 34 of file objdict.h.

◆ valid()

bool canopen::TypeGuard::valid ( ) const
inline

Definition at line 39 of file objdict.h.

Member Data Documentation

◆ get_type

const std::type_info&(* canopen::TypeGuard::get_type) ()
private

Definition at line 20 of file objdict.h.

◆ type_size

size_t canopen::TypeGuard::type_size
private

Definition at line 21 of file objdict.h.


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


canopen_master
Author(s): Mathias Lüdtke
autogenerated on Wed Mar 2 2022 00:52:27