Compatibility header, providing wrapper functions for the older .sendEvent options of event write tokens.
More...
Compatibility header, providing wrapper functions for the older .sendEvent options of event write tokens.
The "wrapSendEvent" function can be used to send an event with self-allocated event data.
- Parameters
-
t | Valid channel write token, configured for events. |
edata | Pointer to the object to be written. Must be a valid DCO object, dynamically allocated, and the channel will assume ownership! |
tick | Time tick for the writing. |
Note that the use of this function should be reserved to people who really know what they are doing, and only if there is a real (performance) need, if you are not one of these, inform yourself well or use an DataWriter, which provides a much safer interface to the channel.
The "wrapSendEvent" function can be used to send an event with self-allocated event data.
Note that the use of this function should be reserved to people who really know what they are doing, and only if there is a real (performance) need, if you are not one of these, inform yourself well or use a DataWriter, which provides a much safer interface to the channel.
The "wrapSendData" function can be used to send an event or stream data with self-allocated data.
- Parameters
-
t | Valid channel write token, configured for events. |
edata | Pointer to the object to be written. Must be a valid DCO object, dynamically allocated, and the channel will assume ownership! |
tick | Time spec for the writing. |
Note that the use of this function should be reserved to people who really know what they are doing, and only if there is a real (performance) need, if you are not one of these, inform yourself well or use a DataWriter, which provides a much safer interface to the channel.