open_iA 2025.6
Loading...
Searching...
No Matches
iAChildSource Class Reference

Class used for accessing an existing or creating a new child window as needed. More...

#include <iAMainWindow.h>

Public Member Functions

 iAChildSource (bool newWindow, iAMdiChild *child)
 
iAMdiChildchild (iAMainWindow *mainWin)
 

Static Public Member Functions

static std::shared_ptr< iAChildSourcemake (bool newWindow, iAMdiChild *child=nullptr)
 

Detailed Description

Class used for accessing an existing or creating a new child window as needed.

The goal is to defer the need to create windows to as late as possible; while making it customizable whether to create a new window each time one is requested (newWindow); or if newWindow is false, then either the the given child or the same new child is returned each time.

Constructor & Destructor Documentation

◆ iAChildSource()

iAChildSource::iAChildSource ( bool newWindow,
iAMdiChild * child )

Member Function Documentation

◆ child()

iAMdiChild * iAChildSource::child ( iAMainWindow * mainWin)

◆ make()

std::shared_ptr< iAChildSource > iAChildSource::make ( bool newWindow,
iAMdiChild * child = nullptr )
static

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