22 #include <matrix/vlVector.h>
33 class DtFogSignalController;
34 class DtFogSignalImGui;
61 static const std::string& theClassName();
77 void setFogVisibilityLevel(
float meters);
80 float fogVisibilityLevel()
const;
83 const std::map<DtUniqueID, std::unique_ptr<DtFogSignalController> >&
127 void slot_buoyOrBeaconFogSignalRequested(
DtUniqueID id,
128 const DtVector& position,
129 const std::string& catfog,
130 const std::string& soundFilepath,
131 const std::vector<DtSigseqSlot>& slots,
133 const std::string& rawSigseq,
140 void slot_fogSignalAudioCleared(
DtUniqueID id);
145 void slot_postTick();
158 void slot_renderImGui();
164 std::map<DtUniqueID, std::unique_ptr<DtFogSignalController> >
myControllers;
const std::map< DtUniqueID, std::unique_ptr< DtFogSignalController > > & controllers() const
Returns the active controller map, keyed by fog signal id.
Definition: DtFogSignalManager.h:84
Virtual base class. Allows for RTTI and proper virtual destruction. Used by Creators, Factories, Providers, Assemblers and User Interfaces.
Definition: DtVirtualBaseClass.h:19
Contains the DtFogSignalAttenuation value type carrying the per-buoy 3D-audio attenuation envelope fo...
std::unique_ptr< DtFogSignalImGui > myImGui
ImGui debug overlay helper. Held by unique_ptr so the destructor can be defined out-of-line where DtF...
Definition: DtFogSignalManager.h:177
Wave-action fog signal cadence configuration.
Definition: DtFogWaveAction.h:28
Tokeniser for S-57 SIGSEQ fog/light signal sequence strings.
void slot_postInitialize(makVrv::DtDe &de)
Contains the DLL export macro for vrvAudio classes.
DtSignalConnectionManager myConnections
Manages signal/slot lifetime.
Definition: DtFogSignalManager.h:180
Contains the DtFogWaveAction value type and periodForWindSpeed helper used by the fog signal wave-act...
DtDe & myDe
Simulation environment reference.
Definition: DtFogSignalManager.h:161
Contains makVrv::DtVirtualBaseClass class.
float myFogVisibilityLevel
Visibility threshold in meters. Initialized in the constructor to DtSkyObject::theDefaultFogVisibilit...
Definition: DtFogSignalManager.h:170
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
unsigned long long DtUniqueID
Definition: DtUniqueID.h:19
std::map< DtUniqueID, std::unique_ptr< DtFogSignalController > > myControllers
Active controllers, keyed by the fog signal feature's DtUniqueID.
Definition: DtFogSignalManager.h:164
bool myCurrentlyFoggy
Most recent evaluation of the foggy gate, updated each post-tick.
Definition: DtFogSignalManager.h:173
DtDe & de() const
Accessor for the owning DtDe. Used by the ImGui debug helper to reach scene state without taking a ci...
Definition: DtFogSignalManager.h:93
Base class to provide boost signal/slot management.
Contains makVrv::DtUniqueID type.
#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
bool currentlyFoggy() const
Returns true when the most recent post-tick evaluation determined that the world is foggy (i...
Definition: DtFogSignalManager.h:89
DE-scoped manager that owns one DtFogSignalController per audio fog-signal feature (typically streame...
Definition: DtFogSignalManager.h:53
Per-buoy 3D-audio attenuation envelope for a fog signal request.
Definition: DtFogSignalAttenuation.h:37