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


Public Member Functions | |
| GweSimpleController () | |
| virtual | ~GweSimpleController () |
Protected Slots | |
| void | connectElement (const GCS::GElementID &) |
| 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) |
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.
| GWE::GweSimpleController::GweSimpleController | ( | ) |
Constructor.
| GWE::GweSimpleController::~GweSimpleController | ( | ) | [virtual] |
Virtual destructor
| void GWE::GweSimpleController::connectElement | ( | const GCS::GElementID & | ) | [protected, slot] |
Connects all notification signals to the GWE for handling
| void GWE::GweSimpleController::elementRemoved | ( | const GCS::GElementID & | ID | ) | [protected, virtual, slot] |
Called when a element should be removed
| void GWE::GweSimpleController::elementReparented | ( | GCS::GElement * | element, | |
| const GCS::GElementID & | oldParent, | |||
| const GCS::GElementID & | newParent | |||
| ) | [protected, virtual, slot] |
Called when an element changes its parent.
Transformation is handled by element itself, this slot just exists to allow information updating. In a networked GWE this might cause responsibility shifting between GWE server instances.
| void GWE::GweSimpleController::newElementCreated | ( | GCS::GElement * | element | ) | [protected, virtual, slot] |
Called when a new element is being created
1.4.7