12 #include "tbb/spin_rw_mutex.h"
44 void removeSimObjectPredicateCallback(
const DtSimObject*,
53 void invokeSimObjectPredicateCallbacks();
57 virtual void clearPredicateCallbacks();
60 virtual void removeAllPredicatesFor(
const DtSimObject*);
64 typedef std::list< std::pair<DtSimObjectReference, boost::shared_ptr<DtVrfObjectPredicateCallbackInfo> > >
PredicateList;
The DtSimObjectReference is a shared pointer that can be used amongst many object for access to the u...
Definition: simObjectReference.h:26
PredicateList list
Definition: predicateCallbackManager.h:67
std::map< DtUUID, PredicateInfo > PredicateCallbackList
Definition: predicateCallbackManager.h:71
tbb::spin_rw_mutex myPredicateCallbackManagerMutex
Definition: predicateCallbackManager.h:74
Definition: predicateCallbackManager.h:65
Contains the DtVrfObjectPredicate class declaration.
Definition: vrfObjectPredicate.h:20
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
std::list< std::pair< DtSimObjectReference, boost::shared_ptr< DtVrfObjectPredicateCallbackInfo > > > PredicateList
Definition: predicateCallbackManager.h:64
The predicate callback manager allows for registration of callbacks by sim object for predicates...
Definition: predicateCallbackManager.h:19
void(* DtVrfObjectPredicateCallbackFunction)(DtSimObjectReference obj, DtVrfObjectPredicateEvaluator *predicateEval, void *userData)
Callback function that takes a DtSimObjectReference, a pointer to the DtVrfObjectPredicateEvaluator t...
Definition: vrfObjectPredicateCallbackInfo.h:19
boost::signals2::connection removalConnection
Definition: predicateCallbackManager.h:68
Central access point of all non-object-specific the services and managers that are available for use ...
Definition: simulationServices.h:90
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:79
const DtSimulationServices * mySimulationServices
Definition: predicateCallbackManager.h:63
PredicateCallbackList myPredicateCallbackList
Definition: predicateCallbackManager.h:72