Planeshift
psCache Class Reference

psCache More...

#include <pscache.h>

Public Types

enum  CACHE_STATUS { INVALID, VALID }
 

Public Member Functions

CACHE_STATUS GetCacheStatus (void)
 Return cache status. More...
 
 psCache ()
 
void SetCacheStatus (CACHE_STATUS newStatus)
 Set cache status. More...
 
 ~psCache ()
 

Protected Attributes

CACHE_STATUS cacheStatus
 

Detailed Description

psCache

The psCache class implements the common cache mechanism.

Definition at line 33 of file pscache.h.

Member Enumeration Documentation

Enumerator
INVALID 
VALID 

Definition at line 36 of file pscache.h.

Constructor & Destructor Documentation

psCache::psCache ( )
psCache::~psCache ( )

Member Function Documentation

CACHE_STATUS psCache::GetCacheStatus ( void  )
inline

Return cache status.

Returns
CACHE_STATUS The cache status returns.

Definition at line 48 of file pscache.h.

void psCache::SetCacheStatus ( CACHE_STATUS  newStatus)
inline

Set cache status.

Parameters
newStatusnew cache status.

Definition at line 53 of file pscache.h.

Member Data Documentation

CACHE_STATUS psCache::cacheStatus
protected

Definition at line 56 of file pscache.h.


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