ArcGIS Procedural Runtime  3.2.10650
List of all members | Public Types | Static Public Member Functions
prt::CacheObject Class Reference

#include <Cache.h>

Inheritance diagram for prt::CacheObject:
[legend]

Public Types

enum  CacheType {
  CACHE_TYPE_DEFAULT,
  CACHE_TYPE_NONREDUNDANT,
  CACHE_TYPE_COUNT
}
 
- Public Types inherited from prt::Cache
enum  PersistentBlobType {
  CACHE_TYPE_IMAGE_METADATA,
  CACHE_TYPE_PIXELDATA
}
 

Static Public Member Functions

static CacheObjectcreate (CacheType type)
 

Additional Inherited Members

- Public Member Functions inherited from prt::Object
void destroy () const
 
virtual char * toXML (char *result, size_t *resultSize, Status *stat=0) const =0
 
char * toXMLDocument (char *result, size_t *resultSize, Status *stat=0) const
 
- Public Member Functions inherited from prt::Cache
virtual void flushAll ()=0
 
virtual void flushContentType (ContentType type)=0
 
virtual void flushEntry (ContentType type, const wchar_t *key)=0
 
virtual const void * getPersistentBlob (PersistentBlobType type, const wchar_t *key, size_t *size) const =0
 
virtual const void * getTransientBlob (ContentType type, const wchar_t *key) const =0
 
virtual const void * insertAndGetTransientBlob (ContentType type, const wchar_t *key, const void *ptr)=0
 
virtual void insertPersistentBlobAndLock (PersistentBlobType type, const wchar_t *key, const void *data, size_t size)=0
 
virtual void releasePersistentBlob (PersistentBlobType type, const wchar_t *key)=0
 
virtual void releaseTransientBlob (ContentType type, const wchar_t *key)=0
 
virtual bool tryLockPersistentBlobs (ContentType type, const wchar_t *key)=0
 
virtual void unlockPersistentBlob (PersistentBlobType type, const wchar_t *key)=0
 
- Protected Member Functions inherited from prt::Object
 Object (const Object &)
 
- Static Protected Member Functions inherited from prt::Cache
static void deleteTransientBlob (const void *ptr)
 

Detailed Description

Base class for Cache implementations provided by Procedural Runtime.

Member Enumeration Documentation

◆ CacheType

The built-in cache implementations.

Enumerator
CACHE_TYPE_DEFAULT 

A straight-forward cache implementation.

CACHE_TYPE_NONREDUNDANT 

Detects identical permanent blobs (i.e. textures) and removes that redundancy.

CACHE_TYPE_COUNT 

Number of cache types.


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