25 class ReadStateInstance;
26 class WriteStateInstance;
53 virtual void beginFrame(
double time);
56 virtual void endFrame();
61 virtual bool inFrame()
const;
64 virtual UInt64 currentFrame()
const;
67 virtual double simTime()
const;
71 virtual UInt32 clientId()
const;
75 virtual bool removeBeginFrameCallback(
BeginFrameCb bfcb);
77 virtual bool addEndFrameCallback(
EndFrameCb efd);
78 virtual bool removeEndFrameCallback(
EndFrameCb efd);
86 virtual AttributeSetId findAttributeSetId(
const std::string& name);
96 template<
typename OBJECT_TYPE>
97 OBJECT_TYPE createInstance();
135 static void beginFrameCallback(
void* usr,
double simTime);
136 static void endFrameCallback(
void* usr);
EventManager * myEventManager
Definition: simulationDatabase.h:131
ControlManager * myControlManager
Definition: simulationDatabase.h:132
The ViewManager creates and manages the views of a database.
Definition: viewManager.h:48
UInt16 ClientIdentifier
Definition: dataTypes.h:52
UInt64 DatabaseHandle
Definition: simulationDatabase.h:32
Defines a template callback object to make binding member function pointers easier.
DatabaseHandle myHandle
Definition: simulationDatabase.h:129
An attribute descriptor describes a single attribute.
Definition: attributeSetDescriptor.h:32
std::vector< BeginFrameCb > myBeginFrameCallbacks
Definition: simulationDatabase.h:137
The EventManager manages the creation and distribution of simulation events such as Fire and Detonate...
Definition: eventManager.h:33
Callback template for binding static or member functions for callback at later time The return type a...
Definition: callback.h:66
UInt32 AttributeSetId
Definition: readStateInstance.h:22
UInt64 GlobalIdentifier
a globally unique identifier
Definition: dataTypes.h:50
std::vector< EndFrameCb > myEndFrameCallbacks
Definition: simulationDatabase.h:138
#define LEGION_DLL
Definition: legionDataStore/export.h:24
UInt32 AttributeIndex
Definition: readStateInstance.h:21
unsigned int UInt32
Definition: dataTypes.h:44
The SimulationDatabase stores all data for the simulation. It also owns the event, control, and view managers.
Definition: simulationDatabase.h:39
UInt32 AttributeId
Definition: simulationDatabase.h:35
Callback< void()> EndFrameCb
Definition: simulationDatabase.h:30
The WriteStateInstance is the base class of all write simulation object repository classes...
Definition: writeStateInstance.h:34
unsigned long long UInt64
Definition: dataTypes.h:46
ViewManager * myViewManager
Definition: simulationDatabase.h:133
Callback< void(double)> BeginFrameCb
Definition: simulationDatabase.h:27
virtual DatabaseHandle handle() const
Returns the handle to the internal representation of this object.
Definition: simulationDatabase.h:48
The configuration object parses the command line and loads a configuration file to provide the user c...
Definition: configuration.h:23
The control manager is responsible for creating and adding controls to the simulation database...
Definition: controlManager.h:33
UInt64 InstanceHandle
Definition: readStateInstance.h:20
/brief An attribute set descriptor describes a group of attributes that are treated as a single set o...
Definition: attributeSetDescriptor.h:47
UInt8 Bool
Definition: dataTypes.h:53