Blender V2.61 - r43446

iTaSC::Cache Class Reference

#include <Cache.hpp>

List of all members.

Public Member Functions

 Cache ()
 ~Cache ()
int addChannel (const void *device, const char *name, unsigned int maxItemSize)
int deleteChannel (const void *device, int channel)
int deleteDevice (const void *device)
void clearCacheFrom (const void *device, CacheTS timestamp)
void * addCacheItem (const void *device, int channel, CacheTS timestamp, void *data, unsigned int length)
double * addCacheVectorIfDifferent (const void *device, int channel, CacheTS timestamp, double *data, unsigned int length, double threshold)
const void * getPreviousCacheItem (const void *device, int channel, CacheTS *timestamp)
const void * getCurrentCacheItem (const void *device, int channel, CacheTS timestamp)

Detailed Description

Definition at line 87 of file Cache.hpp.


Constructor & Destructor Documentation

Cache::Cache ( )

Definition at line 191 of file Cache.cpp.

Cache::~Cache ( )

Definition at line 195 of file Cache.cpp.

References deleteDevice().


Member Function Documentation

double * Cache::addCacheVectorIfDifferent ( const void *  device,
int  channel,
CacheTS  timestamp,
double *  data,
unsigned int  length,
double  threshold 
)
int Cache::deleteChannel ( const void *  device,
int  channel 
)
int Cache::deleteDevice ( const void *  device)

Definition at line 308 of file Cache.cpp.

Referenced by ~Cache().

const void * Cache::getCurrentCacheItem ( const void *  device,
int  channel,
CacheTS  timestamp 
)

Definition at line 595 of file Cache.cpp.

References CACHE_ITEM_DATA_POINTER, and NULL.

const void * Cache::getPreviousCacheItem ( const void *  device,
int  channel,
CacheTS timestamp 
)

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