Blender V4.3
iTaSC::Cache Class Reference

#include <Cache.hpp>

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)
 
doubleaddCacheVectorIfDifferent (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 88 of file Cache.hpp.

Constructor & Destructor Documentation

◆ Cache()

iTaSC::Cache::Cache ( )

Definition at line 190 of file Cache.cpp.

◆ ~Cache()

iTaSC::Cache::~Cache ( )

Definition at line 194 of file Cache.cpp.

References deleteDevice().

Member Function Documentation

◆ addCacheItem()

◆ addCacheVectorIfDifferent()

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

◆ addChannel()

◆ clearCacheFrom()

◆ deleteChannel()

int iTaSC::Cache::deleteChannel ( const void * device,
int channel )

◆ deleteDevice()

int iTaSC::Cache::deleteDevice ( const void * device)

Definition at line 309 of file Cache.cpp.

Referenced by ~Cache().

◆ getCurrentCacheItem()

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

Definition at line 596 of file Cache.cpp.

References CACHE_ITEM_DATA_POINTER, and NULL.

◆ getPreviousCacheItem()

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

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