GWE::GweSimpleController Class Reference

Provides local non-persistent GWE functionality. More...

#include <GweSimpleController.h>

Inheritance diagram for GWE::GweSimpleController:

Inheritance graph
[legend]
Collaboration diagram for GWE::GweSimpleController:

Collaboration graph
[legend]
List of all members.

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)

Detailed Description

Provides local non-persistent GWE functionality.

Author:
Raphael Langerhorst
GweSimpleController implements both the GweController and the GDataController interface, all functionality provided in this class works as stated in the documentation of these classes;

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 & Destructor Documentation

GWE::GweSimpleController::GweSimpleController (  ) 

Constructor.

GWE::GweSimpleController::~GweSimpleController (  )  [virtual]

Virtual destructor


Member Function Documentation

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

Note:
used internally (protected)

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.

Note:
used internally (protected)

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

Note:
used internally (protected)


The documentation for this class was generated from the following files:
Generated on Thu Nov 16 07:49:37 2006 for G System by  doxygen 1.4.7