VR-Forces 4.0.4 Class Documentation
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...

List of all members.

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

DTOR.

CTOR.


Member Function Documentation

get the realizations map

get whether a model set should be visualized

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

set whether a model set should be visualized

load visual modes from the specified file

save the current settings as the default settings

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.

Get the extension for this manager's file type.

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

Set the defaults file name's extension.

std::string makVrv::DtModelSetRealizationManager::defaultFilePath ( ) const [protected]

Friends And Related Function Documentation

friend class DtModelSetRealizationManagerCreator [friend]

Member Data Documentation


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)