VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ballisticMissileStateRepository.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2018 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
6 #pragma once
7 
11 
16 
17 
25 {
26 private:
27  //default constructor do not use
29 
32 
36 
37 public:
38 
40  DtBallisticMissileStateRepository(DtLocalObject* vrfObject, const DtString& rwName = DtString::nullString(),
41  DtReaderWriterRegistry* parentRegistry = 0);
42 
45 
47  virtual DtString type() const override;
48 
50  virtual const int vrfMovingObjectStateRepositorySubType() const override;
51 
53  virtual const int missileEntityStateRepositorySubType() const;
54 
55  virtual void initializeFromParameters() override;
56 
57 
59  virtual DtReal minimumRange() const;
60  virtual void setMinimumRange(const DtReal minRange);
61 
62  static DtVrfObjectStateRepository * creator(const DtString& name,
63  DtLocalObject* vrfObject, DtReaderWriterRegistry * parentRegistry);
64 
65 protected:
66 
68 
69 };
virtual DtString type() const override
Returns the string type of the repository, as defined in vrfSRTypes.h.
virtual const int vrfMovingObjectStateRepositorySubType() const override
Returns DtVrfMovingObjectStateRepositorySubTypeMissile.
Class: DtBallisticMissileStateRepository.
Definition: ballisticMissileStateRepository.h:24
This repository holds all information that is common to all the forms of missile entities within the ...
Definition: missileStateRepository.h:33
DtReal myMinimumRange
Definition: ballisticMissileStateRepository.h:67
Definition: readerWriterRegistry.h:39
static DtVrfObjectStateRepository * creator(const DtString &name, DtLocalObject *vrfObject, DtReaderWriterRegistry *parentRegistry)
Description: This repository is an internal repository accessible only by local objects. It holds all information that is common to all the forms of all entity/aggregate/control objects within VR-Forces.
Definition: vrfObjectStateRepository.h:92
const DtMissileStateRepository & operator=(const DtMissileStateRepository &orig)
assignment operator
virtual const int missileEntityStateRepositorySubType() const
Returns DtMissileEntityStateRepositorySubTypeBase.
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
virtual void initializeFromParameters() override
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)