UpdateCompletedEvent

class HPS::UpdateCompletedEvent : public HPS::Event

The UpdateCompletedEvent class is the event that is generated when an update is completed Note: Updates happen on a per-WindowKey basis, therefore, EventHandler objects which handle UpdateCompletedEvents need to be subscribed to the EventDispatcher of the WindowKey

whose update needs to be monitored. Example: myWindow.GetEventDspatcher().Subscribe(*my_handler,

HPS::Object::ClassID<HPS::UpdateCompletedEvent>());

Public Functions

inline virtual Event *Clone() const

Allocates and returns a copy of this UpdateCompletedEvent.

Returns

A copy of this UpdateCompletedEvent.

inline UpdateCompletedEvent()

The default constructor creates a UpdateCompletedEvent.

inline UpdateCompletedEvent(Event const &in_event)

This constructor converts an Event Object to an UpdateCompletedEvent object.

Parameters

in_event – The Event Object to be converted.

inline UpdateCompletedEvent(Time in_update_time, Window::UpdateStatus in_update_status)

The constructor creates a UpdateCompletedEvent.

virtual ~UpdateCompletedEvent()

Public Members

Window::UpdateStatus update_status
Time update_time