kanzi::ResourceLoaderThreadContext Struct Reference

Resource loader thread local data. More...

#include <kanzi/core.ui/resource/resource.hpp>

Public Member Functions

 ResourceLoaderThreadContext (string_view name)
 Constructor. More...
 
string_view getThreadName () const
 Returns the name of thread that is doing the loading. More...
 

Detailed Description

Resource loader thread local data.

Constructor & Destructor Documentation

kanzi::ResourceLoaderThreadContext::ResourceLoaderThreadContext ( string_view  name)
explicit

Constructor.

Parameters
nameName of the loader thread.

Member Function Documentation

string_view kanzi::ResourceLoaderThreadContext::getThreadName ( ) const
inline

Returns the name of thread that is doing the loading.

Returns
The name of the active thread.

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