Lely core libraries  2.2.5
dcf.hpp
Go to the documentation of this file.
1 
23 #ifndef LELY_CO_DCF_HPP_
24 #define LELY_CO_DCF_HPP_
25 
26 #ifndef __cplusplus
27 #error "include <lely/co/dcf.h> for the C interface"
28 #endif
29 
30 #include <lely/co/dcf.h>
31 #include <lely/co/dev.hpp>
32 
33 namespace lely {
34 
35 inline typename c_type_traits<__co_dev>::pointer
36 c_type_traits<__co_dev>::init(pointer p, const char* filename) noexcept {
37  return __co_dev_init_from_dcf_file(p, filename);
38 }
39 
40 inline typename c_type_traits<__co_dev>::pointer
41 c_type_traits<__co_dev>::init(pointer p, const char* begin, const char* end,
42  floc* at) noexcept {
43  return __co_dev_init_from_dcf_text(p, begin, end, at);
44 }
45 
46 } // namespace lely
47 
48 #endif // !LELY_CO_DCF_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 Electronic Data Sheet (EDS) and Devi...
A location in a text file.
Definition: diag.h:31