Arcane  4.1.12.0
User documentation
Loading...
Searching...
No Matches
Arcane::EnumeratorTraceWrapper< TrueEnumerator, TracerInterface > Class Template Reference

Wrapper around an enumerator for traces. More...

#include <arcane/core/EnumeratorTraceWrapper.h>

Public Member Functions

__host__ __device__ EnumeratorTraceWrapper (TrueEnumerator &&tenum)
__host__ __device__ EnumeratorTraceWrapper (TrueEnumerator &&tenum, const TraceInfo &ti)

Detailed Description

template<typename TrueEnumerator, typename TracerInterface>
class Arcane::EnumeratorTraceWrapper< TrueEnumerator, TracerInterface >

Wrapper around an enumerator for traces.

TrueEnumerator is the type of the actual enumerator and TraceInterface is that of the management interface. The type TraceInterface must have the following properties:

  • a singleton() method returning an instance.
  • an enterEnumerator() method and an exitEnumerator() method for each supported enumerator type.

Definition at line 94 of file EnumeratorTraceWrapper.h.

Constructor & Destructor Documentation

◆ EnumeratorTraceWrapper() [1/2]

template<typename TrueEnumerator, typename TracerInterface>
__host__ __device__ Arcane::EnumeratorTraceWrapper< TrueEnumerator, TracerInterface >::EnumeratorTraceWrapper ( TrueEnumerator && tenum)
inline

Definition at line 99 of file EnumeratorTraceWrapper.h.

◆ EnumeratorTraceWrapper() [2/2]

template<typename TrueEnumerator, typename TracerInterface>
__host__ __device__ Arcane::EnumeratorTraceWrapper< TrueEnumerator, TracerInterface >::EnumeratorTraceWrapper ( TrueEnumerator && tenum,
const TraceInfo & ti )
inline

Definition at line 108 of file EnumeratorTraceWrapper.h.

◆ ~EnumeratorTraceWrapper()

template<typename TrueEnumerator, typename TracerInterface>
__host__ __device__ Arcane::EnumeratorTraceWrapper< TrueEnumerator, TracerInterface >::~EnumeratorTraceWrapper ( )
inline

Definition at line 119 of file EnumeratorTraceWrapper.h.


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