VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
releaseBombControllerDescriptor.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2018 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
11 
12 #pragma once
13 
15 #include "readerWriter/rwVector.h"
16 #include <vrfutil/rwEntityType.h>
17 #include <readerWriter/rwString.h>
18 #include "vrfutil/rwTaitBryan.h"
19 #include <readerWriter/rwReal.h>
22 
27 {
28 public:
31  DtReaderWriterRegistry* parentRegistry = 0);
32 
35  orig, DtReaderWriterRegistry* parentRegistry = 0);
36 
40 
42  virtual ~DtReleaseBombControllerDescriptor() override;
43 
46  virtual DtString type() const override;
47 
48 
49 
52  virtual DtReal minTimeBetweenLaunch() const;
53  virtual void setMinTimeBetweenLaunch(DtReal time);
55 
58  virtual DtVector launchOffset() const;
59  virtual void setLaunchOffset(const DtVector& offset);
61 
64  virtual int munitionBin() const;
65  virtual void setMunitionBin(int minRange);
67 
68  virtual DtComponentDescriptor* clone(DtReaderWriterRegistry* parentRegistry = 0) const override;
69 
70 
73 
74 private:
77 
78 protected:
79 
83 
84 
85 
91 
99 
105 };
DtRwOffsetVector myLaunchOffset
Parameter Name: launch-offset Offset from orgin of launch vehicle where the bomb will be created...
Definition: releaseBombControllerDescriptor.h:98
#define DT_DLL_vrfobjparam
This file is used to determine how to build.
Definition: vrfobjparamDefines.h:28
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:49
Definition: readerWriterRegistry.h:39
DtComponentDescriptor & operator=(const DtComponentDescriptor &orig)
assignment
DtReleaseBombControllerDescriptor; descriptor for the DtReleaseBombController component.
Definition: releaseBombControllerDescriptor.h:26
Contains the DtRwTaitBryan class declaration.
Description: Readable, Writable int.
Definition: rwInt.h:25
virtual DtComponentDescriptor * clone(DtReaderWriterRegistry *parentRegistry=NULL) const
Description: Readable, Writable DtReal (double)
Definition: rwReal.h:27
virtual DtString type() const
Returns the type of component this descriptor describes. Used to create the descriptor on read from a...
Specialized vector that can be used for the knowledge of an &quot;offset&quot; rather than location vector...
Definition: rwVector.h:112
static DtComponentDescriptor * creator()
DtRwReal myMinTimeBetweenLaunch
Parameter Name: min-time-between-launch Parameter Description: Minimum time between bomb deployments...
Definition: releaseBombControllerDescriptor.h:90
voidpf uLong offset
Definition: ioapi.h:42
DtRwInt myMunitionBin
Parameter Name: munition-bin Parameter Description: The number of the resource bin to look for muniti...
Definition: releaseBombControllerDescriptor.h:103
File: rwVector.h.

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)