MotionController Axis MultiAxis IO IOPoint NetworkNode RsiError
Sample Apps Changelog

RapidCode API

◆ CacheEnableSet()

void CacheEnableSet ( RSICacheObject  cache,
bool  enable,
uint32  expirationMilliseconds 
)
pure virtual

Configure a class to cache data for specified time.

Description:
CacheData configures a class to cache data for specified time
Parameters
cacheRSICacheObject
enableIf enable is true, any methods in this class will cache data If state is enable, class data will be read at time of call
expirationMillisecondsThe amount of time in milliseconds to cache data before it expires
Sample Code:
// Configure this class to cache data for one second
controller->CacheData(true, 1000);
Note

Caching data is disabled by default.