![]() |
VR-Forces 4.0.4 Class Documentation
|
DtDmgSurfaceEntry is a readable/writable list of angle of incidence tables; the name of the list is a surface. More...

Public Member Functions | |
| DtDmgSurfaceEntry () | |
| DtDmgSurfaceEntry (const DtString &surface, DtReaderWriterRegistry *parentRegistry=NULL) | |
| constructor with parameters to set up read/writability correctly | |
| DtDmgSurfaceEntry (const DtSymbolString &surface, DtReaderWriterRegistry *parentRegistry=NULL) | |
| DtDmgSurfaceEntry (const DtString &surface, const DtDmgSurfaceEntry &orig, DtReaderWriterRegistry *parentRegistry=NULL) | |
| copy constructor | |
| DtDmgSurfaceEntry (const DtSymbolString &surface, const DtDmgSurfaceEntry &orig, DtReaderWriterRegistry *parentRegistry=NULL) | |
| const DtDmgSurfaceEntry & | operator= (const DtDmgSurfaceEntry &orig) |
| virtual | ~DtDmgSurfaceEntry () |
| destructor | |
| virtual DtDmgSurfaceEntry * | clone (const DtString &surface, DtReaderWriterRegistry *parentRegistry=NULL) const |
| virtual DtDmgSurfaceEntry * | clone (const DtSymbolString &surface, DtReaderWriterRegistry *parentRegistry=NULL) const |
| virtual void | addAngleOfIncidenceTable (const DtDmgAngleOfIncidenceTable &angleTable) |
| Adds angle of incidence table. | |
| virtual bool | getProbabilities (DtReal angle, DtReal range, DtPrbRangeTableEntry *entry) const |
| Fills in the DtPrbRangeTableEntry with a category/value pair for each item on its list (including the actual calculation of the probability value. | |
| virtual double | getMaximumDamageRadius () |
| Returns the maximum radius at which the munition can do damage for this surface. | |
Protected Member Functions | |
| virtual DtlObjPtr | getData (DtlObjPtr args, const DtFilename &searchPath, const DtVariableBindingsList &variableBindings) |
| Creates the right kind of angle of incidence table, reads it, and adds it to the list. | |
| virtual void | emptyList () |
| virtual void | copyList (const DtDmgSurfaceEntry &orig) |
| virtual void | addAngleOfIncidenceTable (DtDmgAngleOfIncidenceTable *angleTable) |
DtDmgSurfaceEntry is a readable/writable list of angle of incidence tables; the name of the list is a surface.
DtDmgSurfaceTable will contain a (readable/writable) list of these entries. A DtDmgSurface entry will take an angle of incidence and a range and return a DtDmRangeTableEntry.
| DtDmgSurfaceEntry::DtDmgSurfaceEntry | ( | const DtString & | surface, |
| DtReaderWriterRegistry * | parentRegistry = NULL |
||
| ) |
constructor with parameters to set up read/writability correctly
| DtDmgSurfaceEntry::DtDmgSurfaceEntry | ( | const DtSymbolString & | surface, |
| DtReaderWriterRegistry * | parentRegistry = NULL |
||
| ) |
| DtDmgSurfaceEntry::DtDmgSurfaceEntry | ( | const DtString & | surface, |
| const DtDmgSurfaceEntry & | orig, | ||
| DtReaderWriterRegistry * | parentRegistry = NULL |
||
| ) |
copy constructor
| DtDmgSurfaceEntry::DtDmgSurfaceEntry | ( | const DtSymbolString & | surface, |
| const DtDmgSurfaceEntry & | orig, | ||
| DtReaderWriterRegistry * | parentRegistry = NULL |
||
| ) |
| virtual DtDmgSurfaceEntry::~DtDmgSurfaceEntry | ( | ) | [virtual] |
destructor
| const DtDmgSurfaceEntry& DtDmgSurfaceEntry::operator= | ( | const DtDmgSurfaceEntry & | orig | ) |
| virtual DtDmgSurfaceEntry* DtDmgSurfaceEntry::clone | ( | const DtString & | surface, |
| DtReaderWriterRegistry * | parentRegistry = NULL |
||
| ) | const [virtual] |
| virtual DtDmgSurfaceEntry* DtDmgSurfaceEntry::clone | ( | const DtSymbolString & | surface, |
| DtReaderWriterRegistry * | parentRegistry = NULL |
||
| ) | const [virtual] |
| virtual void DtDmgSurfaceEntry::addAngleOfIncidenceTable | ( | const DtDmgAngleOfIncidenceTable & | angleTable | ) | [virtual] |
Adds angle of incidence table.
List is kept in ascending order (by the angle specified in the tables on the list).
| virtual bool DtDmgSurfaceEntry::getProbabilities | ( | DtReal | angle, |
| DtReal | range, | ||
| DtPrbRangeTableEntry * | entry | ||
| ) | const [virtual] |
Fills in the DtPrbRangeTableEntry with a category/value pair for each item on its list (including the actual calculation of the probability value.
Returns false if no entry found for angle specified. (Note: if no entry is found for the range specified, the range entry will have 0.0s filled in for probabilities.
| virtual double DtDmgSurfaceEntry::getMaximumDamageRadius | ( | ) | [virtual] |
Returns the maximum radius at which the munition can do damage for this surface.
| virtual DtlObjPtr DtDmgSurfaceEntry::getData | ( | DtlObjPtr | args, |
| const DtFilename & | searchPath, | ||
| const DtVariableBindingsList & | variableBindings | ||
| ) | [protected, virtual] |
Creates the right kind of angle of incidence table, reads it, and adds it to the list.
Implements DtRwList.
| virtual void DtDmgSurfaceEntry::emptyList | ( | ) | [protected, virtual] |
| virtual void DtDmgSurfaceEntry::copyList | ( | const DtDmgSurfaceEntry & | orig | ) | [protected, virtual] |
| virtual void DtDmgSurfaceEntry::addAngleOfIncidenceTable | ( | DtDmgAngleOfIncidenceTable * | angleTable | ) | [protected, virtual] |