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

Public Member Functions

 DtVrfEntityIdentifierFactory (DtVrfObjectManager *)
 CTOR.
virtual ~DtVrfEntityIdentifierFactory ()
 DTOR.
virtual DtEntityIdentifier nextId (DtVrfObject *, const DtEntityIdentifier &base=DtEntityIdentifier::nullId())
 Return the next available identifier.
virtual void startScenarioLoad ()
 Call when about to start loading a scenario. Initializes internal structures for load.
virtual void endScenarioLoad ()
 Call when scenario load is over.

Protected Attributes

DtVrfObjectManagermyVrfObjectManager
std::set< DtStringmyUsedIdentifiers
bool myLoadingScenario
int myNextId

Constructor & Destructor Documentation

DtVrfEntityIdentifierFactory::DtVrfEntityIdentifierFactory ( DtVrfObjectManager )

CTOR.

virtual DtVrfEntityIdentifierFactory::~DtVrfEntityIdentifierFactory ( )
virtual

DTOR.

Member Function Documentation

virtual DtEntityIdentifier DtVrfEntityIdentifierFactory::nextId ( DtVrfObject ,
const DtEntityIdentifier &  base = DtEntityIdentifier::nullId() 
)
virtual

Return the next available identifier.

If there is a given identifer and the site/app does not match the current exercise connection site/app, the user will be warned and a new id created

virtual void DtVrfEntityIdentifierFactory::startScenarioLoad ( )
virtual

Call when about to start loading a scenario. Initializes internal structures for load.

virtual void DtVrfEntityIdentifierFactory::endScenarioLoad ( )
virtual

Call when scenario load is over.

Clears out internal structures and sets factory to always create a new identifier regardless of whether or not one is passed in

Member Data Documentation

DtVrfObjectManager* DtVrfEntityIdentifierFactory::myVrfObjectManager
protected
std::set<DtString> DtVrfEntityIdentifierFactory::myUsedIdentifiers
protected
bool DtVrfEntityIdentifierFactory::myLoadingScenario
protected
int DtVrfEntityIdentifierFactory::myNextId
protected

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

Document ID: Generated on Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)