VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtSharedInteractionsSettings.h
Go to the documentation of this file.
1 /******************************************************************************
2  * Copyright (c) 2026 MAK Technologies, Inc.
3  * All rights reserved.
4  *****************************************************************************/
5 
9 
10 #pragma once
11 
15 
17 
18 namespace makVrv
19 {
20 
21  class DtDe;
23 
26 
33  {
34  public:
35 
38 
41 
43  virtual bool enableBallistics() const;
44 
47  virtual void setEnableBallistics(bool enabled);
48 
50 
53 
56  void setFromRecord(const makArchives::DtInteractionsSettingsRecord& rec);
57 
60  void getRecord(makArchives::DtInteractionsSettingsRecord& rec) const;
61 
63  virtual const DtInteractionsSettingsBackup* settingsBackup() const;
64 
66  virtual DtInteractionsSettingsBackup* settingsBackup();
67 
69  virtual void backup();
70 
72 
74  static const std::string& className();
75 
76  protected:
77 
82 
85 
86  protected:
87 
89 
91  };
92 
93 }
a read settings lock on a setting object. The object can only get read access aka const functions...
Definition: DtReadSettingsLock.h:48
DtSharedRecordSettingsBackup< DtSharedInteractionsSettings, makArchives::DtInteractionsSettingsRecord > DtInteractionsSettingsBackup
Definition: DtSharedInteractionsSettings.h:22
The shared settings manager, is the global object responsible for managing any shared settings object...
Definition: DtSharedSettingsManager.h:42
Thread-safe shared state object for interaction display settings.
Definition: DtSharedInteractionsSettings.h:32
The base class for all shared settings. Actual settings class should have the following members/decla...
Definition: DtSharedSettings.h:48
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
Contains the DtSharedSettings class declaration.
a write settings lock on a setting object. The object can be read and modified, but no other threads ...
Definition: DtWriteSettingsLock.h:47
bool myEnableBallistics
Definition: DtSharedInteractionsSettings.h:88
DtInteractionsSettingsBackup * mySettingsBackup
Definition: DtSharedInteractionsSettings.h:90
Serialization record for interaction display settings.
Stores the persistent state for interaction display settings, including the flag that controls whethe...
Definition: DtInteractionsSettingsRecord.h:25
The makVrv::DtSharedRecordSettingsBackup is a templaced class that settings records will use in order...
Definition: DtRecordSettingsBackup.h:223

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)