Lely core libraries 2.3.4
sdev.hpp
Go to the documentation of this file.
1
23#ifndef LELY_CO_SDEV_HPP_
24#define LELY_CO_SDEV_HPP_
25
26#if !defined(__cplusplus) || LELY_NO_CXX
27#error "include <lely/co/sdev.h> for the C interface"
28#endif
29
30#include <lely/co/dev.hpp>
31#include <lely/co/sdev.h>
32
33namespace lely {
34
35inline typename c_type_traits<__co_dev>::pointer
36c_type_traits<__co_dev>::init(pointer p, const co_sdev* sdev) noexcept {
37 return __co_dev_init_from_sdev(p, sdev);
38}
39
40} // namespace lely
41
42#endif // !LELY_CO_SDEV_HPP_
This header file is part of the CANopen library; it contains the C++ interface of the device descript...
This header file is part of the CANopen library; it contains the static device description declaratio...
A static CANopen device.
Definition sdev.h:30