VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
humanParameters.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 1999-2001 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: humanParameters.h,v $ $Revision: 1.6 $ $State: Exp $
7 *******************************************************************************/
8 
11 
15 
16 #ifndef humanParameters_H_
17 #define humanParameters_H_
18 
22 
29 {
30 
31 public:
33  DtHumanParameters(const DtString& rwName = DtString::nullString(),
34  DtReaderWriterRegistry* parentRegistry = 0,
35  DtEnvironmentSP env = DtEnvironmentSP(), DtEnvValueSP* objectNode = NULL);
36 
38  virtual ~DtHumanParameters();
39 
40 protected:
43  const DtString& rwName = DtString::nullString(),
44  DtReaderWriterRegistry* parentRegistry = 0);
45 
46 public:
48  const DtHumanParameters& operator=
49  (const DtHumanParameters& orig);
50 
52  (const DtSymbolString& name,
53  DtReaderWriterRegistry* parentRegistry = NULL) const;
54 
56  (const DtString& rwName = DtString::nullString(),
57  DtReaderWriterRegistry* parentRegistry = 0) const;
58 
61  virtual DtString type() const;
62 
64  static DtVrfObjectParameters* creator(DtEnvironmentSP env, DtEnvValueSP* objectNode);
65 
68  virtual bool inheritValues (const DtVrfObjectParameters * benefactor);
69  virtual void inheritValuesFromThisType (
70  const DtHumanParameters* benefactor);
71 
72 public:
73 
76  virtual DtLifeformState initialPosture() const;
77  virtual void setInitialPosture (DtLifeformState newPosture);
79 
82  virtual DtWeaponState initialWeaponState() const;
83  virtual void setInitialWeaponState (DtWeaponState newWeaponState);
85 
86 protected:
87 
91 
112 
122 
124 };
125 
126 #endif
Instances of DtVrfObjectParameters are the readable/writeable objects that contain the information ne...
Definition: vrfObjectParameters.h:63
Definition: symbolString.h:20
virtual bool inheritValues(const DtVrfObjectParameters *benefactor)
Description: Readable, Writable DtRwIndividualLifeFormWeaponStateType.
Definition: rwIndividualLifeFormWeaponStateType.h:30
Contains the DtMovingObjectParameters class declaration.
#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
Definition: readerWriterRegistry.h:39
The moving-object-param parameter type is used for objects that are capable of movement, such as individual entities and aggregates. DtMovingObjectParameters; holds all of the configurable parameters for the DtVrfMovingObjectStateRepository class. Parameters include support points, maximum speed, maximum reverse speed, turning radius, maximum slope, ordered speed, maximum acceleration, maximum deceleration, and fuel efficiency. Aggregates are moving objects and have this parameter type. All of the platform-specific parameter types derive from this one. .
Definition: movingObjectParameters.h:32
virtual DtString type() const
Should return the type of object this is a parameter block for. Use the strings in vrfParamTypes...
static DtVrfObjectParameters * creator(DtEnvironmentSP env, DtEnvValueSP *objectNode)
virtual void inheritValuesFromThisType(const DtMovingObjectParameters *benefactor)
DtHumanParameters; used to hold all of the configurable parameters for the DtIndividualLifeFormStateR...
Definition: humanParameters.h:28
virtual DtVrfObjectParameters * clone(const DtString &name=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=NULL) const
Description: Readable, Writable DtRwIndividualLifeFormStateType.
Definition: rwIndividualLifeFormStateType.h:30
DtRwIndividualLifeFormStateType myInitialPosture
Parameter Name: initial-posture Parameter Description: DIS/RPR enumerated values for posture (...
Definition: humanParameters.h:111
DtRwIndividualLifeFormWeaponStateType myInitialWeaponState
Parameter Name: initial-weapon-state Parameter Description: DIS/RPR enumerated values for weapon posi...
Definition: humanParameters.h:121

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)