VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
remoteControlModelSetManager.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2026 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
6 #pragma once
7 
10 #include <vrfutil/sessionStatus.h>
12 
13 #include <vrfutil/vrfSingleton.h>
15 #include <vrfobjparam/smsLoader.h>
17 
19 class DtModelSet;
20 
26 {
27  REGISTER_SINGLETON("DtRemoteControlModelSetManager")
28 
29 public:
31  virtual ~DtRemoteControlModelSetManager() override;
32 
33  DtEnumDictionary* dictionary();
34  const DtEnumDictionary* dictionary() const;
35  DtMtlParameterDb* parameterDatabase();
36  const DtMtlParameterDb* parameterDatabase() const;
37  const DtModelSet* modelSet() const;
38  const DtAssembliesReaderWriter::RwRootNode& rollUpRules() const;
39 
42 
43 protected:
44  static void statusCallback(const DtSessionUpdateInformation& msg, void* usr);
45  virtual void processStatus(const DtSessionUpdateInformation& msg);
46  virtual void processStatus(const DtSessionStatus& status);
47 
48  virtual void handleEntityTypeLoading(const std::vector<DtSimulationModelSet*> modelSets);
49  virtual void handleSmsLoading(const DtScenarioExplorer& explorer);
50  virtual void handleModelSetLoading(const std::vector<DtSimulationModelSet*> modelSets);
51 
52  virtual bool tryBindParameterDb();
53 
54 protected:
55  std::unique_ptr<DtEntityTypeDictionaryManager> myEntityTypeManager;
56  std::unique_ptr<DtSmsLoader> mySmsLoader;
57  std::unique_ptr<DtModelSet> myModelSet;
61 };
DtAssembliesReaderWriter myRollUpRules
Definition: remoteControlModelSetManager.h:60
Definition: scenarioManager.h:40
std::unique_ptr< DtSmsLoader > mySmsLoader
Definition: remoteControlModelSetManager.h:56
#define DT_DLL_vrfcontrol
This file is used to determine how to build.
Definition: vrfcontrolDefines.h:28
class DtScenarioExplorer:
Definition: scenarioExplorer.h:26
std::unique_ptr< DtEntityTypeDictionaryManager > myEntityTypeManager
Definition: remoteControlModelSetManager.h:55
Definition: assembliesReaderWriter.h:31
static DtScenarioManager & NullManager()
Definition: scenarioManager.h:72
Basic container class that holds the status of a session of VRF sim engines.
Definition: sessionStatus.h:21
DtVrfSingleton is a class that all singletons that can be registered with the DtVrfSingletonRoot are ...
Definition: vrfSingleton.h:15
#define REGISTER_SINGLETON(cName)
Definition: vrfSingleton.h:30
The DtRemoteControlModelSetManager class is used to lookup meta data regarding simulation model sets...
Definition: remoteControlModelSetManager.h:25
DtScenarioManager & myScenarioManager
Definition: remoteControlModelSetManager.h:58
Callback functions for session status changed callbacks. Function signature for callback: ...
Definition: vrfBackendListener.h:43
std::unique_ptr< DtModelSet > myModelSet
Definition: remoteControlModelSetManager.h:57
DtSessionStatus mySessionStatus
Definition: remoteControlModelSetManager.h:59
Instances of DtMtlParameterDb are a database of DtVrfObjectParameters* entries that are loaded from a...
Definition: mtlParameterDb.h:40
This class will read ammunition, entity, weapons and assemblies and provide information about them...
Definition: assembliesReaderWriter.h:24
Definition: modelSet.h:35

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)