IrrIMGUI  0.3.1
Namespaces | Typedefs | Functions
Inject

Definitions for dependency injection. More...

Collaboration diagram for Inject:

Namespaces

 IrrIMGUI
 Main namespace for Irrlicht IMGUI binding.
 
 IrrIMGUI::Inject
 Contains definitions for Dependency Injection.
 

Typedefs

typedef IrrIMGUI::IIMGUIHandle *( IrrIMGUI::Inject::IMGUIFactory) (irr::IrrlichtDevice *pDevice, IrrIMGUI::CIMGUIEventStorage *pEventStorage, IrrIMGUI::SIMGUISettings const *pSettings)
 The type of the IMGUI factory function. More...
 

Functions

void IrrIMGUI::Inject::setIMGUIFactory (IMGUIFactory *pFactoryFunction)
 
IMGUIFactory * IrrIMGUI::Inject::getIMGUIFactory (void)
 

Detailed Description

Definitions for dependency injection.

Typedef Documentation

typedef IrrIMGUI::IIMGUIHandle*( IrrIMGUI::Inject::IMGUIFactory) (irr::IrrlichtDevice *pDevice, IrrIMGUI::CIMGUIEventStorage *pEventStorage, IrrIMGUI::SIMGUISettings const *pSettings)

The type of the IMGUI factory function.

Definition at line 57 of file IrrIMGUIInject.h.

Function Documentation

IRRIMGUI_DLL_API IMGUIFactory * IrrIMGUI::Inject::getIMGUIFactory ( void  )
Returns
Returns the current factory function pointer for creating an IMGUI handle instance.

Definition at line 69 of file IrrIMGUIInject.cpp.

IRRIMGUI_DLL_API void IrrIMGUI::Inject::setIMGUIFactory ( IMGUIFactory pFactoryFunction = nullptr)
Parameters
pFactoryFunctionIs a function pointer to the IMGUI factory function to use. If it is NULL, it will use the default factory function.

Definition at line 57 of file IrrIMGUIInject.cpp.

Here is the call graph for this function:

Here is the caller graph for this function: