9 #include <vlutil/vlString.h>
40 static void onResourceUpdate(
DtSimResource* resource,
void* usr);
59 , percentLogged(-1.0) {};
ResourceInfo(const DtString &n, DtVrfDatabaseEvent::EventType e, double t)
Definition: resourceDatabaseLogger.h:55
double myThresholdPercent
Definition: resourceDatabaseLogger.h:50
EventType
The unique event types for different types of data that will be logged by VRF. Each event type will g...
Definition: vrfDatabaseEvent.h:28
Responsible for monitoring resources for a particular entity and issuing database updates when the va...
Definition: resourceDatabaseLogger.h:16
double percentThreshold
Definition: resourceDatabaseLogger.h:63
DtVrfDatabaseEvent::EventType eventType
Definition: resourceDatabaseLogger.h:62
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
DtLocalObject * myEntity
Definition: resourceDatabaseLogger.h:49
double percentLogged
Definition: resourceDatabaseLogger.h:64
DtSimResource is an abstract base class that can be used to create a hierarchical resource list of a ...
Definition: simResource.h:42
DT_DLL_DEBUGDRAWRENDERER void init(makVrv::DtDe &de)
Work function for the plugin initialization.
Structure to store data about a resource.
Definition: resourceDatabaseLogger.h:53
std::map< DtSimResource *, ResourceInfo > myResourceInfo
Definition: resourceDatabaseLogger.h:66
A locally simulated VRF object. Holds all internal and external data for the object, and provides access to both the current frame and next frame state data for the object. All current frame data is read-only, and next-frame data can be written to. No thread safety guarantees are made on this object during the simulation frame and it should only be accessed by the thread that is simulating the object.
Definition: localObject.h:86