#include <PersistencyUnit.h>
Public Member Functions | |
PersistencyUnit (GlobalDevice &globalDevice, std::vector< AbstractDevice * > deviceCol, std::vector< DomainStore * > domainStoreCol, const std::string &persistencyFileName) | |
constructor | |
const std::vector < AbstractDevice * > & | getDeviceCollection () |
this method returns the devices of this persistent unit | |
const std::vector< DomainStore * > & | getDomainStoreCollection () |
this method returns the domain stores of this persistent unit | |
GlobalDevice & | getGlobalDevice () |
this method returns the global device of this persistent unit | |
const std::string & | getPersistencyFileName () |
returns the file name in which the persistent fields will be stored | |
Private Attributes | |
GlobalDevice & | pGlobalDevice_ |
global device that will be stored | |
std::vector< AbstractDevice * > | deviceCol_ |
list of devices that will be stored | |
std::vector< DomainStore * > | domainStoreCol_ |
list of domain stores that will be stored | |
std::string | persistencyFileName_ |
name of the persistency file |
Definition at line 18 of file PersistencyUnit.h.
fesa::PersistencyUnit::PersistencyUnit | ( | GlobalDevice & | globalDevice, | |
std::vector< AbstractDevice * > | deviceCol, | |||
std::vector< DomainStore * > | domainStoreCol, | |||
const std::string & | persistencyFileName | |||
) |
constructor
pGlobalDevice | that will be stored | |
devices | that will be store | |
global | domains that will be stored | |
persistencyFileName | name of the file in which the information will be stored |
Definition at line 13 of file PersistencyUnit.cpp.
const std::vector< AbstractDevice * > & fesa::PersistencyUnit::getDeviceCollection | ( | ) | [inline] |
this method returns the devices of this persistent unit
Definition at line 82 of file PersistencyUnit.h.
References deviceCol_.
Referenced by fesa::StoreManager::store().
const std::vector< DomainStore * > & fesa::PersistencyUnit::getDomainStoreCollection | ( | ) | [inline] |
this method returns the domain stores of this persistent unit
Definition at line 87 of file PersistencyUnit.h.
References domainStoreCol_.
Referenced by fesa::StoreManager::store().
GlobalDevice & fesa::PersistencyUnit::getGlobalDevice | ( | ) | [inline] |
this method returns the global device of this persistent unit
Definition at line 92 of file PersistencyUnit.h.
References pGlobalDevice_.
Referenced by fesa::PersistencyManager::registerPersistencyUnit(), and fesa::StoreManager::store().
const std::string & fesa::PersistencyUnit::getPersistencyFileName | ( | ) | [inline] |
returns the file name in which the persistent fields will be stored
Definition at line 97 of file PersistencyUnit.h.
References persistencyFileName_.
Referenced by fesa::StoreManager::store().
std::vector<AbstractDevice*> fesa::PersistencyUnit::deviceCol_ [private] |
list of devices that will be stored
Definition at line 68 of file PersistencyUnit.h.
Referenced by getDeviceCollection().
std::vector<DomainStore*> fesa::PersistencyUnit::domainStoreCol_ [private] |
list of domain stores that will be stored
Definition at line 73 of file PersistencyUnit.h.
Referenced by getDomainStoreCollection().
std::string fesa::PersistencyUnit::persistencyFileName_ [private] |
name of the persistency file
Definition at line 78 of file PersistencyUnit.h.
Referenced by getPersistencyFileName().
global device that will be stored
Definition at line 63 of file PersistencyUnit.h.
Referenced by getGlobalDevice().