#include <ui_thread.h>

Public Member Functions

 UIThread ()
 Constructs a null instance.
 UIThread (ResourceManager manager, const std::function< void(const std::exception_ptr &)> &exception_handler=std::function< void(const std::exception_ptr &)>())
 ~UIThread ()

Static Public Member Functions

static UIThreadget_instance ()
static ResourceManager get_resources ()
static bool try_catch (const std::function< void()> &block)

Constructor & Destructor Documentation

◆ UIThread() [1/2]

clan::UIThread::UIThread ( )

Constructs a null instance.

Referenced by get_instance().

◆ UIThread() [2/2]

clan::UIThread::UIThread ( ResourceManager manager,
const std::function< void(const std::exception_ptr &)> & exception_handler = std::function< void(const std::exception_ptr &)>() )

◆ ~UIThread()

clan::UIThread::~UIThread ( )

Member Function Documentation

◆ get_instance()

UIThread * clan::UIThread::get_instance ( )
static

References UIThread().

◆ get_resources()

ResourceManager clan::UIThread::get_resources ( )
static

◆ try_catch()

bool clan::UIThread::try_catch ( const std::function< void()> & block)
static

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