20 class SimulationDatabase;
55 template<
typename SET_TYPE>
59 virtual void destroyView(
View* view);
62 virtual void registerView(
const std::string& viewName,
ViewDescriptor descriptor);
The View is an abstract base class for class that provide read only access to instances of a single a...
Definition: view.h:34
The ViewManager creates and manages the views of a database.
Definition: viewManager.h:48
unsigned int UInt32
Definition: c_api.h:53
UInt64 ViewHandle
Definition: view.h:26
Defines a template callback object to make binding member function pointers easier.
UInt32 AttributeSetId
Definition: readStateInstance.h:22
AttributeSetId setType
Definition: viewManager.h:42
#define LEGION_DLL
Definition: legionDataStore/export.h:24
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
UInt64 ViewManagerHandle
Definition: viewManager.h:68
std::string name
Definition: viewManager.h:41
Scope
View Scope selects if only local entities, remote (network) entities or a mix should be considered fo...
Definition: viewManager.h:31
unsigned long long UInt64
Definition: dataTypes.h:46
View descriptor provides a way for the database ViewManager to create a view of a given type...
Definition: viewManager.h:39
std::map< std::string, ViewDescriptor > myViewCreatorMap
Definition: viewManager.h:81
ViewManagerHandle myHandle
Definition: viewManager.h:78
SimulationDatabase & myDatabase
Definition: viewManager.h:79
Callback< View *(ViewHandle handle, SimulationDatabase &database)> ViewCreator
Typedef for a View Creation function.
Definition: viewManager.h:28
ViewCreator creator
Definition: viewManager.h:43
unsigned long long UInt64
Definition: c_api.h:55