VR-Forces 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() override;
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, DtReaderWriterRegistry* parentRegistry = NULL) const override;
53 
55  const DtString& rwName = DtString::nullString(), DtReaderWriterRegistry* parentRegistry = 0) const override;
56 
59  virtual DtString type() const override;
60 
62  static DtVrfObjectParameters* creator(DtEnvironmentSP env, DtEnvValueSP* objectNode);
63 
66  virtual bool inheritValues(const DtVrfObjectParameters* benefactor) override;
67  virtual void inheritValuesFromThisType (
68  const DtHumanParameters* benefactor);
69 
70 public:
71 
74  virtual DtLifeformState initialPosture() const;
75  virtual void setInitialPosture (DtLifeformState newPosture);
77 
80  virtual DtWeaponState initialWeaponState() const;
81  virtual void setInitialWeaponState (DtWeaponState newWeaponState);
83 
84 protected:
85 
89 
110 
120 
122 };
123 
124 #endif
Instances of DtVrfObjectParameters are the readable/writeable objects that contain the information ne...
Definition: vrfObjectParameters.h:64
This class allows one to collect and compare strings using an index number instead of having to do st...
Definition: symbolString.h:27
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
virtual DtString type() const override
Should return the type of object this is a parameter block for. Use the strings in vrfParamTypes...
Definition: readerWriterRegistry.h:39
virtual bool inheritValues(const DtVrfObjectParameters *benefactor) override
virtual DtVrfObjectParameters * clone(const DtString &name=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=NULL) const override
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
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
DT_DLL_readerWriter std::shared_ptr< DtEnvironment > DtEnvironmentSP
Definition: readerWriter.h:30
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:109
DtRwIndividualLifeFormWeaponStateType myInitialWeaponState
Parameter Name: initial-weapon-state Parameter Description: DIS/RPR enumerated values for weapon posi...
Definition: humanParameters.h:119

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)