|
VR-Engage
2.2
|
This class provides a specialized container for managing radar contact information. It extends the base DtSensorContactInfoList with radar-specific functionality. Use the DtRwList::add() and remove() methods for adding and removing elements. The list can be iterated through using DtList iteration methods.
If you need to monitor the change state of the list, use a DtRadarContactInfoListChangeMonitor.
#include <radarContactInfoList.h>
Public Member Functions | |
| DtRadarContactInfoList () | |
| DtRadarContactInfoList (const DtString &name, DtReaderWriterRegistry *parentRegistry=NULL) | |
| DtRadarContactInfoList (const DtSymbolString &name, DtReaderWriterRegistry *parentRegistry=NULL) | |
| virtual | ~DtRadarContactInfoList () override |
| DtRadarContactInfoList (const DtString &name, const DtRadarContactInfoList &orig, DtReaderWriterRegistry *parentRegistry=NULL) | |
| DtRadarContactInfoList (const DtSymbolString &name, const DtRadarContactInfoList &orig, DtReaderWriterRegistry *parentRegistry=NULL) | |
| DtRadarContactInfoList & | operator= (const DtRadarContactInfoList &orig) |
| virtual DtRadarContactInfoList * | clone (const DtString &name, DtReaderWriterRegistry *parentRegistry=NULL) |
| virtual DtRadarContactInfoList * | clone (const DtSymbolString &name, DtReaderWriterRegistry *parentRegistry=NULL) |
| virtual DtRwSensorContactInfo * | createSensorContactInfo () override |
| bool | operator== (const DtRadarContactInfoList &other) const |
| DtRadarContactInfoList::DtRadarContactInfoList | ( | ) |
Default constructor.
Initializes an empty radar contact information list.
Referenced by clone(), clone(), DtRadarContactInfoList(), DtRadarContactInfoList(), operator=(), and operator==().
| DtRadarContactInfoList::DtRadarContactInfoList | ( | const DtString & | name, |
| DtReaderWriterRegistry * | parentRegistry = NULL ) |
Constructor with name for reader/writer functionality.
| name | The name to identify this list |
| parentRegistry | Optional reader-writer registry for serialization |
| DtRadarContactInfoList::DtRadarContactInfoList | ( | const DtSymbolString & | name, |
| DtReaderWriterRegistry * | parentRegistry = NULL ) |
Constructor with symbol name for reader/writer functionality.
| name | The symbol name to identify this list |
| parentRegistry | Optional reader-writer registry for serialization |
|
overridevirtual |
Virtual destructor.
Destroys the list and all contained radar contact information objects.
| DtRadarContactInfoList::DtRadarContactInfoList | ( | const DtString & | name, |
| const DtRadarContactInfoList & | orig, | ||
| DtReaderWriterRegistry * | parentRegistry = NULL ) |
Copy constructor with name.
| name | The name to identify this list |
| orig | The radar contact list to copy from |
| parentRegistry | Optional reader-writer registry for serialization |
Creates a deep copy, cloning all list items onto the new list.
References DtRadarContactInfoList().
| DtRadarContactInfoList::DtRadarContactInfoList | ( | const DtSymbolString & | name, |
| const DtRadarContactInfoList & | orig, | ||
| DtReaderWriterRegistry * | parentRegistry = NULL ) |
Copy constructor with symbol name.
| name | The symbol name to identify this list |
| orig | The radar contact list to copy from |
| parentRegistry | Optional reader-writer registry for serialization |
Creates a deep copy, cloning all list items onto the new list.
References DtRadarContactInfoList().
| DtRadarContactInfoList & DtRadarContactInfoList::operator= | ( | const DtRadarContactInfoList & | orig | ) |
Assignment operator.
| orig | The radar contact list to copy from |
Performs a deep copy. All items on the target list are deleted, and new items are cloned onto the list from the source.
References DtRadarContactInfoList().
|
virtual |
Creates a complete clone of the list and all items.
| name | The name to identify the cloned list |
| parentRegistry | Optional reader-writer registry for serialization |
Creates a deep copy of the entire list and all contained items.
References DtRadarContactInfoList().
|
virtual |
Creates a complete clone of the list and all items.
| name | The symbol name to identify the cloned list |
| parentRegistry | Optional reader-writer registry for serialization |
Creates a deep copy of the entire list and all contained items.
References DtRadarContactInfoList().
|
overridevirtual |
Factory method for creating sensor contact information objects.
This factory method creates a DtRwSensorContactInfo or derivative. The base implementation creates a standard DtRwSensorContactInfo object. The getData() method uses this when adding new items to the list that are read from an input file.
All items on the list should be of the type created by this method. If you need custom data in your sensor contact information, create a derived version of DtRwSensorContactInfo, override this class, and return your specialized contact info from this method.
| bool DtRadarContactInfoList::operator== | ( | const DtRadarContactInfoList & | other | ) | const |
Equality comparison operator.
| other | The radar contact list to compare with |
Compares this list with another radar contact list for equality. Lists are equal if they contain the same number of elements and each corresponding element is equal.
References DtRadarContactInfoList().