VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties 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. An instance of this class is created as sharedState, and the map of model set realizations is synchronized.

Public Types

typedef std::map< DtModelSetId,
bool
ModelSetRealizations
 

Public Member Functions

virtual ~DtModelSetRealizationManager ()
 
const ModelSetRealizationsmodelSetRealizations () const
 
bool visualizeModelSet (DtModelSetId modelSet) const
 
void setVisualizeModelSet (DtModelSetId modelset, bool visualize)
 
bool loadModelSetRealizations (const std::string &filepath)
 
bool saveModelSetRealizations (const std::string &filepath) const
 
void saveAsDefaults ()
 
void loadDefaults ()
 
const std::string & name () const
 
void setName (const std::string &name)
 
const std::string & extension () const
 
void setExtension (const std::string &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 &)
 
std::string defaultFilePath () const
 

Protected Attributes

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

Friends

class DtModelSetRealizationManagerCreator
 

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 ( DtModelSetId  modelSet) const

get whether a model set should be visualized

void makVrv::DtModelSetRealizationManager::setVisualizeModelSet ( DtModelSetId  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 Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)