VR-Forces 4.0.4 Class Documentation
Public Member Functions | Protected Attributes | Private Member Functions
DtTargetRankOperator Class Reference

Functor class which is used in a std::set to rank targets against each other. More...

Inheritance diagram for DtTargetRankOperator:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtTargetRankOperator (const DtTargetSelectionCriteria *criteria, const DtVrfObject *vrfObj)
virtual ~DtTargetRankOperator ()
virtual bool operator() (const DtRwSensorContactInfo *contact1, const DtRwSensorContactInfo *contact2) const =0
 Returns true if contact1 is a higher priority target than contact2.

Protected Attributes

const DtTargetSelectionCriteriamyTargetSelectionCriteria
const DtVrfObjectmyVrfObject

Private Member Functions

 DtTargetRankOperator ()
 Not Implemented.
 DtTargetRankOperator (const DtTargetRankOperator &orig)
 Not Implemented.
DtTargetRankOperatoroperator= (const DtTargetRankOperator &orig)
 Not Implemented.

Detailed Description

Functor class which is used in a std::set to rank targets against each other.

This abstract base class is the interface used by the DtTargetSelectionController to sort targets. Actual implementations of this must implement operator() to sort targets.


Constructor & Destructor Documentation

Not Implemented.

Not Implemented.


Member Function Documentation

DtTargetRankOperator& DtTargetRankOperator::operator= ( const DtTargetRankOperator orig) [private]

Not Implemented.

virtual bool DtTargetRankOperator::operator() ( const DtRwSensorContactInfo contact1,
const DtRwSensorContactInfo contact2 
) const [pure virtual]

Returns true if contact1 is a higher priority target than contact2.

Implemented in DtPrioritySorRangeTargetRankOperator.


Member Data Documentation


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)