Hoops Visualize HPS  version 2018-SP2
Hoops Visualize HPS 3D Rendering Engine
Looking for a senior C++ dev?
I'm looking for work. Hire me!
HPS::SmoothTransitionCompleteEvent Class Reference

The SmoothTransitionCompleteEvent class is the event that will be triggered when a Smooth Transition ends. More...

#include <sprk.h>

Inheritance diagram for HPS::SmoothTransitionCompleteEvent:
Collaboration diagram for HPS::SmoothTransitionCompleteEvent:

Public Types

enum  Status : uint32_t {
  Status::InProgress,
  Status::Completed,
  Status::Failed
}
 Event Status - returned from a notifier to give the status of the event. More...
 

Public Member Functions

 SmoothTransitionCompleteEvent ()
 The default constructor creates a SmoothTransitionCompleteEvent object. More...
 
virtual ~SmoothTransitionCompleteEvent ()
 
 SmoothTransitionCompleteEvent (HPS::View const &in_view)
 This constructor creates a SmoothTransitionCompleteEvent object and associates it with a View. More...
 
 SmoothTransitionCompleteEvent (Event const &in_event)
 This constructor converts an Event Object to a SmoothTransitionCompleteEvent object. More...
 
EventClone () const
 Allocates and returns a copy of this SmoothTransitionCompleteEvent. More...
 
virtual bool Drop (Event const *in_that_event) const
 Determines if this SmoothTransitionCompleteEvent can be drop in favor of the following event of the same type. More...
 
intptr_t GetClassID () const
 Returns a unique identifier that is shared by all objects of the same class. More...
 
virtual intptr_t Freshen () const
 This optional function is used to determine if the current event can be dropped in favor of newer event of the same type if one is available. More...
 
intptr_t GetChannel () const
 Returns the channel ID assigned to an event. More...
 
Time GetTimeStamp () const
 Returns the time an event was injected into the event queue. More...
 
bool IsConsumable () const
 Indicates whether an event will be consumed when it is handled or passed on to the next handler anyway. More...
 

Static Public Member Functions

static void * operator new (size_t in_size)
 
static void operator delete (void *in_ptr, size_t in_size) throw ()
 

Public Attributes

HPS::View view
 

Protected Attributes

intptr_t channel
 
bool consumable
 

Detailed Description

The SmoothTransitionCompleteEvent class is the event that will be triggered when a Smooth Transition ends.

Member Enumeration Documentation

◆ Status

enum HPS::Event::Status : uint32_t
stronginherited

Event Status - returned from a notifier to give the status of the event.

Enumerator
InProgress 

Event is still in progress.

Completed 

Event has completed.

Failed 

Event failed.

Constructor & Destructor Documentation

◆ SmoothTransitionCompleteEvent() [1/3]

HPS::SmoothTransitionCompleteEvent::SmoothTransitionCompleteEvent ( )
inline

The default constructor creates a SmoothTransitionCompleteEvent object.

◆ ~SmoothTransitionCompleteEvent()

virtual HPS::SmoothTransitionCompleteEvent::~SmoothTransitionCompleteEvent ( )
virtual

◆ SmoothTransitionCompleteEvent() [2/3]

HPS::SmoothTransitionCompleteEvent::SmoothTransitionCompleteEvent ( HPS::View const &  in_view)
inline

This constructor creates a SmoothTransitionCompleteEvent object and associates it with a View.

Parameters
in_viewThe View that initiated the smooth transition.

◆ SmoothTransitionCompleteEvent() [3/3]

HPS::SmoothTransitionCompleteEvent::SmoothTransitionCompleteEvent ( Event const &  in_event)
inline

This constructor converts an Event Object to a SmoothTransitionCompleteEvent object.

Parameters
in_eventThe Event Object to be converted.
Here is the call graph for this function:

Member Function Documentation

◆ Clone()

Event* HPS::SmoothTransitionCompleteEvent::Clone ( ) const
inlinevirtual

Allocates and returns a copy of this SmoothTransitionCompleteEvent.

Returns
A copy of this SmoothTransitionCompleteEvent.

Implements HPS::Event.

◆ Drop()

virtual bool HPS::SmoothTransitionCompleteEvent::Drop ( Event const *  in_that_event) const
inlinevirtual

Determines if this SmoothTransitionCompleteEvent can be drop in favor of the following event of the same type.

Parameters
in_that_eventEvent to compare with this SmoothTransitionCompleteEvent.
Returns
true is this event can be dropped.

Reimplemented from HPS::Event.

◆ Freshen()

virtual intptr_t HPS::Event::Freshen ( ) const
inlinevirtualinherited

This optional function is used to determine if the current event can be dropped in favor of newer event of the same type if one is available.

Returns
A cookie representing the freshen category. Zero indicates a non-freshening event.

Reimplemented in HPS::MouseEvent, HPS::TimerTickEvent, and HPS::CameraChangedEvent.

◆ GetChannel()

intptr_t HPS::Event::GetChannel ( ) const
inlineinherited

Returns the channel ID assigned to an event.

Here is the caller graph for this function:

◆ GetClassID()

intptr_t HPS::Event::GetClassID ( ) const
inherited

Returns a unique identifier that is shared by all objects of the same class.

Here is the caller graph for this function:

◆ GetTimeStamp()

Time HPS::Event::GetTimeStamp ( ) const
inlineinherited

Returns the time an event was injected into the event queue.

◆ IsConsumable()

bool HPS::Event::IsConsumable ( ) const
inlineinherited

Indicates whether an event will be consumed when it is handled or passed on to the next handler anyway.

◆ operator delete()

static void HPS::Event::operator delete ( void *  in_ptr,
size_t  in_size 
)
throw (
)
inlinestaticinherited
Here is the call graph for this function:

◆ operator new()

static void* HPS::Event::operator new ( size_t  in_size)
inlinestaticinherited
Here is the call graph for this function:

Member Data Documentation

◆ channel

intptr_t HPS::Event::channel
protectedinherited

◆ consumable

bool HPS::Event::consumable
protectedinherited

◆ view

HPS::View HPS::SmoothTransitionCompleteEvent::view

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