VR-Forces 4.1.1 Class Documentation
List of all members | Public Member Functions | Protected Member Functions
makVrf::DtVrfObserverViewsWidgetLogic Class Reference

Logic that will retrieve the observer view records from the scenario manager and also use in internal member. More...

Inheritance diagram for makVrf::DtVrfObserverViewsWidgetLogic:
Inheritance graph
[legend]

Public Member Functions

 DtVrfObserverViewsWidgetLogic (makVrv::DtDe &de, makVrv::DtObserverViewsWidgetInterface *iFace)
 CTOR.
virtual ~DtVrfObserverViewsWidgetLogic ()
 DTOR.
- Public Member Functions inherited from makVrv::DtObserverViewsWidgetLogic
virtual ~DtObserverViewsWidgetLogic ()
 virtual DTOR
virtual void setCurrentObserver (const std::string &observerName)
 Set the observer to use in all other operations.
virtual void setCurrentObserver (DtObserver *)
virtual void setObserverView (const std::string &)
 Sets the currently selected observer to the new view.
virtual void saveObserverStateRecords (const std::string &filename)
 Saves out all records to the specified filename.
virtual void saveObserverStateRecord (const std::string &filename, const std::string &record)
 Saves out the specified record to the specified filename.
virtual void loadObserverStateRecords (const std::string &)
 Loads in the specified file and merges in records found into the internal records list and into the user interface.
virtual void loadAndSetObserverState (const std::string &)
 Loads the specified file into internal records and interface as loadObserverStateRecords, but also sets up all observers (in order they are specified) with records found in the file.

Protected Member Functions

virtual void captureAndAddObserverView ()
 Captures the current observer view and adds a new record to the interface.
virtual void clearObserverViews ()
 Clears out internal observer views and tells interface to do the same.
virtual void deleteView (const std::string &)
 Deletes the specified observer view from interface and observer record list.
virtual bool renameObserverRecord (const std::string &newName, const std::string &oldName)
 Renames the observer view record internally and in the interface if the name does not already exist.
virtual void loadObserverStateRecords (const std::string &, bool setObservers)
 Loads observer state records, setting them into the interface, and optionally setting the observers as well.
virtual void loadObserverViewsFromScenario ()
 Called when observer views are loaded with a scenario.
- Protected Member Functions inherited from makVrv::DtObserverViewsWidgetLogic
virtual void slot_activate (DtDe *subject)
virtual void slot_deactivate (DtDe *subject)
virtual void onObserverAboutToBeDestroyed (DtInputDriver *inputDriver, DtObserver *observer)
virtual void onCurrentObserverChanged (DtInputDriver *inputDriver, DtObserver *observer)
virtual void onInputDriverCreated (DtInputDriver *inputDriver)
virtual void onInputDriverAboutToBeDestroyed (DtInputDriver *inputDriver)
virtual void processEnableState ()
 /brief Enables/Disables buttons in interface based on whether or not there is an observer
virtual std::string generateName (const makArchives::DtObserverStateRecord &) const
 /brief Generates a unique name based on the supplied observer record and what is already in the list
virtual void loadObserverStateRecords (const std::string &, makArchives::DtObserverStateRecordsList &) const
 /brief Returns a list of all records found in the specified file
 DtObserverViewsWidgetLogic (DtDe &de, DtObserverViewsWidgetInterface *iFace)
 Constructor (protected - use ::create() )

Additional Inherited Members

- Static Public Member Functions inherited from makVrv::DtObserverViewsWidgetLogic
static DtObserverViewsWidgetLogiccreate (DtDe &de, DtObserverViewsWidgetInterface *iFace)
 Create and initialize the logic.
- Protected Attributes inherited from makVrv::DtObserverViewsWidgetLogic
DtDemyDe
DtObserverViewsWidgetInterfacemyInterface
DtObservermyCurrentObserver
DtInputDrivermyInputDriver
makArchives::DtObserverStateRecordsList myObserverRecords

Detailed Description

Logic that will retrieve the observer view records from the scenario manager and also use in internal member.

Constructor & Destructor Documentation

makVrf::DtVrfObserverViewsWidgetLogic::DtVrfObserverViewsWidgetLogic ( makVrv::DtDe de,
makVrv::DtObserverViewsWidgetInterface iFace 
)

CTOR.

virtual makVrf::DtVrfObserverViewsWidgetLogic::~DtVrfObserverViewsWidgetLogic ( )
virtual

DTOR.

Member Function Documentation

virtual void makVrf::DtVrfObserverViewsWidgetLogic::captureAndAddObserverView ( )
protectedvirtual

Captures the current observer view and adds a new record to the interface.

Reimplemented from makVrv::DtObserverViewsWidgetLogic.

virtual void makVrf::DtVrfObserverViewsWidgetLogic::clearObserverViews ( )
protectedvirtual

Clears out internal observer views and tells interface to do the same.

Reimplemented from makVrv::DtObserverViewsWidgetLogic.

virtual void makVrf::DtVrfObserverViewsWidgetLogic::deleteView ( const std::string &  )
protectedvirtual

Deletes the specified observer view from interface and observer record list.

Reimplemented from makVrv::DtObserverViewsWidgetLogic.

virtual bool makVrf::DtVrfObserverViewsWidgetLogic::renameObserverRecord ( const std::string &  newName,
const std::string &  oldName 
)
protectedvirtual

Renames the observer view record internally and in the interface if the name does not already exist.

If it does, method returns false

Reimplemented from makVrv::DtObserverViewsWidgetLogic.

virtual void makVrf::DtVrfObserverViewsWidgetLogic::loadObserverStateRecords ( const std::string &  ,
bool  setObservers 
)
protectedvirtual

Loads observer state records, setting them into the interface, and optionally setting the observers as well.

Reimplemented from makVrv::DtObserverViewsWidgetLogic.

virtual void makVrf::DtVrfObserverViewsWidgetLogic::loadObserverViewsFromScenario ( )
protectedvirtual

Called when observer views are loaded with a scenario.


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

Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)