The resource factory. More...
#include <kanzi/core.ui/resource/resource_profiling_data_sample.hpp>
Public Types | |
typedef unordered_set< ResourceProfilingDataSampleSharedPtr > | ResourceProfilingDataSampleContainer |
The profiled resource container type. More... | |
Public Member Functions | |
ResourceProfilingDataSampleSharedPtr | createResourceProfilingDataSample (ResourceProfilingContextSharedPtr acquireContext, string_view url) |
Creates a resource profiling data sample. More... | |
const ResourceProfilingDataSampleContainer & | getResourceProfilingDataSamples () const |
Gets the created profiled resource container. More... | |
void | resetProfilingData () |
Resets all profiling data. More... | |
The resource factory.
typedef unordered_set<ResourceProfilingDataSampleSharedPtr> kanzi::ResourceProfilingDataSample::Factory::ResourceProfilingDataSampleContainer |
The profiled resource container type.
ResourceProfilingDataSampleSharedPtr kanzi::ResourceProfilingDataSample::Factory::createResourceProfilingDataSample | ( | ResourceProfilingContextSharedPtr | acquireContext, |
string_view | url | ||
) |
Creates a resource profiling data sample.
acquireContext | The acquire context of the resource. |
url | The URL of the profiled resource. |
const ResourceProfilingDataSampleContainer& kanzi::ResourceProfilingDataSample::Factory::getResourceProfilingDataSamples | ( | ) | const |
Gets the created profiled resource container.
void kanzi::ResourceProfilingDataSample::Factory::resetProfilingData | ( | ) |
Resets all profiling data.