Veethree D7 SDK
Loading...
Searching...
No Matches
io_event.h
Go to the documentation of this file.
1
5#ifndef IO_EVENT_H
6#define IO_EVENT_H
7
8#include "io_event_common.h"
9
10namespace vsdk::io {
11
16
17class event_data;
18
24class event { // NOLINT(*-special-member-functions)
25public:
29 virtual ~event() noexcept = default;
34 virtual event_source source() const = 0;
39 virtual event_type type() const = 0;
62 virtual void get_data(event_data& e) const = 0;
63};
64
65
66} // namespace vsdk::io
67
68#endif // IO_EVENT_H
The event_data class.
Definition io_event_data.h:22
Describes the source of an event.
Definition io_event_source.h:25
The event class interface.
Definition io_event.h:24
virtual event_source source() const =0
The event source as defined by vsdk::io::event_source.
virtual void get_data(event_data &e) const =0
Get data from an event object.
virtual event_type type() const =0
The event type as defined by vsdk::io::event_type.
virtual ~event() noexcept=default
The class destructor.
event_type
Describes the event type.
Definition io_event_common.h:41
IO event common data types.
Any entities that belong to the IO library.