Public Types | Public Member Functions | Private Attributes | List of all members
canopen::ObjectStorage::Entry< T > Class Template Reference

#include <objdict.h>

Public Types

typedef T type
 

Public Member Functions

const ObjectDict::Entrydesc () const
 
 Entry ()
 
 Entry (DataSharedPtr &d)
 
 Entry (ObjectStorageSharedPtr storage, uint16_t index)
 
 Entry (ObjectStorageSharedPtr storage, uint16_t index, uint8_t sub_index)
 
 Entry (ObjectStorageSharedPtr storage, const ObjectDict::Key &k)
 
const T get ()
 
bool get (T &val)
 
const T get_cached ()
 
bool get_cached (T &val)
 
void set (const T &val)
 
bool set_cached (const T &val)
 
bool valid () const
 

Private Attributes

DataSharedPtr data
 

Detailed Description

template<typename T>
class canopen::ObjectStorage::Entry< T >

Definition at line 389 of file objdict.h.

Member Typedef Documentation

◆ type

template<typename T>
typedef T canopen::ObjectStorage::Entry< T >::type

Definition at line 392 of file objdict.h.

Constructor & Destructor Documentation

◆ Entry() [1/5]

template<typename T>
canopen::ObjectStorage::Entry< T >::Entry ( )
inline

Definition at line 434 of file objdict.h.

◆ Entry() [2/5]

template<typename T>
canopen::ObjectStorage::Entry< T >::Entry ( DataSharedPtr d)
inline

Definition at line 435 of file objdict.h.

◆ Entry() [3/5]

template<typename T>
canopen::ObjectStorage::Entry< T >::Entry ( ObjectStorageSharedPtr  storage,
uint16_t  index 
)
inline

Definition at line 439 of file objdict.h.

◆ Entry() [4/5]

template<typename T>
canopen::ObjectStorage::Entry< T >::Entry ( ObjectStorageSharedPtr  storage,
uint16_t  index,
uint8_t  sub_index 
)
inline

Definition at line 443 of file objdict.h.

◆ Entry() [5/5]

template<typename T>
canopen::ObjectStorage::Entry< T >::Entry ( ObjectStorageSharedPtr  storage,
const ObjectDict::Key k 
)
inline

Definition at line 447 of file objdict.h.

Member Function Documentation

◆ desc()

template<typename T>
const ObjectDict::Entry& canopen::ObjectStorage::Entry< T >::desc ( ) const
inline

Definition at line 451 of file objdict.h.

◆ get() [1/2]

template<typename T>
const T canopen::ObjectStorage::Entry< T >::get ( )
inline

Definition at line 394 of file objdict.h.

◆ get() [2/2]

template<typename T>
bool canopen::ObjectStorage::Entry< T >::get ( T &  val)
inline

Definition at line 399 of file objdict.h.

◆ get_cached() [1/2]

template<typename T>
const T canopen::ObjectStorage::Entry< T >::get_cached ( )
inline

Definition at line 407 of file objdict.h.

◆ get_cached() [2/2]

template<typename T>
bool canopen::ObjectStorage::Entry< T >::get_cached ( T &  val)
inline

Definition at line 412 of file objdict.h.

◆ set()

template<typename T>
void canopen::ObjectStorage::Entry< T >::set ( const T &  val)
inline

Definition at line 420 of file objdict.h.

◆ set_cached()

template<typename T>
bool canopen::ObjectStorage::Entry< T >::set_cached ( const T &  val)
inline

Definition at line 424 of file objdict.h.

◆ valid()

template<typename T>
bool canopen::ObjectStorage::Entry< T >::valid ( ) const
inline

Definition at line 393 of file objdict.h.

Member Data Documentation

◆ data

template<typename T>
DataSharedPtr canopen::ObjectStorage::Entry< T >::data
private

Definition at line 390 of file objdict.h.


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


canopen_master
Author(s): Mathias Lüdtke
autogenerated on Mon Feb 28 2022 23:28:03