this class is responsible for storing and restoring devices of a class from a persistency mechanism
More...
#include <StoreManager.h>
|
| StoreManager (const std::string &hostName) |
|
| ~StoreManager () |
| destructor
|
|
void | restore (const std::string &persistenceFile, GlobalDevice &globalDevice, std::vector< AbstractDevice * > &deviceCol, std::vector< DomainStore * > &domainStoreCol, const std::string &className, bool ignoreInvalidValues) |
| this method fills the objects passed as parameters with the information in the persistent system of the equipment More...
|
|
void | store (const 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
fesa::StoreManager::StoreManager |
( |
const std::string & |
hostName | ) |
|
- Parameters
-
hostName | the current hostName. This is written in persistence files for information. |
void fesa::StoreManager::restore |
( |
const std::string & |
persistenceFile, |
|
|
GlobalDevice & |
globalDevice, |
|
|
std::vector< AbstractDevice * > & |
deviceCol, |
|
|
std::vector< DomainStore * > & |
domainStoreCol, |
|
|
const std::string & |
className, |
|
|
bool |
ignoreInvalidValues |
|
) |
| |
this method fills the objects passed as parameters with the information in the persistent system of the equipment
- Parameters
-
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 |
ignoreInvalidValues | Flag to skip wrong values in the persistence file |
void fesa::StoreManager::store |
( |
const PersistencyUnit & |
persistencyUnit | ) |
|
this method makes stores the information about the data stores contained in the persistent unit passed by parameter
- Parameters
-
persistencyUnit | containing the DataStore objects that will be stored |
The documentation for this class was generated from the following files:
- StoreManager.h
- StoreManager.cpp