Class MonitorDisconnectEvent#
Defined in File MonitorEvent.h
Inheritance Relationships#
Base Type#
public TRAP::Events::MonitorEvent
(Class MonitorEvent)
Class Documentation#
-
class MonitorDisconnectEvent : public TRAP::Events::MonitorEvent#
Monitor disconnected.
Remark
Headless mode: This class is not available in headless mode.
Public Functions
-
explicit constexpr MonitorDisconnectEvent(const Monitor &monitor) noexcept#
Constructor.
- Parameters:
monitor – Disconnected monitor.
-
constexpr ~MonitorDisconnectEvent() override = default#
Destructor.
-
consteval MonitorDisconnectEvent(const MonitorDisconnectEvent&) noexcept = delete#
Copy constructor.
-
consteval MonitorDisconnectEvent &operator=(const MonitorDisconnectEvent&) noexcept = delete#
Copy assignment operator.
-
constexpr MonitorDisconnectEvent(MonitorDisconnectEvent&&) noexcept = default#
Move constructor.
-
MonitorDisconnectEvent &operator=(MonitorDisconnectEvent&&) noexcept = default#
Move assignment operator.
-
virtual constexpr EventType GetEventType() const noexcept override#
Retrieve the EventType of the event.
- Returns:
EventType.
-
virtual constexpr std::string GetName() const override#
Retrieve the name of the event.
- Returns:
Name.
-
virtual std::string ToString() const override#
Get a string representation of the event.
- Returns:
String representation.
-
explicit constexpr MonitorDisconnectEvent(const Monitor &monitor) noexcept#