Lely core libraries  1.9.2
co.h
Go to the documentation of this file.
1 
21 #ifndef LELY_CO_CO_H_
22 #define LELY_CO_CO_H_
23 
24 #include <lely/can/can.h>
25 #include <lely/util/util.h>
26 
27 struct __co_dev;
28 #ifdef __cplusplus
29 // clang-format off
30 namespace lely { class CODev; }
31 // clang-format on
32 typedef lely::CODev co_dev_t;
33 #else
34 typedef struct __co_dev co_dev_t;
36 #endif
37 
38 struct __co_obj;
39 #ifdef __cplusplus
40 // clang-format off
41 namespace lely { class COObj; }
42 // clang-format on
43 typedef lely::COObj co_obj_t;
44 #else
45 typedef struct __co_obj co_obj_t;
47 #endif
48 
49 struct __co_sub;
50 #ifdef __cplusplus
51 // clang-format off
52 namespace lely { class COSub; }
53 // clang-format on
54 typedef lely::COSub co_sub_t;
55 #else
56 typedef struct __co_sub co_sub_t;
58 #endif
59 
60 struct __co_ssdo;
61 #ifdef __cplusplus
62 // clang-format off
63 namespace lely { class COSSDO; }
64 // clang-format on
65 typedef lely::COSSDO co_ssdo_t;
66 #else
67 typedef struct __co_ssdo co_ssdo_t;
69 #endif
70 
71 struct __co_csdo;
72 #ifdef __cplusplus
73 // clang-format off
74 namespace lely { class COCSDO; }
75 // clang-format on
76 typedef lely::COCSDO co_csdo_t;
77 #else
78 typedef struct __co_csdo co_csdo_t;
80 #endif
81 
82 struct __co_rpdo;
83 #ifdef __cplusplus
84 // clang-format off
85 namespace lely { class CORPDO; }
86 // clang-format on
87 typedef lely::CORPDO co_rpdo_t;
88 #else
89 typedef struct __co_rpdo co_rpdo_t;
91 #endif
92 
93 struct __co_tpdo;
94 #ifdef __cplusplus
95 // clang-format off
96 namespace lely { class COTPDO; }
97 // clang-format on
98 typedef lely::COTPDO co_tpdo_t;
99 #else
100 typedef struct __co_tpdo co_tpdo_t;
102 #endif
103 
104 struct __co_sync;
105 #ifdef __cplusplus
106 // clang-format off
107 namespace lely { class COSync; }
108 // clang-format on
109 typedef lely::COSync co_sync_t;
110 #else
111 typedef struct __co_sync co_sync_t;
113 #endif
114 
115 struct __co_time;
116 #ifdef __cplusplus
117 // clang-format off
118 namespace lely { class COTime; }
119 // clang-format on
120 typedef lely::COTime co_time_t;
121 #else
122 typedef struct __co_time co_time_t;
124 #endif
125 
126 struct __co_emcy;
127 #ifdef __cplusplus
128 // clang-format off
129 namespace lely { class COEmcy; }
130 // clang-format on
131 typedef lely::COEmcy co_emcy_t;
132 #else
133 typedef struct __co_emcy co_emcy_t;
135 #endif
136 
137 struct __co_nmt;
138 #ifdef __cplusplus
139 // clang-format off
140 namespace lely { class CONMT; }
141 // clang-format on
142 typedef lely::CONMT co_nmt_t;
143 #else
144 typedef struct __co_nmt co_nmt_t;
146 #endif
147 
148 struct __co_lss;
149 #ifdef __cplusplus
150 // clang-format off
151 namespace lely { class COLSS; }
152 // clang-format on
153 typedef lely::COLSS co_lss_t;
154 #else
155 typedef struct __co_lss co_lss_t;
157 #endif
158 
159 #endif // !LELY_CO_CO_H_
struct __co_time co_time_t
An opaque CANopen TIME producer/consumer service type.
Definition: co.h:123
struct __co_nmt co_nmt_t
An opaque CANopen NMT master/slave service type.
Definition: co.h:145
A CANopen LSS master/slave service.
Definition: lss.c:43
A CANopen sub-object.
Definition: obj.h:54
A CANopen Receive-PDO.
Definition: rpdo.c:40
A CANopen Server-SDO.
Definition: ssdo.c:43
struct __co_csdo co_csdo_t
An opaque CANopen Client-SDO service type.
Definition: co.h:79
A CANopen Transmit-PDO.
Definition: tpdo.c:41
struct __co_lss co_lss_t
An opaque CANopen LSS master/slave service type.
Definition: co.h:156
An opaque CANopen Client-SDO service type.
Definition: csdo.hpp:156
struct __co_sub co_sub_t
An opaque CANopen sub-object type.
Definition: co.h:57
struct __co_rpdo co_rpdo_t
An opaque CANopen Receive-PDO service type.
Definition: co.h:90
struct __co_tpdo co_tpdo_t
An opaque CANopen Transmit-PDO service type.
Definition: co.h:101
struct __co_sync co_sync_t
An opaque CANopen SYNC producer/consumer service type.
Definition: co.h:112
An opaque CANopen device type.
Definition: dev.hpp:76
An opaque CANopen LSS master/slave service type.
Definition: lss.hpp:65
struct __co_ssdo co_ssdo_t
An opaque CANopen Server-SDO service type.
Definition: co.h:68
An opaque CANopen object type.
Definition: obj.hpp:74
An opaque CANopen EMCY producer/consumer service type.
Definition: emcy.hpp:65
An opaque CANopen sub-object type.
Definition: obj.hpp:229
A CANopen Client-SDO.
Definition: csdo.c:45
An opaque CANopen Receive-PDO service type.
Definition: rpdo.hpp:65
A CANopen NMT master/slave service.
Definition: nmt.c:104
struct __co_obj co_obj_t
An opaque CANopen object type.
Definition: co.h:46
A CANopen TIME producer/consumer service.
Definition: time.c:41
An opaque CANopen Server-SDO service type.
Definition: ssdo.hpp:65
A CANopen device.
Definition: dev.c:38
struct __co_dev co_dev_t
An opaque CANopen device type.
Definition: co.h:35
An opaque CANopen Transmit-PDO service type.
Definition: tpdo.hpp:65
A CANopen EMCY producer/consumer service.
Definition: emcy.c:83
An opaque CANopen NMT master/slave service type.
Definition: nmt.hpp:70
Global namespace for the Lely Industries N.V. libraries.
Definition: buf.hpp:32
struct __co_emcy co_emcy_t
An opaque CANopen EMCY producer/consumer service type.
Definition: co.h:134
An opaque CANopen SYNC producer/consumer service type.
Definition: sync.hpp:65
A CANopen SYNC producer/consumer service.
Definition: sync.c:39
This is the public header file of the CAN library.
A CANopen object.
Definition: obj.h:32
An opaque CANopen TIME producer/consumer service type.
Definition: time.hpp:65
This is the public header file of the utilities library.