resource_profiling_context_factory.hpp File Reference

Classes

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

Namespaces

 kanzi
 

Macros

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

Typedefs

typedef unique_ptr< ResourceProfilingContextFactory > kanzi::ResourceProfilingContextFactoryUniquePtr
 The resource profiling context factory unique pointer type. More...
 

Macro Definition Documentation

#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()