VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
soundListRequestor.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2024 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
11 
12 #pragma once
13 
14 
15 #include <vrfGuiCore/vrfGuiCore.h>
18 #include <vrfutil/rwUUID.h>
19 
22 
23 
24 
25 #include <vector>
26 
27 namespace makVrv
28 {
29  class DtDe;
30  class DtSimObjectEntry;
31 }
32 
33 class DtVrfObjectMessage;
34 
35 namespace makVrf
36 {
39  {
40  public:
42  virtual ~DtSoundListRequestor() override;
43 
44  static DtSoundListRequestor& instance(makVrv::DtDe& de);
45 
48  virtual DtSoundTypeList soundTypesForEntity(const DtUUID&) const;
49 
51  virtual bool hasSoundTypesForEntity(const DtUUID&) const;
52 
54  virtual void soundTypes(std::vector<DtUUID> entities, DtSoundTypeList& soundTypes);
55 
57  virtual void updateSoundTypes(const DtUUID&);
58 
62  virtual void clearEntityEntry(const DtUUID&);
63 
64  boost::signals2::signal<void (const DtUUID&)> signal_soundListReceived;
65 
66  protected:
67 
68  virtual void slot_onSimDataRemoved(DtSimObjectReference);
69 
74  virtual void processSoundListResponse(const DtVrfObjectMessage* msg);
75 
77 
78  typedef std::map<DtUUID, DtSoundTypeList> SoundsListTable;
79 
82  };
83 }
UUID is a unique ID wrapper class.
Definition: uuid.h:59
Virtual base class. Allows for RTTI and proper virtual destruction. Used by Creators, Factories, Providers, Assemblers and User Interfaces.
Definition: DtVirtualBaseClass.h:19
boost::signals2::signal< void(const DtUUID &)> signal_soundListReceived
Definition: soundListRequestor.h:64
SoundsListTable myEntitiesTable
Definition: soundListRequestor.h:80
makVrv::DtSignalConnectionManager myConnections
Definition: soundListRequestor.h:81
Contains the DtUUID class declaration.
#define DT_DLL_VRFGUICORE
Contains DLL export macros.
Definition: vrfGuiCore.h:25
Contains makVrv::DtVirtualBaseClass class.
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
The base class for all messages to/from a specific DtVrfObject. Various subclasses of this class will...
Definition: vrfObjectMessage.h:30
Base class to provide boost signal/slot management.
std::map< DtUUID, DtSoundTypeList > SoundsListTable
Definition: soundListRequestor.h:78
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
The class that is the interface between the GUI and the back-end.
Definition: soundListRequestor.h:38
makVrv::DtDe & myDe
Definition: soundListRequestor.h:76
std::list< DtRwSoundType > DtSoundTypeList
Definition: soundListResponseAdmin.h:19

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)