Kanzi Framework  3.9.0
Kanzi Engine API
kanzi::ResourceLoaderThreadContext Struct Reference

Resource loader thread local data. More...

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

Public Member Functions

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

Detailed Description

Resource loader thread local data.

Constructor & Destructor Documentation

◆ ResourceLoaderThreadContext()

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

Constructor.

Parameters
nameName of the loader thread.

Member Function Documentation

◆ getThreadName()

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: