ScummVM API documentation
hpl::cUpdater Class Reference

Public Member Functions

 cUpdater (LowLevelSystem *apLowLevelSystem)
 
void Reset ()
 
void OnDraw ()
 
void OnPostSceneDraw ()
 
void OnPostGUIDraw ()
 
void OnPostBufferSwap ()
 
void OnStart ()
 
void Update (float afTimeStep)
 
void OnExit ()
 
bool SetContainer (tString asContainer)
 
tString GetCurrentContainerName ()
 
bool AddContainer (tString asName)
 
bool AddUpdate (tString asContainer, iUpdateable *apUpdate)
 
bool AddGlobalUpdate (iUpdateable *apUpdate)
 

Member Function Documentation

◆ SetContainer()

bool hpl::cUpdater::SetContainer ( tString  asContainer)

Sets the active update container to be used.

Parameters
asContainerName of the contianer
Returns

◆ GetCurrentContainerName()

tString hpl::cUpdater::GetCurrentContainerName ( )

Gets the name of the current container in use.

Returns
name of current container.

◆ AddContainer()

bool hpl::cUpdater::AddContainer ( tString  asName)

Adds a new container

Parameters
asNameName for the new container.
Returns

◆ AddUpdate()

bool hpl::cUpdater::AddUpdate ( tString  asContainer,
iUpdateable apUpdate 
)

Adds a new update in a container.

Parameters
asContainerContainer name
apUpdatepointer to the class that will be updated
Returns

◆ AddGlobalUpdate()

bool hpl::cUpdater::AddGlobalUpdate ( iUpdateable apUpdate)

Adds a global update that runs no matter what container is set

Parameters
apUpdate
Returns

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