VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
componentSystemDefinitionUpgrade.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2024 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
6 #pragma once
7 
11 
13 {
14 public:
17  DtReaderWriterRegistry* parentRegistry = NULL);
18 
21  DtReaderWriterRegistry* parentRegistry = NULL);
22 
23  virtual ~DtComponentSystemDefinitionUpgrade() override;
24 
26 
27  virtual const DtSimResourceManager& resources() const;
29 
31  orig) override;
32 
33  const std::set<DtString>& variablesRemoved() const
34  {
35  return myVariablesRemoved;
36  }
37 
39 
40 protected:
41  virtual void postGetSelf() override;
42  virtual void preGetSelf() override;
43  virtual void prePutSelf() override;
44  virtual void upgradeTargetingControlTables();
45  virtual void upgradeTargetingControlTables(DtRwVariableBindings*);
46  virtual bool removeDefaultParameter(const DtSystemParameterData* defaultParameterValue);
47 
48 protected:
50  std::set<DtString> myVariablesRemoved;
51  std::map<DtString, std::set<const DtSystemParameterData*>> myParametersToRemove;
52 };
This class will make sure that all bound variables are reset such that when systems are saved out...
Definition: soeComponentSystemDefinition.h:13
const std::set< DtString > & variablesRemoved() const
Definition: componentSystemDefinitionUpgrade.h:33
DtSimResourceManager myResources
Definition: componentSystemDefinitionUpgrade.h:49
std::set< DtString > myVariablesRemoved
Definition: componentSystemDefinitionUpgrade.h:50
std::map< DtString, std::set< const DtSystemParameterData * > > myParametersToRemove
Definition: componentSystemDefinitionUpgrade.h:51
class DtSimResourceManager:
Definition: simResourceManager.h:19
Definition: readerWriterRegistry.h:39
virtual void prePutSelf() override
Called before either version of put self (file or environment). Default is no-op. ...
ReaderWriter object that maintains a list of reader-writer variable bindings. It keeps a list of name...
Definition: rwVariableBindings.h:27
DtComponentSystemDefinition.
Definition: componentSystemDefinition.h:27
virtual const DtComponentSystemDefinition & operator=(const DtComponentSystemDefinition &orig) override
assignment operator
virtual void preGetSelf()
Called before either version of get self (file or environment). Default is no-op. ...
Base class for RW objects that describe a system parameter. This data is used by the entity editor to...
Definition: systemParameterData.h:30
Definition: componentSystemDefinitionUpgrade.h:12
virtual void postGetSelf() override
Merge up meta data if the flag in the meta data says to.
static DtComponentSystemDefinition * Creator(const DtString &, DtReaderWriterRegistry *)
#define DT_DLL_simulationObjectEditorimpl
This file is used to determine how to build.
Definition: simulationObjectEditorImplDefines.h:33

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)