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) |
| 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
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 |
|
) |
| |
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 |
void fesa::StoreManager::store |
( |
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