CoDiPack  2.2.0
A Code Differentiation Package
SciComp TU Kaiserslautern
Loading...
Searching...
No Matches
codi::StaticThreadLocalPointerInterface< T_Type, T_Owner, T_Impl > Struct Template Reference

Abstracts a static thread-local pointer. More...

#include <staticThreadLocalPointerInterface.hpp>

Inheritance diagram for codi::StaticThreadLocalPointerInterface< T_Type, T_Owner, T_Impl >:

Public Types

using Impl = T_Impl
 See StaticThreadLocalPointerInterface.
 
using Owner = T_Owner
 See StaticThreadLocalPointerInterface.
 
using Type = T_Type
 See StaticThreadLocalPointerInterface.
 

Public Member Functions

 StaticThreadLocalPointerInterface ()
 Constructor.
 
 ~StaticThreadLocalPointerInterface ()
 Destructor.
 

Static Public Member Functions

static Typeget ()
 Get the pointer.ยด
 
static void set (Type *other)
 Set the pointer.
 

Detailed Description

template<typename T_Type, typename T_Owner, typename T_Impl>
struct codi::StaticThreadLocalPointerInterface< T_Type, T_Owner, T_Impl >

Abstracts a static thread-local pointer.

Template Parameters
T_TypeThe datatype pointed to.
T_OwnerType that owns the static pointer. Needed to distinguish between multiple such pointers.
T_ImplImplementing class.

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