#include <SctApiConfigCache.h>
Public Member Functions | |
boost::shared_ptr< ModuleBanks > | getFromMid (const UINT32 mid) |
return shared pointer to the ABCDModule structure, or null shared pointer if it dosent exist. | |
boost::shared_ptr< const ModuleBanks > | getFromMid (const UINT32 mid) const |
void | clearMid (const UINT32 mid) |
clear a module from the cache | |
void | clearAll () |
clear all modules. | |
void | copyAllModules (BankType from, std::list< BankType > to) |
copy from single bank to a set of banks for all modules | |
void | copyAllModules (BankType from, BankType to) |
copy from single bank to single bank for all modules | |
void | set (UINT32 mid, boost::shared_ptr< ModuleBanks > banks) |
add a module with a particular MID and bank | |
SctApiConfigCache () | |
constructor. | |
~SctApiConfigCache () | |
destructor | |
Private Attributes | |
std::map< UINT32, boost::shared_ptr< ModuleBanks > > | m_map |
The map itself. | |
boost::recursive_mutex | cache_mutex |
It allows the API to check what the configuration looks like, and to only do updates of those parts which are different.
Definition at line 23 of file SctApiConfigCache.h.
|
constructor.
|
|
destructor
|
|
clear all modules.
Referenced by SctApi::SctApi::initialiseAll(). |
|
clear a module from the cache
|
|
copy from single bank to single bank for all modules
|
|
copy from single bank to a set of banks for all modules
Referenced by SctApi::SctApi::copyABCDModules(). |
|
return shared pointer to the ABCDModule structure, or null shared pointer if it dosent exist.
Referenced by SctApi::SctApi::copyABCDModule(), SctApi::SctApi::getABCDModule(), SctApi::SctApi::modifyABCDVarROD(), SctApi::SctApi::sendABCDModule(), SctApi::SctApi::setABCDModule(), and SctApi::SctApi::storeModuleConfigurations(). |
|
add a module with a particular MID and bank
Referenced by SctApi::SctApi::setABCDModule(). |
|
The map itself.
Definition at line 89 of file SctApiConfigCache.h. |