VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
supplyListRequestor.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2012 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
11 
12 #pragma once
13 
14 #include <vrvUtil/signalslib.h>
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 }
31 
32 class DtVrfObjectMessage;
33 
34 namespace makVrf
35 {
38  {
39  public:
41  virtual ~DtSupplyListRequestor() override;
42 
43  static DtSupplyListRequestor& instance(makVrv::DtDe& de);
44 
47  virtual DtSupplyVector suppliesForEntity(const DtUUID&) const;
48 
50  virtual bool hasSuppliesForEntity(const DtUUID&) const;
51 
53  virtual void updateSupplies(const DtUUID&);
54 
58  virtual void clearEntityEntry(const DtUUID&);
59 
60  boost::signals2::signal<void (const DtUUID&)> signal_supplyListReceived;
61 
62  protected:
63 
64  virtual void slot_onSimDataRemoved(DtSimObjectReference);
65 
70  virtual void processSuppliesListResponse(const DtVrfObjectMessage* msg);
71 
73 
74  typedef std::map<DtUUID, DtSupplyVector> SuppliesListTable;
75 
78  };
79 }
UUID is a unique ID wrapper class.
Definition: uuid.h:59
std::map< DtUUID, DtSupplyVector > SuppliesListTable
Definition: supplyListRequestor.h:74
Virtual base class. Allows for RTTI and proper virtual destruction. Used by Creators, Factories, Providers, Assemblers and User Interfaces.
Definition: DtVirtualBaseClass.h:19
SuppliesListTable myEntitiesTable
Definition: supplyListRequestor.h:76
std::vector< DtEntityType > DtSupplyVector
Definition: supplyListResponseAdmin.h:16
The class that is the interface between the GUI and the back-end.
Definition: supplyListRequestor.h:37
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.
boost::signals2::signal< void(const DtUUID &)> signal_supplyListReceived
Definition: supplyListRequestor.h:60
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
makVrv::DtDe & myDe
Definition: supplyListRequestor.h:72
makVrv::DtSignalConnectionManager myConnections
Definition: supplyListRequestor.h:77

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)