39template <
class T, u
int16_t N>
42 ::std::error_code& ec)
noexcept {
52#ifndef DOXYGEN_SHOULD_SKIP_THIS
56 const void*, ::std::size_t, ::std::error_code&)
noexcept;
60 const void*, ::std::size_t, ::std::error_code&)
noexcept;
64 const void*, ::std::size_t, ::std::error_code&)
noexcept;
68 const void*, ::std::size_t, ::std::error_code&)
noexcept;
72 const void*, ::std::size_t, ::std::error_code&)
noexcept;
76 const void*, ::std::size_t, ::std::error_code&)
noexcept;
80 const void*, ::std::size_t, ::std::error_code&)
noexcept;
84 const void*, ::std::size_t, ::std::error_code&)
noexcept;
96 const void*, ::std::size_t, ::std::error_code&)
noexcept;
104 const void*, ::std::size_t, ::std::error_code&)
noexcept;
113 const void*, ::std::size_t, ::std::error_code&)
noexcept;
121 ::std::error_code& ec)
noexcept {
138 ::std::error_code& ec)
noexcept {
145 ec = util::make_error_code();
152 const void* p, ::std::size_t n, ::std::error_code& ec)
noexcept {
153 uint8_t* val =
nullptr;
169 const uint8_t* os, ::std::size_t n, ::std::error_code& ec)
noexcept {
170 uint8_t* val =
nullptr;
176 ec = util::make_error_code();
188 const void* p, ::std::size_t n, ::std::error_code& ec)
noexcept {
189 char16_t* val =
nullptr;
200 char16_t*& val)
noexcept {
206 const char16_t* us, ::std::error_code& ec)
noexcept {
207 char16_t* val =
nullptr;
213 ec = util::make_error_code();
This header file is part of the C++ CANopen application library; it contains the CANopen type traits.
This is the internal header file of the C++ CANopen application library.
int get_errc(void)
Returns the last (thread-specific) native error code set by a system call or library function.
void set_errc(int errc)
Sets the current (thread-specific) native error code to errc.
This header file is part of the utilities library; it contains C++ convenience functions for creating...
The namespace for implementation details of the C++ CANopen application library.
The namespace for the C++ CANopen application library.
SdoErrc
The SDO abort codes.
::std::error_code make_error_code(SdoErrc e) noexcept
Creates an error code corresponding to an SDO abort code.
This header file is part of the C++ CANopen application library; it contains the SDO error declaratio...
A class template mapping CANopen types to C and C++ types.
This header file is part of the CANopen library; it contains the CANopen value declarations.
int co_val_init_os(uint_least8_t **val, const uint_least8_t *os, size_t n)
Initializes an array of octets (CO_DEFTYPE_OCTET_STRING).
size_t co_val_sizeof(co_unsigned16_t type, const void *val)
Returns the size (in bytes) of a value of the specified data type.
int co_val_init_us(char16_t **val, const char16_t *us)
Initializes an array of (16-bit) Unicode characters (CO_DEFTYPE_UNICODE_STRING).
co_unsigned32_t co_val_read_sdo(co_unsigned16_t type, void *val, const void *ptr, size_t n)
Reads a value of the specified data type from an SDO buffer.
void co_val_fini(co_unsigned16_t type, void *val)
Finalizes a value of the specified data type.
int co_val_init_vs(char **val, const char *vs)
Initializes an array of visible characters (CO_DEFTYPE_VISIBLE_STRING).