VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions
DtTaskableSubordinatePredicate Class Reference

Contains the declaration of class DtTaskableSubordinatePredicate, a predicate that tests if an entity is capable of being tasked as a subordinate.

Instances of DtTaskableSubordinatePredicate are used to determine whether a subordinate is capable of being tasked as part of an aggregate (i.e. it can move and its not independently tasked). It is composed of a DtAbleToMovePredicate and a negated DtIndependentlyTaskedPredicate.

Inheritance diagram for DtTaskableSubordinatePredicate:
Inheritance graph
[legend]

Public Member Functions

 DtTaskableSubordinatePredicate (bool negate=false)
 
virtual ~DtTaskableSubordinatePredicate ()
 
 DtTaskableSubordinatePredicate (const DtTaskableSubordinatePredicate &orig)
 
virtual DtVrfObjectPredicateclone () const
 
- Public Member Functions inherited from DtCompositePredicate
 DtCompositePredicate (bool negate=false)
 
virtual ~DtCompositePredicate ()
 
 DtCompositePredicate (const DtCompositePredicate &orig)
 
DtCompositePredicateoperator= (const DtCompositePredicate &orig)
 
virtual void addPredicate (const DtVrfObjectPredicate &predicate)
 
virtual void removePredicate (const DtVrfObjectPredicate &predicate)
 
virtual bool hasPredicate (const DtVrfObjectPredicate &predicate) const
 
- Public Member Functions inherited from DtVrfObjectPredicate
 DtVrfObjectPredicate (bool negate=false)
 
virtual ~DtVrfObjectPredicate ()
 
 DtVrfObjectPredicate (const DtVrfObjectPredicate &orig)
 
DtVrfObjectPredicateoperator= (const DtVrfObjectPredicate &orig)
 
bool operator== (const DtVrfObjectPredicate &orig) const
 
bool operator!= (const DtVrfObjectPredicate &orig) const
 
virtual bool negated () const
 
virtual void setNegate (bool negate)
 
bool isTrue (const DtSimObject *vrfObject) const
 
virtual bool canBeTrue (const DtSimObject *vrfObject)
 
virtual bool canBeFalse (const DtSimObject *vrfObject)
 
virtual void stringRep (std::ostream &str, int indentLevel=0) const
 

Additional Inherited Members

- Static Public Member Functions inherited from DtVrfObjectPredicate
static const DtVrfObjectPredicatenullPredicate ()
 
- Protected Member Functions inherited from DtCompositePredicate
virtual bool eval (const DtSimObject *vrfObject) const
 
virtual bool predicateEqual (const DtVrfObjectPredicate &orig) const
 
virtual bool canEvalTrue (const DtSimObject *vrfObject) const override
 
virtual bool canEvalFalse (const DtSimObject *vrfObject) const override
 
virtual void typeSpecificStringRep (std::ostream &str, int indentLevel) const
 
- Protected Attributes inherited from DtCompositePredicate
DtList myPredicates
 
- Protected Attributes inherited from DtVrfObjectPredicate
bool myNegated
 

Constructor & Destructor Documentation

DtTaskableSubordinatePredicate::DtTaskableSubordinatePredicate ( bool  negate = false)
virtual DtTaskableSubordinatePredicate::~DtTaskableSubordinatePredicate ( )
virtual

destructor

DtTaskableSubordinatePredicate::DtTaskableSubordinatePredicate ( const DtTaskableSubordinatePredicate orig)

copy constructor

Member Function Documentation

virtual DtVrfObjectPredicate* DtTaskableSubordinatePredicate::clone ( ) const
virtual

clone function

Reimplemented from DtCompositePredicate.


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

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)