StandAloneWindowEvent

class StandAloneWindowEvent : public HPS::Event

The StandAloneWindowEvent class is the event that is generated by a Standalone window.

Public Types

enum class Action : uint32_t

Enumeration of various actions StandAloneWindowEvent.

Values:

enumerator Unknown

The StandAloneWindow has recieved a unknown message.

enumerator Close

The StandAloneWindow has recieved a close.

enumerator FocusIn
enumerator FocusOut

Public Functions

inline virtual char const *ClassName() const override
inline virtual Event *Clone() const override

Allocates and returns a copy of this ErrorEvent.

Returns:A copy of this ErrorEvent.
inline virtual bool Equals(StandAloneWindowEvent const &in_that) const

Check if the source object is equivalent to this object.

Parameters:in_event – The source object to compare to this object.
Returns:true if the objects are equivalent, false otherwise.
inline virtual bool operator!=(StandAloneWindowEvent const &in_that) const

Check if the source object is not equivalent to this object.

Parameters:in_event – The source object to compare to this object.
Returns:true if the objects are not equivalent, false otherwise.
inline virtual bool operator==(StandAloneWindowEvent const &in_that) const

Check if the source object is equivalent to this object.

Parameters:in_event – The source object to compare to this object.
Returns:true if the objects are equivalent, false otherwise.
inline StandAloneWindowEvent()

The default constructor creates an StandAloneWindowEvent object with an empty message and code of 0.

inline StandAloneWindowEvent(Action in_action)

This constructor creates a StandAloneWindowEvent object for a given action.

Parameters:in_action – Action of this StandAloneWindowEvent.
inline StandAloneWindowEvent(Event const &in_event)

This constructor converts an Event Object to a StandAloneWindowEvent object.

Parameters:in_event – The Event Object to be converted.
~StandAloneWindowEvent()

Public Members

Action action

The action for this StandAloneWindowEvent.