Class MonitorDisconnectEvent#

Inheritance Relationships#

Base Type#

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.

Public Static Functions

static constexpr EventType GetStaticType() noexcept#

Retrieve the EventType of the event.

Returns:

EventType.