VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
articulatedPartControllerPSR.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2019 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
6 #pragma once
7 
10 #include <vrfutil/rwTemplatedMap.h>
11 #include <readerWriter/rwInt.h>
12 #include <readerWriter/rwReal.h>
13 
18 
20 {
21 public:
22 
25 
28 
31  const DtString& rwName = DtString::nullString(),
32  DtReaderWriterRegistry* parentRegistry = 0);
33 
36  const DtString& rwName = DtString::nullString(),
37  DtReaderWriterRegistry* parentRegistry = 0);
38 
40  virtual ~DtArticulatedPartControllerPSR() override;
41 
44 
47  const DtString& rwName = DtString::nullString(), DtReaderWriterRegistry* parentRegistry = 0) const override;
48 
50  virtual DtString type() const override;
51 
53  virtual void setPartMovement(DtArtPartType partType, DtArtParamType paramType,
54  double endValue);
55 
57  virtual void removePartMovement(DtArtPartType partType, DtArtParamType paramType);
58 
60  virtual const PartEndValues& partMovements() const;
61 
63  static DtVrfProcessStateRepository* creator(const DtString& rwName,
64  DtLocalObject* vrfObject, DtReaderWriterRegistry* parentRegistry);
65 
66 protected:
68 };
DtRwTemplatedMapPtr< DtRwInt, ParamEndValues > PartEndValues
A map of part types to part parameters and their desired end vales.
Definition: articulatedPartControllerPSR.h:27
DtRwTemplatedMapPtr< DtRwInt, DtRwReal > ParamEndValues
A map of part parameters to the desired end values.
Definition: articulatedPartControllerPSR.h:24
Definition: readerWriterRegistry.h:39
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
PartEndValues myPartMovements
Definition: articulatedPartControllerPSR.h:67
virtual DtVrfProcessStateRepository * clone(const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0) const =0
class DtArticulatedPartControllerPSR:
Definition: articulatedPartControllerPSR.h:19
Class DtVrfProcessStateRepository: Abstract base class for all process state repositories. Process state repositories represent (potentially) shared, savable information for one or more components functioning together to achieve some process or set of processes; such as aiming and firing a weapon; moving an object; or just waiting a specified amount of time.
Definition: vrfProcessStateRepository.h:45
virtual DtString type() const =0
Returns the string type of the repository, as defined in psrTypes.h.
const DtVrfProcessStateRepository & operator=(const DtVrfProcessStateRepository &orig)
A locally simulated VRF object.
Definition: localObject.h:98

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)