HPS::ComponentShownEvent Class Reference

#include <sprk.h>

Inheritance diagram for HPS::ComponentShownEvent:

Public Member Functions

EventClone () const override
ComponentShownEvent (HPS::ComponentPath const &in_path, HPS::Canvas const &in_canvas, size_t in_layer=0)
ComponentShownEvent (HPS::Event const &in_event)
- Public Member Functions inherited from HPS::Event
virtual bool Drop (Event const *in_that_event) const
 Event (intptr_t in_channel=0)
virtual intptr_t Freshen () const
intptr_t GetChannel () const
intptr_t GetClassID () const
Time GetTimeStamp () const
bool IsConsumable () const

Public Attributes

HPS::Canvas canvas
size_t layer
HPS::ComponentPath path

Additional Inherited Members

- Public Types inherited from HPS::Event
enum  Status : uint32_t { Status::InProgress, Status::Completed, Status::Failed }
- Static Public Member Functions inherited from HPS::Event
static void operator delete (void *in_ptr, size_t in_size) throw ()
static void * operator new (size_t in_size)
- Protected Attributes inherited from HPS::Event
intptr_t channel
bool consumable

Detailed Description

The ComponentShown class is the event that will be triggered for each Show call.

Member Function Documentation

◆ Clone()

Event* HPS::ComponentShownEvent::Clone ( ) const

This function is used to copy custom events classes. Users that create custom event classes must override this function to provide the proper copying behavior.

Implements HPS::Event.

The documentation for this class was generated from the following file: