VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
underFireDeterminationComponentDescriptor.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2004 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: underFireDeterCompDesc.h,v $ $Revision: 1.7 $ $State: Exp $
7 *******************************************************************************/
8 
11 
14 
15 #ifndef underFireDeterminationComponentDescriptor_H_
16 #define underFireDeterminationComponentDescriptor_H_
17 
19 #include <readerWriter/rwReal.h>
20 #include "vrfutil/simClock.h"
21 #include <readerWriter/rwBoolean.h>
22 
27 {
28 public:
31  DtReaderWriterRegistry* parentRegistry = NULL);
32 
36  DtReaderWriterRegistry* parentRegistry = NULL);
37 
41 
44 
47  virtual DtString type() const override;
48 
49  virtual DtComponentDescriptor* clone(DtReaderWriterRegistry* parentRegistry = NULL) const override;
50 
53  virtual DtTime underFireTime() const;
54  virtual void setUnderFireTime(DtTime underFireTime);
56 
59  virtual DtReal underFireDistance() const;
60  virtual void setUnderFireDistance(DtReal underFireDistance);
62 
65  virtual bool underFireFromFriendly() const;
66  virtual void setUnderFireFromFriendly(bool underFireFromFriendly);
68 
71 
72 protected:
75 
76 protected:
80 
87 
94 
100 
102 };
103 
104 #endif
105 
106 
107 
This class allows one to collect and compare strings using an index number instead of having to do st...
Definition: symbolString.h:27
DtRwTime myUnderFireTime
Parameter Name: under-fire-time Parameter Description: The time after which an entity is no longer co...
Definition: underFireDeterminationComponentDescriptor.h:86
#define DT_DLL_vrfobjparam
This file is used to determine how to build.
Definition: vrfobjparamDefines.h:28
DtRwBoolean myUnderFireFromFriendly
Parameter Name: under-fire-from-friendly Parameter Description: Flag indicating whether or not friend...
Definition: underFireDeterminationComponentDescriptor.h:99
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
DtUnderFireDeterminationComponentDescriptor; descriptor for the DtUnderFireDeterminationSensor compon...
Definition: underFireDeterminationComponentDescriptor.h:26
File: vlClock.h.
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...
Description: Readable, Writable bool.
Definition: rwBoolean.h:26
static DtComponentDescriptor * creator()
DtRwReal myUnderFireDistance
Parameter Name: under-fire-distance Parameter Description: The distance from a detonation at which an...
Definition: underFireDeterminationComponentDescriptor.h:93

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)