header file.
More...
Go to the source code of this file.
header file.
- Copyright
- ESO - European Southern Observatory
- Author
- crosenqu
#define DECLARE_EVENT |
( |
|
name, |
|
|
|
type |
|
) |
| |
Value:
static constexpr
char const*
id = #
name;\
using payload_t = type; \
}
optional string name
Definition: topics.proto:50
Helper macro to define events with a payload.
- Note
- The runtime id will be the same as the Event type name.
#define DECLARE_VOID_EVENT |
( |
|
name | ) |
|
Value:
static constexpr
char const*
id = #
name;\
using payload_t = void; \
}
optional string name
Definition: topics.proto:50
Helper macro to define events without a payload.
- Note
- The runtime id will be the same as the Event type name.