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