Planeshift
Public Member Functions | Protected Attributes

CacheManager::psCacheExpireEvent Class Reference

The generic cache sets timers for each object added to the cache, then if the object is not removed by the expiration time, it calls the iCachedObject interface and deletes the object. More...

#include <cachemanager.h>

List of all members.

Public Member Functions

void CancelEvent ()
 psCacheExpireEvent (int delayticks, CachedObject *object)
virtual void Trigger ()
 Abstract event processing function.

Protected Attributes

CachedObjectmyObject
bool valid
 Set this to false if the trigger should not be fired.

Detailed Description

The generic cache sets timers for each object added to the cache, then if the object is not removed by the expiration time, it calls the iCachedObject interface and deletes the object.

Definition at line 871 of file cachemanager.h.


Constructor & Destructor Documentation

CacheManager::psCacheExpireEvent::psCacheExpireEvent ( int  delayticks,
CachedObject object 
)

Member Function Documentation

void CacheManager::psCacheExpireEvent::CancelEvent ( ) [inline]

Definition at line 879 of file cachemanager.h.

virtual void CacheManager::psCacheExpireEvent::Trigger ( ) [virtual]

Abstract event processing function.

Implements psGameEvent.


Member Data Documentation

Definition at line 875 of file cachemanager.h.

Set this to false if the trigger should not be fired.

Reimplemented from psGameEvent.

Definition at line 874 of file cachemanager.h.


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