VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtBallisticSoundSettingsManager.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 
12 #include <vrvAudio/vrvAudio.h>
14 
16 #include <vrvUtil/signalslib.h>
17 
18 namespace makVrv
19 {
20  class DtDe;
21 
32  : public DtBaseSettingsManager<DtBallisticSoundSettingsRecord>
33  {
34  public:
37  static DtBallisticSoundSettingsManager& instance(DtDe& de);
38 
42  static void registerInstance(DtDe& de,
44 
46  static const std::string& theClassName();
47 
50 
52  const DtBallisticSoundSettingsRecord& record() const;
53 
57  void setRecord(const DtBallisticSoundSettingsRecord& r);
58 
59 
61  boost::signalslib::signal<void(const DtBallisticSoundSettingsRecord&)>
63 
66 
69  virtual void setFromRecord(const DtBallisticSoundSettingsRecord& rec) override;
70 
73  virtual void getRecord(DtBallisticSoundSettingsRecord& rec) const override;
74 
76 
77  protected:
81 
86  virtual void slot_postInitialize();
87 
89  virtual bool applyFactoryOverrides(
90  DtBallisticSoundSettingsRecord& rec) const override;
91 
92  protected:
94  };
95 
96 } // namespace makVrv
Base class for (non-shared) settings managers. Extends the functionality provided by the DtCommonBase...
Definition: DtBaseSettingsManager.h:283
void slot_postInitialize(makVrv::DtDe &de)
Settings record for the ballistic proximity sound system.
Definition: DtBallisticSoundSettingsRecord.h:32
Contains the DLL export macro for vrvAudio classes.
DtBallisticSoundSettingsRecord myRecord
Current settings record.
Definition: DtBallisticSoundSettingsManager.h:93
boost::signalslib::signal< void(const DtBallisticSoundSettingsRecord &)> signal_settingsChanged
Emitted whenever the settings record changes.
Definition: DtBallisticSoundSettingsManager.h:62
Per-DtDe singleton that persists and distributes ballistic flyby sound settings.
Definition: DtBallisticSoundSettingsManager.h:31
Contains the DtBallisticSoundSettingsRecord struct declaration.
#define DT_DLL_VRVAUDIO
Definition: vrvAudio.h:20
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:76
Contains the DtBaseSettingsManager class declaration.

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)