VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
trueAggregateRollUp.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2026 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
8 
10 
11 #pragma once
12 
16 
18 
25 {
26 public:
27  typedef std::set<const makVrf::DtStateDataWrapper*> Leafs;
30 
35  virtual void parameterData(const makVrf::DtStateDataWrapper* state, DtRwProperties&) const;
36  virtual void parameterData(const std::set<const makVrf::DtStateDataWrapper*>&, DtRwProperties&) const;
37 
40  virtual void leafNodes(const makVrf::DtStateDataWrapper* state, Leafs&, bool includePseudoAggregates = false) const;
41 
44  virtual void statePropertiesFor(const makVrf::DtStateDataWrapper* state, DtRwProperties&) const;
45  virtual void statePropertiesContainedIn(const Leafs&, DtRwProperties&) const;
46 
50  void statePropertiesFor(const std::set<const makVrf::DtStateDataWrapper*>& ids, DtRwProperties& parameters) const;
51 
53  virtual bool hasStateProperties(const makVrf::DtStateDataWrapper*) const;
54 
56  virtual bool hasStateProperty(const makVrf::DtStateDataWrapper*, const std::string& statePropName) const;
57 
58 protected:
60 };
61 
62 
66 {
67 public:
70  virtual void parameterPropertiesFor(DtTrueAggregateRollUp::Leafs& leafs, DtRwProperties& parameters) const = 0;
71 
73  virtual const makVrf::DtStateDataWrapper* lookup(const DtUUID& id) const = 0;
74  virtual std::set<const makVrf::DtStateDataWrapper*> lookup(const std::set<DtUUID>& ids) const = 0;
75 
77  virtual bool isValid(const DtUUID& id) const
78  {
79  const makVrf::DtStateDataWrapper* state = lookup(id);
80  return isValid(state);
81  }
82  virtual bool isValid(const makVrf::DtStateDataWrapper* state) const = 0;
83 };
UUID is a unique ID wrapper class.
Definition: uuid.h:59
This class contains functions and methods that can be used to roll up property data based on the true...
Definition: trueAggregateRollUp.h:24
This class contains helper-only functions and methods that can be used to roll up property data based...
Definition: trueAggregateRollUpHelper.h:27
const DtTrueAggregateRollUpFunctor * myFctr
Definition: trueAggregateRollUp.h:59
Abstract interface that is bridging access to both GUI and Webserver through callbacks Cannot use GUI...
Definition: trueAggregateRollUp.h:65
virtual bool isValid(const DtUUID &id) const
returns true if the ref is supported and the policy is valid for it
Definition: trueAggregateRollUp.h:77
Represents a single simulation object in the exercise. Object may be VRF simulation, or non-VRF simulated, and may be simulated by the local sim engine, or by a remote sim engine. Only public (external) state of the object is available. All data is read-only. All access to data of the object is thread safe within the simulation frame.
Definition: stateDataWrapper.h:49
std::set< const makVrf::DtStateDataWrapper * > Leafs
Definition: trueAggregateRollUp.h:27
#define DT_DLL_vrfStateData
This file is used to determine how to build Disable inconsistent dll linkage warning Visual Studio 6...
Definition: vrfStateDataDefines.h:29
A list of properties. A DtPropertyInterface object that is a specialized version of DtRwVariableBindi...
Definition: rwProperties.h:122

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)