Torque3D Documentation / _generateds / AsyncPeriodicUpdateThread

AsyncPeriodicUpdateThread

Engine/source/platform/async/asyncUpdate.h

Extension to update thread that also does automatic periodic updates.

More...

Public Types

enum
_Anonymous_ {  DEFAULT_UPDATE_INTERVAL = 4000
}

Private Types

Protected Attributes

Time between periodic updates in milliseconds.

void *

Platform-dependent timer event.

Protected Functions

Wait for an update event being triggered and immediately reset the event.

Public Functions

Detailed Description

Extension to update thread that also does automatic periodic updates.

Public Types

@134

Enumerator

DEFAULT_UPDATE_INTERVAL = 4000

Default interval between periodic updates in milliseconds.

Private Types

typedef AsyncUpdateThread Parent 

Protected Attributes

U32 mIntervalMS 

Time between periodic updates in milliseconds.

void * mUpdateTimer 

Platform-dependent timer event.

Protected Functions

_waitForEventAndReset()

Reimplemented from: AsyncUpdateThread

Public Functions

AsyncPeriodicUpdateThread(String name, AsyncUpdateList * updateList, U32 intervalMS)

~AsyncPeriodicUpdateThread()