Event argument for notification events.
More...
#include <cvb/driver/notify_observable.hpp>
|
void * | Data () const noexcept |
| The raw data of the event.
|
|
int | Size () const noexcept |
| Size of the data delivered with the event.
|
|
NotifyDataType | DataType () const noexcept |
| The data type of the data delivered with the event.
|
|
template<typename T> |
T | Data () const noexcept |
| The typed data of the event.
|
|
Event argument for notification events.
◆ Data() [1/2]
The raw data of the event.
- Returns
- void* Raw pointer.
- Exceptions
-
Does | not throw any exception. |
◆ Data() [2/2]
The typed data of the event.
- Returns
- T Typed copy of the data delivered with the event.
- Exceptions
-
Does | not throw any exception. |
◆ DataType()
The data type of the data delivered with the event.
- Returns
- The data type.
- Exceptions
-
Does | not throw any exception. |
◆ Size()
Size of the data delivered with the event.
- Returns
- Size in bytes.
- Exceptions
-
Does | not throw any exception. |