VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | Friends
makVrv::DtModelSetRealizationManager Class Reference

DtModelSetRealizationManager is responsible for tracking which model sets are currently realized. More...

Public Types

typedef std::map< int, boolModelSetRealizations

Public Member Functions

virtual ~DtModelSetRealizationManager ()
 DTOR.
const ModelSetRealizationsmodelSetRealizations () const
 get the realizations map
bool visualizeModelSet (int modelSet) const
 get whether a model set should be visualized
void setVisualizeModelSet (int modelset, bool visualize)
 set whether a model set should be visualized
bool loadModelSetRealizations (const std::string &filepath)
 load visual modes from the specified file
bool saveModelSetRealizations (const std::string &filepath) const
void saveAsDefaults ()
 save the current settings as the default settings
void loadDefaults ()
const std::string & name () const
 Get the manager's name.
void setName (const std::string &name)
 Set the manager's name.
const std::string & extension () const
 Get the extension for this manager's file type.
void setExtension (const std::string &extension)
 Set the defaults file name's extension.
void setAutoSave (bool b)
bool autoSave () const
void setFromRecord (const makArchives::DtModelSetRealizationsRecord &record)
void getRecord (makArchives::DtModelSetRealizationsRecord &record) const

Protected Member Functions

 DtModelSetRealizationManager (DtDe &)
 CTOR.
std::string defaultFilePath () const

Protected Attributes

DtDemyDe
ModelSetRealizations myModelSetRealizations
DtModelSetRealizationManagerSignalermySignaler
bool myAutoSave
std::string myName
std::string myExtension

Friends

class DtModelSetRealizationManagerCreator

Detailed Description

DtModelSetRealizationManager is responsible for tracking which model sets are currently realized.

An instance of this class is created as sharedState, and the map of model set realizations is synchronized

Member Typedef Documentation

Constructor & Destructor Documentation

virtual makVrv::DtModelSetRealizationManager::~DtModelSetRealizationManager ( )
virtual

DTOR.

makVrv::DtModelSetRealizationManager::DtModelSetRealizationManager ( DtDe )
protected

CTOR.

Member Function Documentation

const ModelSetRealizations& makVrv::DtModelSetRealizationManager::modelSetRealizations ( ) const

get the realizations map

bool makVrv::DtModelSetRealizationManager::visualizeModelSet ( int  modelSet) const

get whether a model set should be visualized

void makVrv::DtModelSetRealizationManager::setVisualizeModelSet ( int  modelset,
bool  visualize 
)

set whether a model set should be visualized

bool makVrv::DtModelSetRealizationManager::loadModelSetRealizations ( const std::string &  filepath)

load visual modes from the specified file

bool makVrv::DtModelSetRealizationManager::saveModelSetRealizations ( const std::string &  filepath) const
void makVrv::DtModelSetRealizationManager::saveAsDefaults ( )

save the current settings as the default settings

void makVrv::DtModelSetRealizationManager::loadDefaults ( )
const std::string& makVrv::DtModelSetRealizationManager::name ( ) const

Get the manager's name.

This is used to determine the file name to load defaults from

void makVrv::DtModelSetRealizationManager::setName ( const std::string &  name)

Set the manager's name.

const std::string& makVrv::DtModelSetRealizationManager::extension ( ) const

Get the extension for this manager's file type.

void makVrv::DtModelSetRealizationManager::setExtension ( const std::string &  extension)

Set the defaults file name's extension.

void makVrv::DtModelSetRealizationManager::setAutoSave ( bool  b)
bool makVrv::DtModelSetRealizationManager::autoSave ( ) const
void makVrv::DtModelSetRealizationManager::setFromRecord ( const makArchives::DtModelSetRealizationsRecord record)
void makVrv::DtModelSetRealizationManager::getRecord ( makArchives::DtModelSetRealizationsRecord record) const
std::string makVrv::DtModelSetRealizationManager::defaultFilePath ( ) const
protected

Friends And Related Function Documentation

Member Data Documentation

DtDe& makVrv::DtModelSetRealizationManager::myDe
protected
ModelSetRealizations makVrv::DtModelSetRealizationManager::myModelSetRealizations
protected
DtModelSetRealizationManagerSignaler& makVrv::DtModelSetRealizationManager::mySignaler
protected
bool makVrv::DtModelSetRealizationManager::myAutoSave
protected
std::string makVrv::DtModelSetRealizationManager::myName
protected
std::string makVrv::DtModelSetRealizationManager::myExtension
protected

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

Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)