|
DUECA/DUSIME
|
Compatibility header, providing wrapper functions for the older .sendEvent options of event write tokens. More...

Functions | |
| void | dueca::wrapSendEvent (ChannelWriteToken &t, const void *edata, const TimeTickType &tick) |
| The "wrapSendEvent" function can be used to send an event with self-allocated event data. | |
| template<class T> | |
| void | dueca::wrapSendEvent (EventChannelWriteToken< T > &t, const T *edata, const TimeTickType &tick) |
| The "wrapSendEvent" function can be used to send an event with self-allocated event data. | |
| void | dueca::wrapSendData (ChannelWriteToken &t, const void *edata, const DataTimeSpec &tick) |
| The "wrapSendData" function can be used to send an event or stream data with self-allocated data. | |
Compatibility header, providing wrapper functions for the older .sendEvent options of event write tokens.
|
inline |
The "wrapSendEvent" function can be used to send an event with self-allocated event data.
| 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.
| void dueca::wrapSendEvent | ( | EventChannelWriteToken< T > & | t, |
| const T * | edata, | ||
| const TimeTickType & | tick ) |
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.
|
inline |
The "wrapSendData" function can be used to send an event or stream data with self-allocated data.
| 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.