kanzi::ResourceProfilingDataSample::Factory Class Reference

The resource factory. More...

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

Public Types

typedef unordered_set< ResourceProfilingDataSampleSharedPtrResourceProfilingDataSampleContainer
 The profiled resource container type. More...
 

Public Member Functions

ResourceProfilingDataSampleSharedPtr createResourceProfilingDataSample (ResourceProfilingContextSharedPtr acquireContext, string_view url)
 Creates a resource profiling data sample. More...
 
const ResourceProfilingDataSampleContainergetResourceProfilingDataSamples () const
 Gets the created profiled resource container. More...
 
void resetProfilingData ()
 Resets all profiling data. More...
 

Detailed Description

The resource factory.

Member Typedef Documentation

Member Function Documentation

ResourceProfilingDataSampleSharedPtr kanzi::ResourceProfilingDataSample::Factory::createResourceProfilingDataSample ( ResourceProfilingContextSharedPtr  acquireContext,
string_view  url 
)

Creates a resource profiling data sample.

Parameters
acquireContextThe acquire context of the resource.
urlThe URL of the profiled resource.
const ResourceProfilingDataSampleContainer& kanzi::ResourceProfilingDataSample::Factory::getResourceProfilingDataSamples ( ) const

Gets the created profiled resource container.

Returns
The created profiled resource container.
void kanzi::ResourceProfilingDataSample::Factory::resetProfilingData ( )

Resets all profiling data.


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