VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtEntitySoundUpdater.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2018 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvAudio/vrvAudio.h>
13 
14 #include <vrvCore/DtTickable.h>
15 #include <vrvCore/DtUniqueID.h>
16 
17 namespace makVrv
18 {
19  class DtDe;
20  class DtSoundModel;
21  class DtDeadReckonUpdater;
22  class DtSceneObject;
23 
28  {
29  public:
32 
34  virtual ~DtEntitySoundUpdater();
35 
38  virtual void update(DtTime tNow);
39 
41  virtual void setSoundModel(DtSoundModel* soundModel);
42 
44  virtual void setAttachedSceneObjectId(DtUniqueID sceneObjectId);
45 
46  private:
52  DtEntitySoundUpdater &operator=(const DtEntitySoundUpdater &);
53 
54  protected:
61  };
62 }
DtUniqueID myUniqueId
Definition: DtEntitySoundUpdater.h:56
DtDeadReckonUpdater is a scene object updater that is given kinematic updates and updates a scene obj...
Definition: DtDeadReckonUpdater.h:29
DtDe & myDe
Definition: DtEntitySoundUpdater.h:55
DtUniqueID mySceneObjectId
Definition: DtEntitySoundUpdater.h:58
DtSoundModel can be used to configure, start, and stop a sound. The sound can be marked as an interac...
Definition: DtSoundModel.h:36
DtSoundModel * mySoundModel
Definition: DtEntitySoundUpdater.h:57
An abstract base class for objects that require updates. This object automatically adds itself to a D...
Definition: DtTickable.h:26
DtSceneObject * mySceneObject
Definition: DtEntitySoundUpdater.h:60
DtDeadReckonUpdater * myDeadReckonUpdater
Definition: DtEntitySoundUpdater.h:59
Contains the DLL export macro for vrvAudio classes.
DtEntitySoundUpdater updates the sound with it&#39;s associated entity. syncs the position and velocity ...
Definition: DtEntitySoundUpdater.h:27
Contains the declaration for makVrv::DtTickable.
A DtSceneObject represents an object that can be positioned in the scene by (possibly) attaching it t...
Definition: DtSceneObject.h:42
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:70

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)