Kanzi  3.9.9
Kanzi Engine C++ API
kanzi::ResourceProfilingDeployContext::Sampler Class Reference

The context sampler. More...

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

Inheritance diagram for kanzi::ResourceProfilingDeployContext::Sampler:
[legend]

Public Member Functions

 Sampler (ResourceProfilingContextFactory &factory, ResourceProfilingDataSampleSharedPtr profiledResource)
 Constructor. More...
 
- Public Member Functions inherited from kanzi::ResourceProfilingContextFactory::AbstractSampler
 AbstractSampler (ResourceProfilingContextFactory &factory)
 The constructor. More...
 
ResourceProfilingContextSharedPtr getContext ()
 Gets the resource profiling context created by this sampler. More...
 
virtual ~AbstractSampler ()
 Destructor. More...
 

Protected Member Functions

ResourceProfilingContextSharedPtr createContextOverride (TimeStamp entryTimeStamp) override
 Creates a new resource profiling context. More...
 

Detailed Description

The context sampler.

Constructor & Destructor Documentation

kanzi::ResourceProfilingDeployContext::Sampler::Sampler ( ResourceProfilingContextFactory factory,
ResourceProfilingDataSampleSharedPtr  profiledResource 
)
explicit

Constructor.

Parameters
factoryThe sampler factory.
profiledResourceThe profiled resource related to this context.

Member Function Documentation

ResourceProfilingContextSharedPtr kanzi::ResourceProfilingDeployContext::Sampler::createContextOverride ( TimeStamp  entryTimeStamp)
overrideprotectedvirtual

Creates a new resource profiling context.

Parameters
entryTimeStampThe timestamp evaluated at entry to the scope of the resource profiling context.

Implements kanzi::ResourceProfilingContextFactory::AbstractSampler.


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