VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
aggregateDynamicFeaturesController.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2015 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 
11 #pragma once
12 
15 
17 {
18 public:
19  explicit DtAggregateVrfObjectFeature(const DtVrfObject* object);
20 
21  virtual boost::optional<double> percentComplete() const;
22  virtual boost::optional<bool> isBreached() const;
23 };
24 
26 {
27 public:
29  const DtString& name,
30  DtVrfObject* owner,
31  DtSimManager* simManager,
32  DtComponentDescriptor* desc = 0,
33  DtReaderWriterRegistry* parentRegistry = 0);
34 
35  static DtSimComponent * creator(const DtString& name,
36  DtVrfObject* owner,
37  DtSimManager* simManager,
38  DtComponentDescriptor* desc = 0,
39  DtReaderWriterRegistry* parentRegistry = 0);
40 
43  virtual const char* type() const;
44 
45 protected:
46  virtual boost::shared_ptr<DtVrfObjectFeature> createFeature();
47  virtual bool isChanged() const;
48 
49  boost::optional<double> myLastPercentComplete;
50  boost::optional<bool> myLastBreached;
51 
52 private:
55 };
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
DtVrfObject is used to represent any type of simulated object (entities, aggregate, control objects) in a VR-Forces application.
Definition: vrfObject.h:215
DtDynamicFeaturesContoller; creates dynamic features from entities.
Definition: dynamicFeaturesController.h:20
DtDynamicFeaturesController & operator=(const DtDynamicFeaturesController &)
Definition: aggregateDynamicFeaturesController.h:25
virtual bool isChanged() const
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:42
Definition: readerWriterRegistry.h:39
Definition: dynamicFeaturesController.h:47
virtual const char * type() const
This returns a string from compTypes.h, and identifies the type of component.
boost::optional< double > myLastPercentComplete
Definition: aggregateDynamicFeaturesController.h:49
boost::optional< bool > myLastBreached
Definition: aggregateDynamicFeaturesController.h:50
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:67
DtAggregateDynamicFeaturesContoller; creates dynamic features from entities.
Definition: aggregateDynamicFeaturesController.h:16
static DtSimComponent * creator(const DtString &name, DtVrfObject *owner, DtSimManager *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0)
The simulation engine is controlled by a single,top-level class called the Simulation Manager...
Definition: simManager.h:102
virtual boost::shared_ptr< DtVrfObjectFeature > createFeature()

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)