Public Member Functions | Public Attributes | List of all members
canopen::ObjectDict::Entry Struct Reference

#include <objdict.h>

Public Member Functions

 Entry ()
 
 Entry (const Code c, const uint16_t i, const uint16_t t, const std::string &d, const bool r=true, const bool w=true, bool m=false, const HoldAny def=HoldAny(), const HoldAny init=HoldAny())
 
 Entry (const uint16_t i, const uint8_t s, const uint16_t t, const std::string &d, const bool r=true, const bool w=true, bool m=false, const HoldAny def=HoldAny(), const HoldAny init=HoldAny())
 
 operator Key () const
 
const HoldAnyvalue () const
 

Public Attributes

bool constant
 
uint16_t data_type
 
HoldAny def_val
 
std::string desc
 
uint16_t index
 
HoldAny init_val
 
bool mappable
 
Code obj_code
 
bool readable
 
uint8_t sub_index
 
bool writable
 

Detailed Description

Definition at line 164 of file objdict.h.

Constructor & Destructor Documentation

◆ Entry() [1/3]

canopen::ObjectDict::Entry::Entry ( )
inline

Definition at line 177 of file objdict.h.

◆ Entry() [2/3]

canopen::ObjectDict::Entry::Entry ( const Code  c,
const uint16_t  i,
const uint16_t  t,
const std::string &  d,
const bool  r = true,
const bool  w = true,
bool  m = false,
const HoldAny  def = HoldAny(),
const HoldAny  init = HoldAny() 
)
inline

Definition at line 179 of file objdict.h.

◆ Entry() [3/3]

canopen::ObjectDict::Entry::Entry ( const uint16_t  i,
const uint8_t  s,
const uint16_t  t,
const std::string &  d,
const bool  r = true,
const bool  w = true,
bool  m = false,
const HoldAny  def = HoldAny(),
const HoldAny  init = HoldAny() 
)
inline

Definition at line 182 of file objdict.h.

Member Function Documentation

◆ operator Key()

canopen::ObjectDict::Entry::operator Key ( ) const
inline

Definition at line 185 of file objdict.h.

◆ value()

const HoldAny& canopen::ObjectDict::Entry::value ( ) const
inline

Definition at line 186 of file objdict.h.

Member Data Documentation

◆ constant

bool canopen::ObjectDict::Entry::constant

Definition at line 169 of file objdict.h.

◆ data_type

uint16_t canopen::ObjectDict::Entry::data_type

Definition at line 168 of file objdict.h.

◆ def_val

HoldAny canopen::ObjectDict::Entry::def_val

Definition at line 174 of file objdict.h.

◆ desc

std::string canopen::ObjectDict::Entry::desc

Definition at line 173 of file objdict.h.

◆ index

uint16_t canopen::ObjectDict::Entry::index

Definition at line 166 of file objdict.h.

◆ init_val

HoldAny canopen::ObjectDict::Entry::init_val

Definition at line 175 of file objdict.h.

◆ mappable

bool canopen::ObjectDict::Entry::mappable

Definition at line 172 of file objdict.h.

◆ obj_code

Code canopen::ObjectDict::Entry::obj_code

Definition at line 165 of file objdict.h.

◆ readable

bool canopen::ObjectDict::Entry::readable

Definition at line 170 of file objdict.h.

◆ sub_index

uint8_t canopen::ObjectDict::Entry::sub_index

Definition at line 167 of file objdict.h.

◆ writable

bool canopen::ObjectDict::Entry::writable

Definition at line 171 of file objdict.h.


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


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