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;
48 
50  DtReaderWriterRegistry* parentRegistry = NULL) const;
51 
54  virtual DtTime underFireTime() const;
55  virtual void setUnderFireTime(DtTime underFireTime);
57 
60  virtual DtReal underFireDistance() const;
61  virtual void setUnderFireDistance(DtReal underFireDistance);
63 
66  virtual bool underFireFromFriendly() const;
67  virtual void setUnderFireFromFriendly(bool underFireFromFriendly);
69 
72 
73 protected:
76 
77 protected:
81 
88 
95 
101 
103 };
104 
105 #endif
106 
107 
108 
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:87
#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:100
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:94

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)