Kanzi 3.9.10
resource_profiling_context_factory.hpp File Reference

Classes

class  kanzi::ResourceProfilingContextFactory::AbstractSampler
 Abstract resource profiling context sampler. More...
 
class  kanzi::ResourceProfilingContextFactory
 Resource profiling context factory. More...
 

Namespaces

namespace  kanzi
 

Macros

#define KZ_DETAIL_RESOURCE_PROFILING_CONTEXT_SAMPLER(className, localVariable, constructorArguments)
 Do not use this macro.
 
#define kzResourceProfilingContextSampler(className, localVariable, constructorArguments)
 Creates a new resource profiling context sampler.
 

Typedefs

typedef unique_ptr< ResourceProfilingContextFactorykanzi::ResourceProfilingContextFactoryUniquePtr
 The resource profiling context factory unique pointer type.
 

Macro Definition Documentation

◆ KZ_DETAIL_RESOURCE_PROFILING_CONTEXT_SAMPLER

#define KZ_DETAIL_RESOURCE_PROFILING_CONTEXT_SAMPLER ( className,
localVariable,
constructorArguments )

Do not use this macro.

To create a new resource profiling context sampler use kzResourceProfilingContextSampler().

Parameters
classNameThe class name of the context sampler.
localVariableThe name of the local variable which holds the object of the sampler class.
constructorArgumentsThe arguments which you must pass to the constructor of the sampler. Enclose the arguments in parentheses.
See also
kzResourceProfilingContextSampler()