![]() |
VR-Forces 4.1 Class Documentation
|
This concrete implementation of DtTargetRankOperator ranks targets based first on the priority lists specified in the criteria, then based on whether they are in the Sector of Responsibility or not, and finally based on range. More...

Public Member Functions | |
| DtPrioritySorRangeTargetRankOperator (const DtTargetSelectionCriteria *criteria, const DtVrfObject *vrfObj) | |
| virtual | ~DtPrioritySorRangeTargetRankOperator () |
| virtual bool | operator() (const DtRwSensorContactInfo *contact1, const DtRwSensorContactInfo *contact2) const |
| Returns true if contact1 is a higher priority target than contact2. | |
Public Member Functions inherited from DtTargetRankOperator | |
| DtTargetRankOperator (const DtTargetSelectionCriteria *criteria, const DtVrfObject *vrfObj) | |
| virtual | ~DtTargetRankOperator () |
Protected Member Functions | |
| virtual bool | checkPriority (const DtVrfObject *obj1, const DtVrfObject *obj2, bool &result) const |
| Returns true if the priority check is conclusive (the objects are in different priorities) and if so, sets result to true if obj1 is higher priority than obj2, else false. | |
| virtual bool | checkSectorOfResponsibility (const DtVrfObject *obj1, const DtVrfObject *obj2, bool &result) const |
| Returns true if the SOR check is conclusive (the objects are in different SORs) and if so, sets result to true if obj1 is in the SOR and obj2 isn't, else false. | |
| virtual bool | checkRange (const DtVrfObject *obj1, const DtVrfObject *obj2, bool &result) const |
| Returns true if the range check is conclusive (the objects are at different ranges) and if so, sets result to true if obj1 is closer than obj2, else false. | |
Private Member Functions | |
| DtPrioritySorRangeTargetRankOperator () | |
| Not Implemented. | |
| DtPrioritySorRangeTargetRankOperator (const DtPrioritySorRangeTargetRankOperator &orig) | |
| Not Implemented. | |
| DtPrioritySorRangeTargetRankOperator & | operator= (const DtPrioritySorRangeTargetRankOperator &orig) |
| Not Implemented. | |
Additional Inherited Members | |
Protected Attributes inherited from DtTargetRankOperator | |
| const DtTargetSelectionCriteria * | myTargetSelectionCriteria |
| const DtVrfObject * | myVrfObject |
This concrete implementation of DtTargetRankOperator ranks targets based first on the priority lists specified in the criteria, then based on whether they are in the Sector of Responsibility or not, and finally based on range.
|
private |
Not Implemented.
|
private |
Not Implemented.
| DtPrioritySorRangeTargetRankOperator::DtPrioritySorRangeTargetRankOperator | ( | const DtTargetSelectionCriteria * | criteria, |
| const DtVrfObject * | vrfObj | ||
| ) |
|
virtual |
|
private |
Not Implemented.
|
virtual |
Returns true if contact1 is a higher priority target than contact2.
Implements DtTargetRankOperator.
|
protectedvirtual |
Returns true if the priority check is conclusive (the objects are in different priorities) and if so, sets result to true if obj1 is higher priority than obj2, else false.
|
protectedvirtual |
Returns true if the SOR check is conclusive (the objects are in different SORs) and if so, sets result to true if obj1 is in the SOR and obj2 isn't, else false.
|
protectedvirtual |
Returns true if the range check is conclusive (the objects are at different ranges) and if so, sets result to true if obj1 is closer than obj2, else false.