VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
soundEvent.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2026 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 #pragma once
6 
9 #include <vrfutil/uuid.h>
10 #include <vlpi/entityType.h>
11 
12 namespace makVrfEvents
13 {
15 {
16 public:
17  DtSoundEvent();
18  DtSoundEvent(const DtUUID& sourceObjectIdentifier, const DtEntityType& soundType, const DtVector& relativePosition, const DtVector& worldLocation, const double& decibelLevel);
19  DtSoundEvent(const DtSoundEvent&);
20 
21  DtSoundEvent& operator=(const DtSoundEvent&);
22 
23  virtual DtEvent* clone() const override { return new DtSoundEvent(*this); };
24 
25  virtual const DtUUID& sourceObjectIdentifier() const;
26  virtual void setSourceObjectIdentifier(const DtUUID& id);
27  virtual const DtEntityType& soundType() const;
28  virtual void setSoundType(const DtEntityType& t);
29  virtual const DtVector& relativePosition() const;
30  virtual void setRelativePosition(const DtVector& position);
31  virtual const DtVector& worldLocation() const;
32  virtual void setWorldLocation(const DtVector& location);
33  virtual double decibelLevel() const;
34  virtual void setDecibelLevel(double level);
35 
36 
37 protected:
39  DtEntityType mySoundType;
41  DtVector myWorldLocation;
43 };
44 }
UUID is a unique ID wrapper class.
Definition: uuid.h:59
DT_DLL_VRVCORE DtTaitBryan level(const DtCoordinateSystem &cs, const DtVector &localOrigin, double topoHeading)
Returns a level orientation with the topographic heading.
Contains the DtUUID class declaration.
double myDecibelLevel
Definition: soundEvent.h:42
DtVector myWorldLocation
Definition: soundEvent.h:41
virtual DtEvent * clone() const override
Definition: soundEvent.h:23
DtEntityType mySoundType
Definition: soundEvent.h:39
Definition: event.h:13
DtUUID mySourceObjectIdentifier
Definition: soundEvent.h:38
#define DT_DLL_vrfMsgTransport
This file is used to determine how to build Disable inconsistent dll linkage warning Visual Studio 6...
Definition: vrfCommunicationManagerDefines.h:26
DtVector myRelativePosition
Definition: soundEvent.h:40
Definition: soundEvent.h:14

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)