22 class SimulationDatabase;
49 template<
typename SET_TYPE>
53 virtual void destroyView(
View* view);
56 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:42
The ViewManager creates and manages the views of a database.
Definition: viewManager.h:42
unsigned int UInt32
Definition: c_api.h:54
UInt64 ViewHandle
Definition: view.h:25
Defines a template callback object to make binding member function pointers easier.
UInt32 AttributeSetId
Definition: readStateInstance.h:22
AttributeSetId setType
Definition: viewManager.h:36
The SimulationDatabase stores all data for the simulation. It also owns the event, control, and view managers.
Definition: simulationDatabase.h:42
UInt64 ViewManagerHandle
Definition: viewManager.h:62
std::string name
Definition: viewManager.h:35
ViewScope
View Scope selects if only local entities, remote (network) entities or a mix should be considered fo...
Definition: view.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:33
std::map< std::string, ViewDescriptor > myViewCreatorMap
Definition: viewManager.h:75
ViewManagerHandle myHandle
Definition: viewManager.h:72
SimulationDatabase & myDatabase
Definition: viewManager.h:73
Callback< View *(ViewHandle handle, SimulationDatabase &database)> ViewCreator
Typedef for a View Creation function.
Definition: viewManager.h:30
ViewCreator creator
Definition: viewManager.h:37
unsigned long long UInt64
Definition: c_api.h:56