VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
randomizedObjectParameters.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2013 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
11 
12 #pragma once
13 
16 
21 {
22 
23 public:
25  DtRandomizedObjectParameters(const DtString& name = DtString::nullString(),
26  DtReaderWriterRegistry* parentRegistry = NULL, DtEnvironmentSP env = DtEnvironmentSP(), DtEnvValueSP* objectNode = NULL);
28  DtReaderWriterRegistry* parentRegistry = NULL, DtEnvironmentSP env = DtEnvironmentSP(), DtEnvValueSP* objectNode = NULL);
29 
32 
33 protected:
36  const DtString& name = DtString::nullString(),
37  DtReaderWriterRegistry* parentRegistry = NULL);
38 
40  const DtSymbolString& name,
41  DtReaderWriterRegistry* parentRegistry = NULL);
42 
43 public:
45  const DtString& name = DtString::nullString(),
46  DtReaderWriterRegistry* parentRegistry = NULL) const;
47 
49  const DtSymbolString& name,
50  DtReaderWriterRegistry* parentRegistry = NULL) const;
51 
55  virtual bool init();
56 
62  virtual DtString type() const;
63 
65  static DtVrfObjectParameters * creator(DtEnvironmentSP env, DtEnvValueSP* objectNode);
66 
68  virtual DtObjectType pickRandomSimulationObject() const;
69 
70  virtual bool inheritValues(const DtVrfObjectParameters * benefactor);
71 
72  virtual void inheritValuesFromThisType(
73  const DtVrfObjectParameters * benefactor);
74 };
Instances of DtVrfObjectParameters are the readable/writeable objects that contain the information ne...
Definition: vrfObjectParameters.h:59
DtVrfObjectParameters; holds all of the configurable parameters for the DtVrfObjectStateRepository cl...
Definition: randomizedObjectParameters.h:20
Definition: symbolString.h:20
#define DT_DLL_vrfobjparam
This file is used to determine how to build.
Definition: vrfobjparamDefines.h:28
DT_DLL_readerWriter DtBoost::shared_ptr< DtEnvironment > DtEnvironmentSP
Definition: readerWriter.h:30
virtual bool inheritValues(const DtVrfObjectParameters *benefactor)
Values left unspecified may be inherited from a parameter block of the same type, typically an ancest...
virtual DtVrfObjectParameters * clone(const DtString &name=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=NULL) const
Definition: readerWriterRegistry.h:39
static DtVrfObjectParameters * creator(DtEnvironmentSP env, DtEnvValueSP *objectNode)
virtual bool init()
Invoked when created so that deriving classes may do virtual allocation as necessary.
Definition: objectType.h:27
virtual void inheritValuesFromThisType(const DtVrfObjectParameters *benefactor)
virtual DtString type() const
Returns a string identifying the type of parameter descriptor.

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)