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

Static thread-local pointers for OpenMP. More...

#include <openMPStaticThreadLocalPointer.hpp>

Inheritance diagram for codi::OpenMPStaticThreadLocalPointer< T_Type, T_Owner >:

Public Types

using Owner = T_Owner
 See OpenMPStaticThreadLocalPointer.
 
using Type = T_Type
 See OpenMPStaticThreadLocalPointer.
 
- Public Types inherited from codi::StaticThreadLocalPointerInterface< T_Type, T_Owner, OpenMPStaticThreadLocalPointer< T_Type, T_Owner > >
using Impl
 See StaticThreadLocalPointerInterface.
 
using Owner
 See StaticThreadLocalPointerInterface.
 
using Type
 See StaticThreadLocalPointerInterface.
 

Static Public Member Functions

static Typeget ()
 Get the pointer.´
 
static void set (Type *other)
 Set the pointer.
 
- Static Public Member Functions inherited from codi::StaticThreadLocalPointerInterface< T_Type, T_Owner, OpenMPStaticThreadLocalPointer< T_Type, T_Owner > >
static Typeget ()
 Get the pointer.´
 
static void set (Type *other)
 Set the pointer.
 

Additional Inherited Members

- Public Member Functions inherited from codi::StaticThreadLocalPointerInterface< T_Type, T_Owner, OpenMPStaticThreadLocalPointer< T_Type, T_Owner > >
 StaticThreadLocalPointerInterface ()
 Constructor.
 
 ~StaticThreadLocalPointerInterface ()
 Destructor.
 

Detailed Description

template<typename T_Type, typename T_Owner>
struct codi::OpenMPStaticThreadLocalPointer< T_Type, T_Owner >

Static thread-local pointers for OpenMP.

Template Parameters
T_TypeSee StaticThreadLocalPointerInterface.
T_OwnerSee StaticThreadLocalPointerInterface.

Member Function Documentation

◆ get()

template<typename T_Type , typename T_Owner >
static Type * codi::OpenMPStaticThreadLocalPointer< T_Type, T_Owner >::get ( )
inlinestatic

Get the pointer.´

◆ set()

template<typename T_Type , typename T_Owner >
static void codi::OpenMPStaticThreadLocalPointer< T_Type, T_Owner >::set ( Type * other)
inlinestatic

Set the pointer.


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