![]() |
VR-Forces Developer's Guide
|
The shared simulation settings.

Public Member Functions | |
| virtual | ~DtSharedCockpitSettings () |
| void | setCockpitMapper (const DtEntityTypeMapper &cockpitTypeMapper) |
| void | setCockpitModelMapping (const DtEntityType &type, const std::string &definition) |
| const std::vector< DtUnicode > & | mapCockpitModelDefinition (const DtEntityType &type) const |
| virtual void | setDe (DtDe *) |
| const DtModelDefinition * | findCockpitDefinition (const std::string &str) const |
| virtual DtEntityTypeMapper * | findMapperByName (const std::string &name) |
| virtual const DtEntityTypeMapper * | findMapperByName (const std::string &name) const |
| virtual DtEntityTypeMapper & | cockpitTypeMapper () |
| virtual const DtEntityTypeMapper & | cockpitTypeMapper () const |
| virtual void | setFromRecord (const makArchives::DtCockpitSettingsRecord &rec) |
| virtual void | getRecord (makArchives::DtCockpitSettingsRecord &rec) const |
| virtual void | mapperChanged (const DtEntityType &type, const DtUnicode &value, DtEntityTypeMapper &mapper) |
| virtual void | realizeCockpit (DtObserver *obs, DtUniqueID &id, const std::string &modelDefinition="") |
| virtual void | unrealizeCockpit (DtObserver *obs) |
| virtual void | computePlatformDataPath (std::string &path) const |
| virtual const std::string & | dataPath () const |
| virtual void | setDataPath (const std::string &path) |
| virtual void | setCockpitsEnabled (bool enable) |
| virtual bool | cockpitsEnabled () const |
| virtual void | hideEntity (const std::string &obsName) |
| virtual void | unHideEntity (const std::string &obsName) |
| virtual void | setAttachmentHas3DCockpit (const std::string &obsName, bool cockpit) |
| virtual DtGlStudioAttributeUpdaterFactory & | updaterFactory () |
| virtual bool | smoothingEnabled () const |
| virtual void | setSmoothingEnabled (bool smooth) |
| virtual double | smoothingPeriod () const |
| virtual void | setSmoothingPeriod (const double &period) |
| const DtSettingsBackup * | settingsBackup () const |
| DtSettingsBackup * | settingsBackup () |
| virtual void | backup () |
Public Member Functions inherited from makVrv::DtSharedSettings | |
| DtSharedSettings (const DtSharedSettingsManager &manager) | |
| virtual | ~DtSharedSettings () |
| boost::shared_mutex & | mutex () |
| SafetyKey | safeToEmitSignals () |
| void | setCurrentWriteLock (boost::unique_lock< boost::shared_mutex > *currentWriteLock) |
Public Member Functions inherited from makVrv::DtVirtualBaseClass | |
| DtVirtualBaseClass () | |
| virtual | ~DtVirtualBaseClass () |
Static Public Member Functions | |
| static std::string | className () |
Protected Member Functions | |
| DtSharedCockpitSettings (DtSharedSettingsManager &manager) | |
Protected Attributes | |
| std::vector< DtUnicode > | myEmptyMappings |
| DtEntityTypeMapper * | myCockpitTypeMapper |
| std::string | myDataPath |
| bool | myCockpitsEnabled |
| bool | myCockpitSmoothingEnabled |
| double | myCockpitSmoothingPeriod |
| DtDe * | myDe |
| DtGlStudioAttributeUpdaterFactory | myUpdaterFactory |
| DtCockpitSettingsBackup * | mySettingsBackup |
Friends | |
| class | DtReadSettingsLock< DtSharedCockpitSettings > |
| class | DtWriteSettingsLock< DtSharedCockpitSettings > |
| class | DtSharedSettingsManager |
|
virtual |
DTOR.
|
protected |
CTOR.
|
static |
Get an instance of the settings object. Also protected, use the DtReadSettingsLock and DtWriteSettingsLock to access the object.
| void makVrv::DtSharedCockpitSettings::setCockpitMapper | ( | const DtEntityTypeMapper & | cockpitTypeMapper | ) |
Set a number of the state parameters.
| void makVrv::DtSharedCockpitSettings::setCockpitModelMapping | ( | const DtEntityType & | type, |
| const std::string & | definition | ||
| ) |
Set the entity model mapping.
| const std::vector<DtUnicode>& makVrv::DtSharedCockpitSettings::mapCockpitModelDefinition | ( | const DtEntityType & | type | ) | const |
Get a model definition for an entity model based upon entity type.
|
virtual |
Sets the display engine used for the settings object.
| const DtModelDefinition* makVrv::DtSharedCockpitSettings::findCockpitDefinition | ( | const std::string & | str | ) | const |
finds a HUD definition if it exists. Returns NULL on failure
|
virtual |
Get an mapper by name.
|
virtual |
|
virtual |
Entity type mapping.
|
virtual |
|
virtual |
Set the entity settings as a record.
|
virtual |
Get the settings as a record.
|
virtual |
Slot called when mapper changes. Uses shared message signaller to send out a mapperUpdated signal.
|
virtual |
send signals to the agent in the other thread to create a HUD
|
virtual |
send signals to the agent in the other thread to remove a HUD
|
virtual |
compute the OS platform specific data path to the HUD shared objects This method should be used to compute the OS platform specific path which consists of the settings record path + the OS platform specific sub folder
|
virtual |
get the data path to the HUD shared objects This path is what is saved/loaded with the settings record and does not include the OS platform specific sub folder
|
virtual |
set the data path to the HUD shared objects This path is what is saved/loaded with the settings record and does not include the OS platform specific sub folder
|
virtual |
turns all cockpits on or off
|
virtual |
checks whether all cockpits are on or off
|
virtual |
Hides entities on a given observer.
|
virtual |
unhides entities on a given observer
|
virtual |
The GL Studio driver uses this to tell the observer that it's going to render a 3D cockpit so the observer can take that into account when determining znear.
|
virtual |
returns the factory for object and visualizer updater objects
|
virtual |
checks if HUD updater smoothing is enabled
|
virtual |
sets whether HUD updater smoothing is enabled
|
virtual |
returns HUD updater smoothing period
|
virtual |
sets theHUD updater smoothing period
|
inlinevirtual |
Accessor for the settings backup (const).
| DtCorruptedState | Re-implement to use. |
Reimplemented from makVrv::DtSharedSettings.
|
inlinevirtual |
Accessor for the settings backup.
| DtCorruptedState | Re-implement to use. |
Reimplemented from makVrv::DtSharedSettings.
|
virtual |
\brief Backs up current state using backup settings object
Reimplemented from makVrv::DtSharedSettings.
|
friend |
Also protected, use the DtReadSettingsLock and DtWriteSettingsLock to access the object.
|
friend |
|
friend |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |