VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
netSoundPlayer.h
Go to the documentation of this file.
1 /******************************************************************************
2  * Copyright (c) 2014 MAK Technologies, Inc.
3  * All rights reserved.
4  ******************************************************************************/
5 
9 
10 #pragma once
11 
13 
14 #include <soundSys/soundPlayer.h>
15 
16 #include <vl/signalInteraction.h>
17 
18 class DtList;
19 class DtExerciseConn;
20 class DtBufferSource;
21 
22 namespace makVrv
23 {
24 
28  {
29  public:
30 
33  DtNetSoundPlayer( DtExerciseConn* exConn );
34 
36  virtual ~DtNetSoundPlayer();
37 
44  virtual void tick( DtConstVector viewPosition,DtConstVector viewVelocity,
45  const DtTaitBryan &viewAngle );
46 
51  void setExerciseConn( DtExerciseConn* exConn );
52 
54  void registerSignalCallbacks();
55 
58  void unregisterSignalCallbacks();
59 
61  virtual void setProcessSignalInteractions(bool);
62 
64  virtual bool processSignalInteractions() const;
65 
66  protected:
67 
68  DtExerciseConn* myExConn;
70 
71  static DtList* mySignalList;
72 
73  protected:
74 
79  virtual bool addBufferSource( DtBufferSource* bs );
80 
84  static void signalInteractionCb( DtSignalInteraction* sound, void* caller );
85 
90  static int processEncodingType( DtSignalInteraction* sound );
91 
96  static bool canProcessEncodingClass( DtSignalInteraction* sound );
97 
98  private:
99 
102  DtNetSoundPlayer( const DtNetSoundPlayer& orig );
103 
106  DtNetSoundPlayer& operator = ( const DtNetSoundPlayer& orig );
107 
108  };
109 
110 }

Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)