fesa-core
4.0.0
|
this class is responsible for storing and restoring devices of a class from a persistency mechanism More...
#include <StoreManager.h>
Public Member Functions | |
StoreManager () | |
constructor | |
~StoreManager () | |
destructor | |
void | restore (const std::string &persistenceFile, GlobalDevice &globalDevice, std::vector< AbstractDevice * > &deviceCol, std::vector< DomainStore * > &domainStoreCol, const std::string &className) |
this method fills the objects passed as parameters with the information in the persistent system of the equipment More... | |
void | store (PersistencyUnit &persistencyUnit) |
this method makes stores the information about the data stores contained in the persistent unit passed by parameter More... | |
this class is responsible for storing and restoring devices of a class from a persistency mechanism
void fesa::StoreManager::restore | ( | const std::string & | persistenceFile, |
GlobalDevice & | globalDevice, | ||
std::vector< AbstractDevice * > & | deviceCol, | ||
std::vector< DomainStore * > & | domainStoreCol, | ||
const std::string & | className | ||
) |
this method fills the objects passed as parameters with the information in the persistent system of the equipment
persistenceFile | persistence file to use |
globalDevice | of the class |
deviceCol | devices of the class |
domainCol | domain stores of the class |
className | to access the persistent system |
void fesa::StoreManager::store | ( | PersistencyUnit & | persistencyUnit | ) |
this method makes stores the information about the data stores contained in the persistent unit passed by parameter
persistencyUnit | containing the DataStore objects that will be stored |