VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
scriptedMovementControllerPSR.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2010 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
6 #pragma once
7 
11 #include <readerWriter/rwReal.h>
12 #include <readerWriter/rwString.h>
13 #include <readerWriter/rwInt.h>
14 #include <readerWriter/rwBoolean.h>
15 #include "vrfutil/rwTaitBryan.h"
16 #include "readerWriter/rwVector.h"
17 
18 //RW type definition.
19 
21 
23 {
24 public:
25  //Constructor
27  const DtString& rwName = DtString::nullString(),
28  DtReaderWriterRegistry* parentRegistry = 0);
29  //Copy constructor
31  const DtString& rwName = DtString::nullString(),
32  DtReaderWriterRegistry* parentRegistry = 0);
33  //Assignment Operator
35  //Destructor
36  virtual ~DtScriptedMovementControllerPSR() override;
37 
38  //Returns complete copy of this class using the copy constructor.
40  const DtString& rwName = DtString::nullString(), DtReaderWriterRegistry* parentRegistry = 0) const override;
41  //Returns "intercept-process-state-repository"
42  virtual DtString type() const override;
43 
44  //Static creator function for factory registration.
45  static DtVrfProcessStateRepository* creator(const DtString& rwName,
46  DtLocalObject* vrfObject, DtReaderWriterRegistry* parentRegistry = 0);
47 
48  virtual void setElapsedTime(double);
49  virtual double elapsedTime() const;
50 
51  virtual void setStartSimTime(double);
52  virtual double startSimTime() const;
53 
54  virtual void setEventId(const DtString&);
55  virtual const DtString& eventId() const;
56 
57  virtual DtAnimationModel& animationModel();
58  virtual const DtAnimationModel& animationModel() const;
59  virtual void setAnimationModel(const DtAnimationModel&);
60 
61 protected:
62  virtual void getSelf(DtlObjPtr args, const DtReaderWriter::SearchPaths& searchPaths,
63  const DtVariableBindingsList& variableBindings) override;
64 protected:
69 };
DtRwReal mySimStartTime
Definition: scriptedMovementControllerPSR.h:66
virtual void getSelf(DtlObjPtr args, const DtReaderWriter::SearchPaths &searchPaths, const DtVariableBindingsList &variableBindings) override
Top level to read itself from an input stream. searchPath is passed down to all DtReaderWriter member...
Description: Readable, Writable DtString Variable substitutions are done on this object when it is re...
Definition: rwString.h:20
Definition: readerWriterRegistry.h:39
DtScriptedMovementControllerPSR is the process state repository for the scripted movement controller...
Definition: scriptedMovementControllerPSR.h:22
Contains the DtRwTaitBryan class declaration.
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
std::list< const DtRwVariableBindings * > DtVariableBindingsList
Definition: readerWriterRegistry.h:29
virtual DtVrfProcessStateRepository * clone(const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0) const =0
std::vector< DtFilename > SearchPaths
Definition: readerWriter.h:92
The DtAnimationModel class will contain the interface allow for animated movement via an external fil...
Definition: animationModel.h:31
DtRwReal myElapsedTime
Definition: scriptedMovementControllerPSR.h:68
Description: Readable, Writable DtReal (double)
Definition: rwReal.h:27
DtRwString myEventId
Definition: scriptedMovementControllerPSR.h:67
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.
DtAnimationModel myAnimationModel
Definition: scriptedMovementControllerPSR.h:65
File: rwVector.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)