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

Instances of DtAbleToMovePredicate are used to determine whether an entity is capable of moving or not.

Inheritance diagram for DtAbleToMovePredicate:
Inheritance graph
[legend]

Public Member Functions

 DtAbleToMovePredicate (bool negate=false)
 
virtual ~DtAbleToMovePredicate ()
 
 DtAbleToMovePredicate (const DtAbleToMovePredicate &orig)
 
virtual DtVrfObjectPredicateclone () 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
 

Protected Member Functions

virtual bool eval (const DtSimObject *vrfObject) const override
 
- Protected Member Functions inherited from DtVrfObjectPredicate
virtual bool predicateEqual (const DtVrfObjectPredicate &orig) const
 
virtual bool canEvalTrue (const DtSimObject *vrfObject) const
 
virtual bool canEvalFalse (const DtSimObject *vrfObject) const
 
virtual void typeSpecificStringRep (std::ostream &str, int indentLevel) const
 

Additional Inherited Members

- Static Public Member Functions inherited from DtVrfObjectPredicate
static const DtVrfObjectPredicatenullPredicate ()
 
- Protected Attributes inherited from DtVrfObjectPredicate
bool myNegated
 

Constructor & Destructor Documentation

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

destructor

DtAbleToMovePredicate::DtAbleToMovePredicate ( const DtAbleToMovePredicate orig)

copy constructor

Member Function Documentation

virtual DtVrfObjectPredicate* DtAbleToMovePredicate::clone ( ) const
virtual

clone function

Implements DtVrfObjectPredicate.

virtual bool DtAbleToMovePredicate::eval ( const DtSimObject vrfObject) const
overrideprotectedvirtual
Returns
false if vrfObject is destroyed or mobility killed, true otherwise

Implements DtVrfObjectPredicate.


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

Document ID: Generated on Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)