You.i Engine
CYITime::UpdateListener Class Referenceabstract

#include <utility/YiTime.h>

Inheritance diagram for CYITime::UpdateListener:

Public Member Functions

 UpdateListener ()
 
virtual ~UpdateListener ()
 
virtual bool OnFrameTimeUpdated (std::chrono::microseconds frameTime)=0
 
virtual bool GetDisablesInput ()
 

Static Public Attributes

static const uint32_t DEFAULT_UPDATE_PRIORITY = 0
 

Friends

class CYITime
 

Constructor & Destructor Documentation

◆ UpdateListener()

CYITime::UpdateListener::UpdateListener ( )

◆ ~UpdateListener()

virtual CYITime::UpdateListener::~UpdateListener ( )
virtual

Member Function Documentation

◆ GetDisablesInput()

virtual bool CYITime::UpdateListener::GetDisablesInput ( )
virtual

Override and return true if this listener blocks user input. The default implementation returns false.

Reimplemented in CYIScreenTransition.

◆ OnFrameTimeUpdated()

virtual bool CYITime::UpdateListener::OnFrameTimeUpdated ( std::chrono::microseconds  frameTime)
pure virtual

Implement this function to receive frame time update notifications. Return true if you want to keep receiving notifications. Return false if you want the listener to unregister.

Implemented in CYIScrollingView, CYIAbstractCameraSceneNode, CYIScreenTransition, CYIVideoSurfaceView, and CYIPlatformView.

Friends And Related Function Documentation

◆ CYITime

friend class CYITime
friend

Member Data Documentation

◆ DEFAULT_UPDATE_PRIORITY

const uint32_t CYITime::UpdateListener::DEFAULT_UPDATE_PRIORITY = 0
static

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