![]() |
MAK Legion 1.1 API Documentation
|
The View is an abstract base class for class that provide read only access to instances of a single attribute set type. More...
Inheritance diagram for Legion::View:
Collaboration diagram for Legion::View:Public Member Functions | |
| View (ViewHandle handle, SimulationDatabase &database) | |
| constructor More... | |
| virtual | ~View () |
| destructor More... | |
| virtual void | initialize () |
| initializes the view once the derived class has installed any predicates/callbacks More... | |
| virtual std::string | name () const |
| Get the name of the view. More... | |
| virtual UInt32 | count () const |
| Get the number entities in this view. More... | |
| virtual ViewScope | scope () const |
| Get the scope of the view Scope determines if the view contains local, remote, or mixed instances. More... | |
| SimulationDatabase & | database () const |
| The database this view uses. More... | |
Protected Member Functions | |
| virtual void | reset () |
Protected Attributes | |
| ViewHandle | myHandle |
| SimulationDatabase & | myDatabase |
| std::atomic< UInt32 > | myCount |
| bool | myDirty |
Friends | |
| class | ViewManager |
The View is an abstract base class for class that provide read only access to instances of a single attribute set type.
A view is created by the View Manager and may use predicate functions to determine if a given instance is in the view or out of the view.
| Legion::View::View | ( | ViewHandle | handle, |
| SimulationDatabase & | database | ||
| ) |
constructor
|
virtual |
destructor
|
virtual |
Get the number entities in this view.
| SimulationDatabase& Legion::View::database | ( | ) | const |
The database this view uses.
|
virtual |
initializes the view once the derived class has installed any predicates/callbacks
Referenced by Legion::ViewManager::createSetView().
|
virtual |
Get the name of the view.
|
protectedvirtual |
|
virtual |
Get the scope of the view Scope determines if the view contains local, remote, or mixed instances.
|
friend |
|
protected |
|
protected |
|
protected |
|
protected |