![]() |
VR-Forces 4.5 Class Documentation
|
Logic that will retrieve the observer view records from the scenario manager and also use in internal member. More...

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 &, bool animate=false) |
| 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() ) | |
Protected Attributes | |
| makVrv::DtSignalConnectionManager | myConnections |
Protected Attributes inherited from makVrv::DtObserverViewsWidgetLogic | |
| DtDe & | myDe |
| DtObserverViewsWidgetInterface * | myInterface |
| DtObserver * | myCurrentObserver |
| DtInputDriver * | myInputDriver |
| bool | myHasSetupObserverRecords |
| makArchives::DtObserverStateRecordsList | myObserverRecords |
Additional Inherited Members | |
Static Public Member Functions inherited from makVrv::DtObserverViewsWidgetLogic | |
| static DtObserverViewsWidgetLogic * | create (DtDe &de, DtObserverViewsWidgetInterface *iFace) |
| Create and initialize the logic. | |
Logic that will retrieve the observer view records from the scenario manager and also use in internal member.
| makVrf::DtVrfObserverViewsWidgetLogic::DtVrfObserverViewsWidgetLogic | ( | makVrv::DtDe & | de, |
| makVrv::DtObserverViewsWidgetInterface * | iFace | ||
| ) |
CTOR.
|
virtual |
DTOR.
|
protectedvirtual |
Captures the current observer view and adds a new record to the interface.
Reimplemented from makVrv::DtObserverViewsWidgetLogic.
|
protectedvirtual |
Clears out internal observer views and tells interface to do the same.
Reimplemented from makVrv::DtObserverViewsWidgetLogic.
|
protectedvirtual |
Deletes the specified observer view from interface and observer record list.
Reimplemented from makVrv::DtObserverViewsWidgetLogic.
|
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.
|
protectedvirtual |
Loads observer state records, setting them into the interface, and optionally setting the observers as well.
Reimplemented from makVrv::DtObserverViewsWidgetLogic.
|
protectedvirtual |
Called when observer views are loaded with a scenario.
|
protected |