VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions
DtIndependentlyTaskedPredicate Class Reference

Contains the declaration of class DtIndependentlyTaskedPredicate, a predicate that tests if an entity is tasked independent of its aggregate. More...

Inheritance diagram for DtIndependentlyTaskedPredicate:
Inheritance graph
[legend]

Public Member Functions

 DtIndependentlyTaskedPredicate (bool negate=false)
virtual ~DtIndependentlyTaskedPredicate ()
 destructor
 DtIndependentlyTaskedPredicate (const DtIndependentlyTaskedPredicate &orig)
 copy constructor
virtual DtVrfObjectPredicateclone () const
 clone function
- Public Member Functions inherited from DtVrfObjectPredicate
 DtVrfObjectPredicate (bool negate=false)
 constructor
virtual ~DtVrfObjectPredicate ()
 destructor
 DtVrfObjectPredicate (const DtVrfObjectPredicate &orig)
 copy constructor
DtVrfObjectPredicateoperator= (const DtVrfObjectPredicate &orig)
 assignment operator
bool operator== (const DtVrfObjectPredicate &orig) const
 Equality operators used to compare predicates.
bool operator!= (const DtVrfObjectPredicate &orig) const
virtual bool negated () const
virtual void setNegate (bool negate)
bool isTrue (const DtVrfObject *vrfObject)
 This function evaluates the eval function (to be defined in derived classes) given a DtVrfObject and returns the result, negated if indicated.
virtual bool canBeTrue (const DtVrfObject *vrfObject)
virtual bool canBeFalse (const DtVrfObject *vrfObject)
virtual void stringRep (std::ostream &str, int indentLevel=0) const

Protected Member Functions

virtual bool eval (const DtVrfObject *vrfObject)
- Protected Member Functions inherited from DtVrfObjectPredicate
virtual bool predicateEqual (const DtVrfObjectPredicate &orig) const
 Test if this instance of a predicate is equal to another.
virtual bool canEvalTrue (const DtVrfObject *vrfObject)
virtual bool canEvalFalse (const DtVrfObject *vrfObject)
virtual void typeSpecificStringRep (std::ostream &str, int indentLevel) const
 Override in specific subclasses to print the predicate description to the stream.

Additional Inherited Members

- Static Public Member Functions inherited from DtVrfObjectPredicate
static const DtVrfObjectPredicatenullPredicate ()
 Returns an instance of a DtNullVrfObjectPredicate.
- Protected Attributes inherited from DtVrfObjectPredicate
bool myNegated

Detailed Description

Contains the declaration of class DtIndependentlyTaskedPredicate, a predicate that tests if an entity is tasked independent of its aggregate.

Instances of DtIndependentlyTaskedPredicate are used to determine whether an entity is independently tasked or not.

Constructor & Destructor Documentation

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

destructor

DtIndependentlyTaskedPredicate::DtIndependentlyTaskedPredicate ( const DtIndependentlyTaskedPredicate orig)

copy constructor

Member Function Documentation

virtual DtVrfObjectPredicate* DtIndependentlyTaskedPredicate::clone ( ) const
virtual

clone function

Implements DtVrfObjectPredicate.

virtual bool DtIndependentlyTaskedPredicate::eval ( const DtVrfObject vrfObject)
protectedvirtual
Returns
true entity is independently tasked, false otherwise.

Implements DtVrfObjectPredicate.


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

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)