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

Wrapper around an enumerator for traces. More...

#include <arcane/core/EnumeratorTraceWrapper.h>

Inheritance diagram for Arcane::EnumeratorTraceWrapper< TrueEnumerator, TracerInterface >:
Collaboration diagram for Arcane::EnumeratorTraceWrapper< TrueEnumerator, TracerInterface >:

Public Member Functions

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

Private Attributes

TracerInterface * m_tracer = nullptr
EnumeratorTraceInfo m_infos

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.

Member Data Documentation

◆ m_infos

template<typename TrueEnumerator, typename TracerInterface>
EnumeratorTraceInfo Arcane::EnumeratorTraceWrapper< TrueEnumerator, TracerInterface >::m_infos
private

Definition at line 130 of file EnumeratorTraceWrapper.h.

◆ m_tracer

template<typename TrueEnumerator, typename TracerInterface>
TracerInterface* Arcane::EnumeratorTraceWrapper< TrueEnumerator, TracerInterface >::m_tracer = nullptr
private

Definition at line 129 of file EnumeratorTraceWrapper.h.


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