clan::UIThread Class Reference - ClanLib SDK
Description: clan::UIThread Class Reference

Public Member Functions | Static Public Member Functions | List of all members
clan::UIThread Class Reference

`#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 UIThread * | get_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.

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

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

## ◆ get_resources()

static ResourceManager clan::UIThread::get_resources | ( |  | ) |
| static

## ◆ try_catch()

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

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

- ui_thread.h