Lely core libraries  2.2.5
sdev.hpp
Go to the documentation of this file.
1 
23 #ifndef LELY_CO_SDEV_HPP_
24 #define LELY_CO_SDEV_HPP_
25 
26 #ifndef __cplusplus
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 
33 namespace lely {
34 
35 inline typename c_type_traits<__co_dev>::pointer
36 c_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_
dev.hpp
co_sdev
A static CANopen device.
Definition: sdev.h:30
sdev.h