TdkMainDlgControllerDecorator Class Reference

Description. Defines an interface for decorator pattern. This class allows the user inherit from main dialog controller. Using this class, the user can change the controller behavior dinamically. More...

#include <TdkMainDlgControllerDecorator.h>

Inheritance diagram for TdkMainDlgControllerDecorator:

TdkMainDlgController TdkDlgController TdkObserver TdkSubject List of all members.

Public Member Functions

Contructors and Destructors
 TdkMainDlgControllerDecorator (TdkMainDlgController *controller)
 Default Constructor.
virtual ~TdkMainDlgControllerDecorator ()
 Virtual Destructor.
Behavioral Methods
virtual void update (TdkSubject *changedObject)
 This method is called when the user interacts with the dialog. This is the behavioral we want to change, using this class.
virtual void init ()
 Initializes the controller.

Protected Attributes

TdkMainDlgController_controller

Detailed Description

Description. Defines an interface for decorator pattern. This class allows the user inherit from main dialog controller. Using this class, the user can change the controller behavior dinamically.

This class defines an interface for decorator pattern.


Constructor & Destructor Documentation

TdkMainDlgControllerDecorator::TdkMainDlgControllerDecorator ( TdkMainDlgController controller  ) 

Default Constructor.

Parameters:
controller Pointer to another dlgController.

TdkMainDlgControllerDecorator::~TdkMainDlgControllerDecorator (  )  [virtual]

Virtual Destructor.


Member Function Documentation

void TdkMainDlgControllerDecorator::update ( TdkSubject changedObject  )  [virtual]

This method is called when the user interacts with the dialog. This is the behavioral we want to change, using this class.

Parameters:
changedObject Object that signals a change.

Reimplemented from TdkMainDlgController.

void TdkMainDlgControllerDecorator::init (  )  [virtual]

Initializes the controller.

Reimplemented from TdkMainDlgController.


Member Data Documentation

TdkMainDlgController* TdkMainDlgControllerDecorator::_controller [protected]


The documentation for this class was generated from the following files:
Generated on Fri Jun 15 16:54:45 2007 for TDK by  doxygen 1.5.2