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


class CYITime

Constructor & Destructor Documentation

◆ UpdateListener()

CYITime::UpdateListener::UpdateListener ( )

◆ ~UpdateListener()

virtual CYITime::UpdateListener::~UpdateListener ( )

Member Function Documentation

◆ GetDisablesInput()

virtual bool CYITime::UpdateListener::GetDisablesInput ( )

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

Member Data Documentation


const uint32_t CYITime::UpdateListener::DEFAULT_UPDATE_PRIORITY = 0

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