VR-Forces 4.0.4 Class Documentation
Public Member Functions | Protected Types
makVrv::DtBaseSettingsManager< RecordType > Class Template Reference

Base class for (non-shared) settings managers. More...

Inheritance diagram for makVrv::DtBaseSettingsManager< RecordType >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtBaseSettingsManager (DtDe &de, const std::string &name, const std::string &displayName, const std::string &ext)
 CTOR.
virtual ~DtBaseSettingsManager ()
 Virtual DTOR.
Setting Persistence Methods
virtual void initializeBackup ()
 Creates a backup of the settings' current state.
virtual void setFromRecord (const RecordType &record)=0
 Set the current settings' state from the given record (abstract).
virtual void getRecord (RecordType &record) const =0
 Store the current settings' state in the given record (abstract).

Protected Types

typedef DtRecordSettingsBackup
< DtBaseSettingsManager
< RecordType >, RecordType > 
RecordBackupType

Detailed Description

template<typename RecordType>
class makVrv::DtBaseSettingsManager< RecordType >

Base class for (non-shared) settings managers.

Extends the functionality provided by the DtCommonBaseSettingsManager, by implementing the initializeBackup method. Since the backups for all non-shared settings are handled the same, new non-shared settings managers should use DtBaseSettingsManager as its base class to make use of the common initializeBackup code.


Member Typedef Documentation

template<typename RecordType>
typedef DtRecordSettingsBackup<DtBaseSettingsManager<RecordType>,RecordType> makVrv::DtBaseSettingsManager< RecordType >::RecordBackupType [protected]

Constructor & Destructor Documentation

template<typename RecordType>
makVrv::DtBaseSettingsManager< RecordType >::DtBaseSettingsManager ( DtDe de,
const std::string &  name,
const std::string &  displayName,
const std::string &  ext 
) [inline]
template<typename RecordType>
virtual makVrv::DtBaseSettingsManager< RecordType >::~DtBaseSettingsManager ( ) [inline, virtual]

Virtual DTOR.


Member Function Documentation

template<typename RecordType>
virtual void makVrv::DtBaseSettingsManager< RecordType >::initializeBackup ( ) [inline, virtual]

Creates a backup of the settings' current state.

Implements makVrv::DtCommonBaseSettingsManager< RecordType >.

template<typename RecordType>
virtual void makVrv::DtBaseSettingsManager< RecordType >::setFromRecord ( const RecordType &  record) [pure virtual]
template<typename RecordType>
virtual void makVrv::DtBaseSettingsManager< RecordType >::getRecord ( RecordType &  record) const [pure virtual]

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

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)