Class MonitorEvent#
Defined in File MonitorEvent.h
Inheritance Relationships#
Base Type#
public TRAP::Events::Event
(Class Event)
Derived Types#
public TRAP::Events::MonitorConnectEvent
(Class MonitorConnectEvent)public TRAP::Events::MonitorDisconnectEvent
(Class MonitorDisconnectEvent)
Class Documentation#
-
class MonitorEvent : public TRAP::Events::Event#
Monitor event base class.
Remark
Headless mode: This class is not available in headless mode.
Subclassed by TRAP::Events::MonitorConnectEvent, TRAP::Events::MonitorDisconnectEvent
Public Functions
-
consteval MonitorEvent(const MonitorEvent&) noexcept = delete#
Copy constructor.
-
consteval MonitorEvent &operator=(const MonitorEvent&) noexcept = delete#
Copy assignment operator.
-
constexpr ~MonitorEvent() override = default#
Destructor.
-
virtual constexpr EventCategory GetCategoryFlags() const noexcept override#
Retrieve the category flags of the event.
- Returns:
Combination of one or more EventCategory’s.
Protected Functions
-
explicit constexpr MonitorEvent(const Monitor &monitor) noexcept#
Constructor.
- Parameters:
monitor – Affected monitor.
-
constexpr MonitorEvent(MonitorEvent&&) noexcept = default#
Move constructor.
-
MonitorEvent &operator=(MonitorEvent&&) noexcept = default#
Move assignment operator.
-
consteval MonitorEvent(const MonitorEvent&) noexcept = delete#