Lely core libraries  1.9.2
lely::canopen::detail Namespace Reference

Namespace for implementation details of the C++ CANopen application library. More...

Data Structures

struct  IsCanopenArray
 If T is one of the CANopen array types, provides the member constant value equal to true. More...
 
struct  IsCanopenArray<::std::basic_string< char16_t > >
 Specialization of lely::canopen::detail::IsCanopenArray for the CANopen array type UNICODE_STRING. More...
 
struct  IsCanopenArray<::std::string >
 Specialization of lely::canopen::detail::IsCanopenArray for the CANopen array type VISIBLE_STRING. More...
 
struct  IsCanopenArray<::std::vector< uint8_t > >
 Specialization of lely::canopen::detail::IsCanopenArray for the CANopen array type OCTET_STRING. More...
 
struct  IsCanopenBasic
 If T is one of the CANopen basic types, provides the member constant value equal to true. More...
 
struct  IsCanopenBasic< bool >
 Specialization of lely::canopen::detail::IsCanopenBasic for the CANopen basic type BOOLEAN. More...
 
struct  IsCanopenBasic< double >
 Specialization of lely::canopen::detail::IsCanopenBasic for the CANopen basic type REAL64. More...
 
struct  IsCanopenBasic< float >
 Specialization of lely::canopen::detail::IsCanopenBasic for the CANopen basic type REAL32. More...
 
struct  IsCanopenBasic< int16_t >
 Specialization of lely::canopen::detail::IsCanopenBasic for the CANopen basic type INTEGER16. More...
 
struct  IsCanopenBasic< int32_t >
 Specialization of lely::canopen::detail::IsCanopenBasic for the CANopen basic type INTEGER32. More...
 
struct  IsCanopenBasic< int64_t >
 Specialization of lely::canopen::detail::IsCanopenBasic for the CANopen basic type INTEGER64. More...
 
struct  IsCanopenBasic< int8_t >
 Specialization of lely::canopen::detail::IsCanopenBasic for the CANopen basic type INTEGER8. More...
 
struct  IsCanopenBasic< uint16_t >
 Specialization of lely::canopen::detail::IsCanopenBasic for the CANopen basic type UNSIGNED16. More...
 
struct  IsCanopenBasic< uint32_t >
 Specialization of lely::canopen::detail::IsCanopenBasic for the CANopen basic type UNSIGNED32. More...
 
struct  IsCanopenBasic< uint64_t >
 Specialization of lely::canopen::detail::IsCanopenBasic for the CANopen basic type UNSIGNED64. More...
 
struct  IsCanopenBasic< uint8_t >
 Specialization of lely::canopen::detail::IsCanopenBasic for the CANopen basic type UNSIGNED8. More...
 
struct  IsCanopenType
 If T is one of the CANopen basic or array types, provides the member constant value equal to true. More...
 
class  LoopDriverBase
 A base class for lely::canopen::LoopDriver, containing an event loop and the associated executor. More...
 
class  UnlockGuard
 A mutex wrapper that provides a convenient RAII-style mechanism for releasing a mutex for the duration of a scoped block. More...
 

Functions

inline ::std::chrono::milliseconds FromTimeout (int timeout)
 Converts an SDO timeout to a duration.
 
template<class Rep , class Period >
int ToTimeout (const ::std::chrono::duration< Rep, Period > &d)
 Converts a duration to an SDO timeout.
 
bool IsCanopenSame (uint16_t t1, uint16_t t2)
 Returns true if the CANopen data types t1 and t2 map to the same C++ type, and false if not.
 

Detailed Description

Namespace for implementation details of the C++ CANopen application library.