VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
playSoundDescriptor.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2026 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
7 
10 
11 #pragma once
12 
14 
15 #include <vrfobjparam/rwSound.h>
17 
19 
23 {
24 public:
26  DtPlaySoundDescriptor(const DtString& componentName, DtReaderWriterRegistry* parentRegistry = 0);
27 
29  DtPlaySoundDescriptor(const DtPlaySoundDescriptor& orig, DtReaderWriterRegistry* parentRegistry = 0);
30 
31  virtual ~DtPlaySoundDescriptor() override;
32 
35 
38  virtual DtString type() const override;
39 
40  virtual DtComponentDescriptor* clone(DtReaderWriterRegistry* parentRegistry = 0) const override;
41 
44 
47  virtual DtVector relativePosition() const;
48  virtual void setRelativePosition(DtVector pos);
50 
53  virtual const DtRwSoundList& soundList() const;
54  virtual void setSoundList(const DtRwSoundList& soundList);
56 
59  virtual DtRwReal lookUpDefaultDecibelLevel(const DtEntityType& entityType ) const;
60 
61 
62 
63 
64 protected:
67 
68 protected:
71 
72 
77 
83 };
DtRwOffsetVector myRelativePosition
Parameter Name: relative-position Parameter Description: The position of the embedded system...
Definition: playSoundDescriptor.h:76
Instances of DtPlaySoundDescriptor are used to specify the parameters for a DtPlaySoundController.
Definition: playSoundDescriptor.h:22
#define DT_DLL_vrfobjparam
This file is used to determine how to build.
Definition: vrfobjparamDefines.h:28
/******************************************************************************* ** Copyright (c) 202...
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:49
Definition: readerWriterRegistry.h:39
DtComponentDescriptor & operator=(const DtComponentDescriptor &orig)
assignment
DtRwTemplatedListPtr< DtRwSound, true > DtRwSoundList
DtPlaySoundDescriptor; descriptor for the DtPlaySound controller.
Definition: playSoundDescriptor.h:18
virtual DtComponentDescriptor * clone(DtReaderWriterRegistry *parentRegistry=NULL) const
DtRwSoundList mySoundList
Parameter Name: sound-list Parameter Description: Sounds. Parameter Default Value: Empty list ...
Definition: playSoundDescriptor.h:81
Description: Readable, Writable DtReal (double)
Definition: rwReal.h:27
virtual DtString type() const
Returns the type of component this descriptor describes. Used to create the descriptor on read from a...
Specialized vector that can be used for the knowledge of an &quot;offset&quot; rather than location vector...
Definition: rwVector.h:112
static DtComponentDescriptor * creator()

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)