wxPg::UI_manager Class Reference

A container class for updating UI by multiple UI_updaters at once. More...

Inheritance diagram for wxPg::UI_manager:

wxPg::UI_updater

List of all members.

Public Member Functions

 UI_manager ()
 Constructor - creates new object.
virtual ~UI_manager ()
 Destructor.
virtual void update_UI ()
 Update user interface.
void add (UI_updater *updater)
 Add updater to this container, if it't not yet contained.
void remove (UI_updater *updater)
 Remove updater from this container.
void clear ()
 Remove all contained UI_updaters.


Detailed Description

A container class for updating UI by multiple UI_updaters at once.


Constructor & Destructor Documentation

wxPg::UI_manager::UI_manager (  ) 

Constructor - creates new object.

virtual wxPg::UI_manager::~UI_manager (  )  [virtual]

Destructor.


Member Function Documentation

void wxPg::UI_manager::add ( UI_updater updater  ) 

Add updater to this container, if it't not yet contained.

It's safe to call this method multiple times with same argument - same UI_updater only once will be added.

Parameters:
updater - an UI_updater to add.

void wxPg::UI_manager::clear (  ) 

Remove all contained UI_updaters.

void wxPg::UI_manager::remove ( UI_updater updater  ) 

Remove updater from this container.

Nothing happens, if updater is not contained by this container.

Parameters:
updater - an UI_updater to remove.

virtual void wxPg::UI_manager::update_UI (  )  [virtual]

Update user interface.

Calls update_UI() for all contained UI_updaters.

Implements wxPg::UI_updater.


Generated on Sat Sep 5 23:00:40 2009 for wxPostgres by  doxygen 1.5.8