VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
destroyedPredicate.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2002 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: destroyedPred.h,v $ $Revision: 1.9 $ $State: Exp $
7 *******************************************************************************/
8 #ifndef destroyedPredicate_H_
9 #define destroyedPredicate_H_
10 
13 
15 
17 
23 {
24 public:
25 
27  DtDestroyedPredicate(bool negate = false);
28 
30  virtual ~DtDestroyedPredicate() override;
31 
34 
37  const DtDestroyedPredicate& orig);
38 
40  virtual DtVrfObjectPredicate* clone() const override;
41 
42 protected:
43 
45  virtual bool eval(const DtSimObject* vrfObject) const override;
46 
47  virtual void typeSpecificStringRep(std::ostream& str, int indentLevel) const override;
48 };
49 
50 #endif
51 
52 
Contains the DtDestroyedPredicate class declaration.
Definition: destroyedPredicate.h:22
DtVrfObjectPredicate & operator=(const DtVrfObjectPredicate &orig)
assignment operator
virtual bool eval(const DtSimObject *vrfObject) const =0
The actual test to be applied. Override eval() when creating a concrete predicate.
Contains the DtVrfObjectPredicate class declaration.
Definition: vrfObjectPredicate.h:20
virtual void typeSpecificStringRep(std::ostream &str, int indentLevel) const
Override in specific subclasses to print the predicate description to the stream. ...
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
Represents a single simulation object in the exercise. Object may be VRF simulation, or non-VRF simulated, and may be simulated by the local sim engine, or by a remote sim engine. Only public (external) state of the object is available. All data is read-only. All access to data of the object is thread safe within the simulation frame.
Definition: simObject.h:80
virtual DtVrfObjectPredicate * clone() const =0
clone function

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)