VR-Forces 4.0.4 Class Documentation
Public Member Functions | Protected Types | Protected Member Functions
DtCombatIdentificationLevelTableEntry Class Reference
Inheritance diagram for DtCombatIdentificationLevelTableEntry:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtCombatIdentificationLevelTableEntry (const DtString &name=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=NULL)
 constructor with parameters to set up read/writability correctly
 DtCombatIdentificationLevelTableEntry (const DtSymbolString &name, DtReaderWriterRegistry *parentRegistry=NULL)
virtual ~DtCombatIdentificationLevelTableEntry ()
 destructor
 DtCombatIdentificationLevelTableEntry (const DtCombatIdentificationLevelTableEntry &orig, const DtString &name=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=NULL)
 copy constructor. Use clone instead...
 DtCombatIdentificationLevelTableEntry (const DtCombatIdentificationLevelTableEntry &orig, const DtSymbolString &name, DtReaderWriterRegistry *parentRegistry=NULL)
DtCombatIdentificationLevelTableEntryoperator= (const DtCombatIdentificationLevelTableEntry &orig)
 assignment operator
virtual const char * readerWriterType () const
 Used to supply a string type that this reader writer type is.
void printEntry ()
virtual const double appSignature () const
 Accessor/mutator for myApparentSignature.
virtual void setAppSignature (const double appSig)
 Accessor/mutator for myApparentSignature.
virtual int lookupIdentificationLevel (double &detectionInterval) const
 Find the identfication level for given detection interval.
virtual bool getData (DtCSVLineEntry &entryData, std::vector< double > &timeValues)
 Takes a string from the detection table that is in csv format, parses it and sets the values for the cidLevelTableEntry.
virtual void addDetectionInterval (DtCombatIdentificationDetectionIntervalEntry *entryData)
 Add a detection interval to our detection list Creates a new entry based on one passed in, so, if passed in entry is allocated, deallocate to prevent memory leak.

Protected Types

typedef std::vector
< DtCombatIdentificationDetectionIntervalEntry * > 
DtDetectionLevelList

Protected Member Functions

void clearLevelList ()
 Removes and deletes all entries from myDetectionLevelList.
void copyLevelListFrom (const DtDetectionLevelList &levelList)
 Copies all table entries from the provided source list.

Protected Attributes

parameters

These parameters are available for setting in the detection level table.

DtRwReal myApparentSignature
 Parameter Name:
Parameter Description: The apparent signature of the object.
DtDetectionLevelList myDetectionLevelList
 Parameter Name:
Parameter Description: List of detection intervals and the identification levels associated with that interval
Parameter Default Value:
Parameter Units:

Member Typedef Documentation


Constructor & Destructor Documentation

DtCombatIdentificationLevelTableEntry::DtCombatIdentificationLevelTableEntry ( const DtString name = DtString::nullString(),
DtReaderWriterRegistry parentRegistry = NULL 
)

constructor with parameters to set up read/writability correctly

destructor

copy constructor. Use clone instead...


Member Function Documentation

DtCombatIdentificationLevelTableEntry& DtCombatIdentificationLevelTableEntry::operator= ( const DtCombatIdentificationLevelTableEntry orig)

assignment operator

virtual const double DtCombatIdentificationLevelTableEntry::appSignature ( ) const [virtual]

Accessor/mutator for myApparentSignature.

virtual void DtCombatIdentificationLevelTableEntry::setAppSignature ( const double  appSig) [virtual]

Accessor/mutator for myApparentSignature.

virtual int DtCombatIdentificationLevelTableEntry::lookupIdentificationLevel ( double &  detectionInterval) const [virtual]

Find the identfication level for given detection interval.

virtual bool DtCombatIdentificationLevelTableEntry::getData ( DtCSVLineEntry entryData,
std::vector< double > &  timeValues 
) [virtual]

Takes a string from the detection table that is in csv format, parses it and sets the values for the cidLevelTableEntry.

Pass in the time values that coincide with the identification levels.

Add a detection interval to our detection list Creates a new entry based on one passed in, so, if passed in entry is allocated, deallocate to prevent memory leak.

virtual const char* DtCombatIdentificationLevelTableEntry::readerWriterType ( ) const [virtual]

Used to supply a string type that this reader writer type is.

This can be used in place of dynamic-casting. Also used by the opd editor to determine which type of control to create

Reimplemented from DtCSVReaderWriter.

Removes and deletes all entries from myDetectionLevelList.

Non-virtual since it is called from constructors/destructor.

Copies all table entries from the provided source list.

calls clearLevelList() first. Non-virtual since it is called from constructors.


Member Data Documentation

Parameter Name:
Parameter Description: The apparent signature of the object.


Parameter Default Value:

Parameter Name:
Parameter Description: List of detection intervals and the identification levels associated with that interval
Parameter Default Value:
Parameter Units:


The documentation for this class was generated from the following file:

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)