Kanzi 3.9.10
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.
 

Public Member Functions

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

Detailed Description

The resource factory.

Member Typedef Documentation

◆ ResourceProfilingDataSampleContainer

Member Function Documentation

◆ createResourceProfilingDataSample()

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.

◆ getResourceProfilingDataSamples()

const ResourceProfilingDataSampleContainer & kanzi::ResourceProfilingDataSample::Factory::getResourceProfilingDataSamples ( ) const

Gets the created profiled resource container.

Returns
The created profiled resource container.

◆ resetProfilingData()

void kanzi::ResourceProfilingDataSample::Factory::resetProfilingData ( )

Resets all profiling data.


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