Public Member Functions | Public Attributes | Static Private Member Functions | List of all members
canopen::ObjectDict::Key Class Reference

#include <objdict.h>

Public Member Functions

bool hasSub () const
 
uint16_t index () const
 
 Key (const uint16_t i)
 
 Key (const uint16_t i, const uint8_t s)
 
 Key (const std::string &str)
 
 operator std::string () const
 
bool operator== (const Key &other) const
 
uint8_t sub_index () const
 

Public Attributes

const size_t hash
 

Static Private Member Functions

static size_t fromString (const std::string &str)
 

Detailed Description

Definition at line 119 of file objdict.h.

Constructor & Destructor Documentation

canopen::ObjectDict::Key::Key ( const uint16_t  i)
inline

Definition at line 123 of file objdict.h.

canopen::ObjectDict::Key::Key ( const uint16_t  i,
const uint8_t  s 
)
inline

Definition at line 124 of file objdict.h.

canopen::ObjectDict::Key::Key ( const std::string &  str)
inline

Definition at line 125 of file objdict.h.

Member Function Documentation

size_t ObjectDict::Key::fromString ( const std::string &  str)
staticprivate

Definition at line 32 of file objdict.cpp.

bool canopen::ObjectDict::Key::hasSub ( ) const
inline

Definition at line 126 of file objdict.h.

uint16_t canopen::ObjectDict::Key::index ( ) const
inline

Definition at line 128 of file objdict.h.

ObjectDict::Key::operator std::string ( ) const

Definition at line 38 of file objdict.cpp.

bool canopen::ObjectDict::Key::operator== ( const Key other) const
inline

Definition at line 129 of file objdict.h.

uint8_t canopen::ObjectDict::Key::sub_index ( ) const
inline

Definition at line 127 of file objdict.h.

Member Data Documentation

const size_t canopen::ObjectDict::Key::hash

Definition at line 122 of file objdict.h.


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


canopen_master
Author(s): Mathias Lüdtke
autogenerated on Fri May 14 2021 02:59:41