C4GUI::BaseParCallbackHandler< ParType > Class Template Referenceabstract

#include <C4Gui.h>

Inheritance diagram for C4GUI::BaseParCallbackHandler< ParType >:
Collaboration diagram for C4GUI::BaseParCallbackHandler< ParType >:

Public Member Functions

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

Protected Member Functions

void DoCall (class Element *pElement) override

Detailed Description

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

Definition at line 318 of file C4Gui.h.

Constructor & Destructor Documentation

◆ BaseParCallbackHandler()

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

Member Function Documentation

◆ DeRef()

void C4GUI::BaseCallbackHandler::DeRef ( )

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:

◆ DoCall() [1/2]

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

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:

◆ DoCall() [2/2]

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

◆ Ref()

void C4GUI::BaseCallbackHandler::Ref ( )

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: