The context sampler. More...
#include <kanzi/core.ui/resource/resource_profiling_acquire_context.hpp>
Public Member Functions | |
Sampler (ResourceProfilingContextFactory &stack, string_view url, bool async) | |
Constructor. More... | |
Public Member Functions inherited from kanzi::ResourceProfilingContextFactory::AbstractSampler | |
AbstractSampler (ResourceProfilingContextFactory &factory) | |
The constructor. More... | |
virtual | ~AbstractSampler () |
Destructor. More... | |
ResourceProfilingContextSharedPtr | getContext () |
Gets the resource profiling context created by this sampler. More... | |
Protected Member Functions | |
virtual ResourceProfilingContextSharedPtr | createContextOverride (TimeStamp entryTimeStamp) KZ_OVERRIDE |
Creates a new resource profiling context. More... | |
The context sampler.
|
explicit |
Constructor.
factory | The sampler factory. |
url | The URL of the resource being acquired. |
async | The asynchronous resource loading flag. |
|
protectedvirtual |
Creates a new resource profiling context.
entryTimeStamp | The timestamp evaluated at entry to the scope of the resource profiling context. |
Implements kanzi::ResourceProfilingContextFactory::AbstractSampler.