VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
aggregateMoveToLocationPSR.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2015 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
11 
12 #pragma once
13 
16 #include "vrfobjcore/simObject.h"
17 #include <readerWriter/rwInt.h>
18 #include <readerWriter/rwString.h>
20 #include <vrfutil/rwUUID.h>
22 
27 {
28 public:
29 
32  const DtString& rwName = DtString::nullString(),
33  DtReaderWriterRegistry* parentRegistry = 0);
34 
37  const DtString& rwName = DtString::nullString(),
38  DtReaderWriterRegistry* parentRegistry = 0);
39 
42 
45 
48  const DtString& rwName = DtString::nullString(),
49  DtReaderWriterRegistry* parentRegistry = 0) const;
50 
54  virtual DtString type() const;
55 
60  virtual void setSubtaskType(const DtSimTaskMessageType& taskType);
61  virtual DtSimTaskMessageType subtaskType() const;
63 
67  virtual void setRoute(const DtUUID& routeName);
68 
70  virtual DtSimObjectReference route() const;
72 
75  virtual void setSpeed(double aSpeed);
76  virtual double speed() const;
78 
80  static DtVrfProcessStateRepository* creator (const DtString& rwName,
81  DtLocalObject* vrfObject, DtReaderWriterRegistry* parentRegistry);
82 
83 protected:
84 
87 
90 
93 };
94 
UUID is a unique ID wrapper class.
Definition: uuid.h:59
The DtSimObjectReference is a shared pointer that can be used amongst many object for access to the u...
Definition: simObjectReference.h:26
Description: Readable, Writable DtString Variable substitutions are done on this object when it is re...
Definition: rwString.h:20
DtRwReal mySpeed
Speed from task or ordered speed.
Definition: aggregateMoveToLocationPSR.h:92
Definition: readerWriterRegistry.h:39
Contains the DtUUID class declaration.
DtRwSimObjectReference myRoute
Name of working route used by the controller.
Definition: aggregateMoveToLocationPSR.h:89
Specialized reader/writer version of the shared object reference that will encapsulate the actual sha...
Definition: rwSimObjectReference.h:21
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
virtual DtVrfProcessStateRepository * clone(const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0) const =0
Define constants for types of tasks, sets, admin messages, reports, and sim commands (all sent via ra...
Description: Readable, Writable DtReal (double)
Definition: rwReal.h:27
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
Contains the declaration of class DtAggregateMoveToLocationPSR, the process state repository used by ...
Definition: aggregateMoveToLocationPSR.h:26
DtRwString mySubtaskType
Type of subtask we&#39;re using to implement behavior.
Definition: aggregateMoveToLocationPSR.h:86
virtual DtString type() const =0
Returns the string type of the repository, as defined in procSRTypes.h.
const DtVrfProcessStateRepository & operator=(const DtVrfProcessStateRepository &orig)
A locally simulated VRF object. Holds all internal and external data for the object, and provides access to both the current frame and next frame state data for the object. All current frame data is read-only, and next-frame data can be written to. No thread safety guarantees are made on this object during the simulation frame and it should only be accessed by the thread that is simulating the object.
Definition: localObject.h:86

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)