OpenClonk
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
C4GUI::BaseParCallbackHandler< ParType > Class Template Referenceabstract

#include <C4Gui.h>

Inheritance diagram for C4GUI::BaseParCallbackHandler< ParType >:
[legend]
Collaboration diagram for C4GUI::BaseParCallbackHandler< ParType >:
[legend]

Public Member Functions

 BaseParCallbackHandler ()
 
virtual void DoCall (ParType par)=0
 
void Ref ()
 
void DeRef ()
 

Protected Member Functions

virtual void DoCall (class Element *pElement)
 

Detailed Description

template<class ParType>
class C4GUI::BaseParCallbackHandler< ParType >

Definition at line 318 of file C4Gui.h.

Constructor & Destructor Documentation

template<class ParType>
C4GUI::BaseParCallbackHandler< ParType >::BaseParCallbackHandler ( )
inline

Definition at line 323 of file C4Gui.h.

323 {}

Member Function Documentation

void C4GUI::BaseCallbackHandler::DeRef ( )
inlineinherited

Definition at line 257 of file C4Gui.h.

Referenced by C4GUI::ConfirmationDialog::OnClosed(), C4GUI::CheckBox::SetOnChecked(), C4GUI::ListBox::SetSelectionChangeCallbackFn(), C4GUI::ListBox::SetSelectionDblClickFn(), C4GUI::CheckBox::~CheckBox(), C4GUI::ConfirmationDialog::~ConfirmationDialog(), C4GUI::ListBox::~ListBox(), and C4GUI::ScrollBar::~ScrollBar().

257 { if (!--iRefs) delete this; }

Here is the caller graph for this function:

template<class ParType>
virtual void C4GUI::BaseParCallbackHandler< ParType >::DoCall ( class Element pElement)
inlineprotectedvirtual

Implements C4GUI::BaseCallbackHandler.

Definition at line 321 of file C4Gui.h.

Referenced by C4GUI::ScrollBar::OnPosChanged().

321 {assert(false);} // no-par: Not to be called

Here is the caller graph for this function:

template<class ParType>
virtual void C4GUI::BaseParCallbackHandler< ParType >::DoCall ( ParType  par)
pure virtual
void C4GUI::BaseCallbackHandler::Ref ( )
inlineinherited

Definition at line 256 of file C4Gui.h.

Referenced by C4GUI::ConfirmationDialog::ConfirmationDialog(), C4GUI::ConfirmationDialog::OnClosed(), C4GUI::ScrollBar::ScrollBar(), C4GUI::CheckBox::SetOnChecked(), C4GUI::ListBox::SetSelectionChangeCallbackFn(), and C4GUI::ListBox::SetSelectionDblClickFn().

256 { ++iRefs; }

Here is the caller graph for this function:


The documentation for this class was generated from the following file: