![]() |
VR-Forces 4.7 Class Documentation
|
Class for holding extended settings that are communicated over the thread boundry. More...

Public Types | |
| enum | EntityStates { AwaitingMessage = 0x00000001, AwaitingQuestion = 0x00000002 } |
Public Member Functions | |
| virtual | ~DtSharedVrfVrlApplicationSettings () |
| DTOR. | |
| virtual void | increaseDriversStarted () |
| Accessors for telling how many drivers have been started. | |
| virtual void | decreaseDriversStarted () |
| virtual int | driversStarted () const |
| Returns the number of drivers started. | |
| virtual void | setDisplayObjectConsoleWarningIcon (bool) |
| Get/set whether or not to show the entity object console warning icon. | |
| virtual bool | displayObjectConsoleWarningIcon () const |
| virtual void | setShowGumballs (bool) |
| Get/set whether or not to show the aggregate gumballs. | |
| virtual bool | showGumballs () const |
| virtual void | setShowHealth (bool) |
| Get/set whether or not to show the aggregate health. | |
| virtual bool | showHealth () const |
| virtual void | setDisplayBoundingBoxesWhenSelected (bool) |
| Get/set whether or not entity bounding boxes are shown when an entity is selected. | |
| virtual bool | displayBoundingBoxesWhenSelected () const |
| virtual void | setDisplayTaskVisualizationsWhenSelected (bool) |
| Get/set whether or not entity task visualizations are shown when an entity is selected. | |
| virtual bool | displayTaskVisualizationsWhenSelected () const |
| virtual void | setGumballsDirectory (const std::string &) |
| Get/set the gumballs icons directory. | |
| virtual const std::string & | gumballsDirectory () const |
| virtual void | clearAllAwaiting (makVrv::DtElementID) |
| Clears all awaiting flags for given entity. | |
| virtual void | setHasAwaitingMessages (makVrv::DtElementID, bool) |
| Set whether or not an entity has messages waiting. | |
| virtual bool | hasAwaitingMessages (makVrv::DtElementID) const |
| virtual void | setHasAwaitingQuestions (makVrv::DtElementID, bool) |
| Set whether or not an entity has question waiting. | |
| virtual bool | hasAwaitingQuestions (makVrv::DtElementID) const |
| virtual void | setObserversPublished (bool) |
| Set whether or not observers are to be published. | |
| virtual bool | observersPublished () const |
| virtual void | setApplicationInitialized (bool) |
| Set when the application is fully initialized. Releases communication thread to start. | |
| virtual bool | applicationInitialized () const |
| virtual void | setApplicationId (int siteId, int appId) |
| Site/Application id accessors. | |
| virtual void | getApplicationId (int &siteId, int &appId) const |
| virtual void | setStealthType (const DtEntityType &) |
| Get/set stealth published type. Default 12, 0, 0, 0, 0, 0, 0, 0. | |
| virtual DtEntityType | stealthType () const |
| virtual void | setShowTaskVisualizations (makVrv::DtElementID, bool) |
| Set whether or not an entity has its task visualizations shown. | |
| virtual bool | taskVisualizationsShown (makVrv::DtElementID) const |
| virtual void | setExtendedEntityFlags (int i) |
| Get/set extended entity flags. | |
| virtual int | extendedEntityFlags () const |
| virtual void | setColorVerticesByForce (bool) |
| Get/set color vertices by force. | |
| virtual bool | colorVerticesByForce () const |
| virtual void | setWaitingToSendBackendQuitMessage (bool) |
| {@ Accessor/mutator for whether or not the system is waiting to send the back-end quit message before shutting down | |
| virtual bool | waitingToSendBackendQuitMessage () const |
| virtual void | setApplicationIsQuitting (bool) |
| {@ Accessor/mutator for whether or not the application is quitting | |
| virtual bool | applicationIsQuitting () const |
| virtual void | setImageFileForCategory (const std::string &, const std::string &) |
| {@ Image files for categories that will be shown in health | |
| virtual std::string | imageFileForCategory (const std::string &) const |
| virtual void | setPrimaryEquipmentHealthCount (int) |
| virtual int | primaryEquipmentHealthCount () const |
| virtual void | setMaxSingleEntityHealthForPrimaryEquipDisplay (int) |
| virtual int | maxSingleEntityHealthForPrimaryEquipDisplay () const |
Public Member Functions inherited from makVrv::DtSharedSettings | |
| DtSharedSettings (const DtSharedSettingsManager &manager) | |
| CTOR. | |
| virtual | ~DtSharedSettings () |
| DTOR. | |
| boost::shared_mutex & | mutex () |
| Get the mutex for the settings object. | |
| SafetyKey | safeToEmitSignals () |
| Create a safety key for the function, see above example. | |
| void | setCurrentWriteLock (boost::unique_lock< boost::shared_mutex > *currentWriteLock) |
| No need to call, set by the DtWriteSettingLock object. | |
| virtual const DtSettingsBackup * | settingsBackup () const |
| Accessor for the settings backup (const). | |
| virtual DtSettingsBackup * | settingsBackup () |
| Accessor for the settings backup. | |
| virtual void | backup () |
| Called to back up the settings. | |
Public Member Functions inherited from makVrv::DtVirtualBaseClass | |
| DtVirtualBaseClass () | |
| Do nothing constructor. | |
| virtual | ~DtVirtualBaseClass () |
| Virtual do nothing destructor. | |
Static Public Member Functions | |
| static std::string | className () |
| Get an instance of the settings object. | |
Protected Types | |
| typedef std::map < makVrv::DtElementID, EntityStates > | StateFlagMap |
| typedef std::set < makVrv::DtElementID > | ElementIdSet |
Protected Member Functions | |
| virtual void | setStateFlag (makVrv::DtElementID, EntityStates, bool) |
| Sets the particular state flag on/off for the entity. | |
| virtual bool | stateFlag (makVrv::DtElementID, EntityStates) const |
| Return true if the particular state flag is enabled. | |
| DtSharedVrfVrlApplicationSettings (makVrv::DtSharedSettingsManager &manager) | |
| CTOR. | |
Friends | |
| class | makVrv::DtReadSettingsLock< DtSharedVrfVrlApplicationSettings > |
| Also protected, use the DtReadSettingsLock and DtWriteSettingsLock to access the object. | |
| class | makVrv::DtWriteSettingsLock< DtSharedVrfVrlApplicationSettings > |
| class | makVrv::DtSharedSettingsManager |
Class for holding extended settings that are communicated over the thread boundry.
|
protected |
|
protected |
|
virtual |
DTOR.
|
protected |
CTOR.
|
static |
Get an instance of the settings object.
Also protected, use the DtReadSettingsLock and DtWriteSettingsLock to access the object.
|
virtual |
Accessors for telling how many drivers have been started.
|
virtual |
|
virtual |
Returns the number of drivers started.
|
virtual |
Get/set whether or not to show the entity object console warning icon.
|
virtual |
|
virtual |
Get/set whether or not to show the aggregate gumballs.
|
virtual |
|
virtual |
Get/set whether or not to show the aggregate health.
|
virtual |
|
virtual |
Get/set whether or not entity bounding boxes are shown when an entity is selected.
Default is true
|
virtual |
|
virtual |
Get/set whether or not entity task visualizations are shown when an entity is selected.
Default is true
|
virtual |
|
virtual |
Get/set the gumballs icons directory.
|
virtual |
|
virtual |
Clears all awaiting flags for given entity.
|
virtual |
Set whether or not an entity has messages waiting.
If this is the first time, send a signal, but, also keep track. If turned off, also send out a message if there are messages waiting
|
virtual |
|
virtual |
Set whether or not an entity has question waiting.
If this is the first time, send a signal, but, also keep track. If turned off, also send out a message if there are messages waiting
|
virtual |
|
virtual |
Set whether or not observers are to be published.
|
virtual |
|
virtual |
Set when the application is fully initialized. Releases communication thread to start.
|
virtual |
|
virtual |
Site/Application id accessors.
|
virtual |
|
virtual |
Get/set stealth published type. Default 12, 0, 0, 0, 0, 0, 0, 0.
|
virtual |
|
virtual |
Set whether or not an entity has its task visualizations shown.
|
virtual |
|
virtual |
Get/set extended entity flags.
|
virtual |
|
virtual |
Get/set color vertices by force.
|
virtual |
|
virtual |
{@ Accessor/mutator for whether or not the system is waiting to send the back-end quit message before shutting down
|
virtual |
|
virtual |
{@ Accessor/mutator for whether or not the application is quitting
|
virtual |
|
virtual |
{@ Image files for categories that will be shown in health
|
virtual |
|
virtual |
Accessor for the number of primary health items to show as icons. Default is 5
|
virtual |
|
virtual |
Accessor for what the maximum base health is for primary equipment to display, else health bar will display. Default is 2500
|
virtual |
|
protectedvirtual |
Sets the particular state flag on/off for the entity.
|
protectedvirtual |
Return true if the particular state flag is enabled.
|
friend |
Also protected, use the DtReadSettingsLock and DtWriteSettingsLock to access the object.
|
friend |
|
friend |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |