fesa::PersistencyUnit Class Reference

#include <PersistencyUnit.h>

List of all members.

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
GlobalDevicegetGlobalDevice ()
 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

GlobalDevicepGlobalDevice_
 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

Detailed Description

Definition at line 18 of file PersistencyUnit.h.


Constructor & Destructor Documentation

fesa::PersistencyUnit::PersistencyUnit ( GlobalDevice globalDevice,
std::vector< AbstractDevice * >  deviceCol,
std::vector< DomainStore * >  domainStoreCol,
const std::string &  persistencyFileName 
)

constructor

Parameters:
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.


Member Function Documentation

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().


Member Data Documentation

list of devices that will be stored

Definition at line 68 of file PersistencyUnit.h.

Referenced by getDeviceCollection().

list of domain stores that will be stored

Definition at line 73 of file PersistencyUnit.h.

Referenced by getDomainStoreCollection().

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().


The documentation for this class was generated from the following files:

Generated on 18 Jan 2013 for Fesa by  doxygen 1.6.1