#include <GWEInterfaceSimple.h>
Inheritance diagram for GWE::GWEInterfaceSimple:


Public Slots | |
| virtual void | radiateInfluence (GCS::GElementInfluence &influence) |
| virtual void | routeInfluence (const GCS::GElementID &destination, GCS::GElementInfluence &influence) |
Public Member Functions | |
| GWEInterfaceSimple () | |
| virtual | ~GWEInterfaceSimple () |
| virtual bool | add (GCS::GElement *) |
| virtual const GCS::GElement * | read (const GCS::GElementID &) const |
| virtual GCS::GElement * | open (const GCS::GElementID &) |
| virtual bool | close (GCS::GElement *) |
| virtual bool | postDelete (GCS::GElement *) |
Protected Slots | |
| virtual void | newElementCreated (GCS::GElement *element) |
| virtual void | elementRemoved (const GCS::GElementID &ID) |
| virtual void | elementReparented (GCS::GElement *element, const GCS::GElementID &oldParent, const GCS::GElementID &newParent) |
Protected Member Functions | |
| GCS::GElement * | getElement (const GCS::GElementID &id) const |
| QPtrList< GCS::GElement > | findInRange (GCS::GElement *source) |
Private Attributes | |
| QPtrList< GCS::GElement > | Elements |
| QMutex * | ElementListMutex |
the only exception is that data can't be kept persistent - all elements are only held in application memory and don't survive a shutdown/restart cycle.
|
|
Constructor. |
|
|
Virtual destructor |
|
|
Implements GWE::GWEInterface. |
|
|
Implements GWE::GWEInterface. |
|
|
Called when a element should be removed
|
|
||||||||||||||||
|
Called when an element changes its parent.
|
|
|
Returns a list of all elements that are in range of the source. This means the source's parent, all children and all elements that are in range of the source by checking the form attribute. If the source element has no form it is expected to be present in the whole parent, so all siblings are in range.
|
|
|
Searches for the element with given ID and returns it. If the element does not exist, NULL is returned. |
|
|
Called when a new element is being created
|
|
|
Implements GWE::GWEInterface. |
|
|
Implements GWE::GWEInterface. |
|
|
Implements GWE::GWEInterface. |
|
|
Implements GWE::GWEInterface. |
|
||||||||||||
|
Implements GWE::GWEInterface. |
|
|
Used for locking the elements list. This is important for threaded access. |
|
|
Represents the whole storage mechanism for this "simple" GWE.
|
1.3.6