Class MonitorConnectEvent#
Defined in File MonitorEvent.h
Inheritance Relationships#
Base Type#
public TRAP::Events::MonitorEvent
(Class MonitorEvent)
Class Documentation#
-
class MonitorConnectEvent : public TRAP::Events::MonitorEvent#
Monitor connected.
Remark
Headless mode: This class is not available in headless mode.
Public Functions
-
explicit constexpr MonitorConnectEvent(const Monitor &monitor) noexcept#
Constructor.
- Parameters:
monitor – Newly connected monitor.
-
constexpr ~MonitorConnectEvent() override = default#
Destructor.
-
consteval MonitorConnectEvent(const MonitorConnectEvent&) noexcept = delete#
Copy constructor.
-
consteval MonitorConnectEvent &operator=(const MonitorConnectEvent&) noexcept = delete#
Copy assignment operator.
-
constexpr MonitorConnectEvent(MonitorConnectEvent&&) noexcept = default#
Move constructor.
-
MonitorConnectEvent &operator=(MonitorConnectEvent&&) 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 MonitorConnectEvent(const Monitor &monitor) noexcept#