C4GUI::BaseCallbackHandler Class Referenceabstract

#include <C4Gui.h>

Inheritance diagram for C4GUI::BaseCallbackHandler:

Public Member Functions

 BaseCallbackHandler ()=default
virtual ~BaseCallbackHandler ()=default
void Ref ()
void DeRef ()
virtual void DoCall (class Element *pElement)=0

Detailed Description

Definition at line 248 of file C4Gui.h.

Constructor & Destructor Documentation

◆ BaseCallbackHandler()

C4GUI::BaseCallbackHandler::BaseCallbackHandler ( )

◆ ~BaseCallbackHandler()

virtual C4GUI::BaseCallbackHandler::~BaseCallbackHandler ( )

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()

virtual void C4GUI::BaseCallbackHandler::DoCall ( class Element pElement)
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: