VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtSoundCreatorInterface.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 <vrvCore/vrvCore.h>
13 
15 
16 #include <string>
17 
18 namespace makVrv
19 {
20  class DtDe;
21  class DtModel;
22  class DtModelDefinition;
23 
56  {
57  public:
58 
61  static DtSoundCreatorInterface* findInstance(DtDe& de);
62 
65  static void registerInstance(DtDe& de, DtSoundCreatorInterface* creator);
66 
68  static const std::string& theClassName();
69 
70  public:
71 
73  virtual ~DtSoundCreatorInterface();
74 
86  virtual void onModelDefinitionSet(
87  DtModel& model, const DtModelDefinition* definition) = 0;
88 
95  virtual void onModelDestroyed(DtModel& model) = 0;
96 
97  protected:
98 
101 
104 
106  DtSoundCreatorInterface& operator=(const DtSoundCreatorInterface&) = delete;
107  };
108 }
Virtual base class. Allows for RTTI and proper virtual destruction. Used by Creators, Factories, Providers, Assemblers and User Interfaces.
Definition: DtVirtualBaseClass.h:19
A model definition Interaction any number of named parameters, and also can be used to store cached d...
Definition: DtModelDefinition.h:44
Contains makVrv::DtVirtualBaseClass class.
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
Per-De abstract interface for creating and destroying model-definition-driven sound components...
Definition: DtSoundCreatorInterface.h:55
A model which owns a single model instance. A DtModel is a managing container for a single DtModelIns...
Definition: DtModel.h:57
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 DLL export macros.

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)