Home ⌂Doc Index ◂Up ▴
Intel(R) Threading Building Blocks Doxygen Documentation  version 4.2.3
tbb::interface6::internal::token_helper< T, false > Class Template Reference

#include <pipeline.h>

Collaboration diagram for tbb::interface6::internal::token_helper< T, false >:

Classes

union  type_to_void_ptr_map
 

Public Types

typedef T pointer
 
typedef T value_type
 

Static Public Member Functions

static pointer create_token (const value_type &source)
 
static value_typetoken (pointer &t)
 
static voidcast_to_void_ptr (pointer ref)
 
static pointer cast_from_void_ptr (void *ref)
 
static void destroy_token (pointer)
 

Detailed Description

template<typename T>
class tbb::interface6::internal::token_helper< T, false >

Definition at line 403 of file pipeline.h.

Member Typedef Documentation

◆ pointer

template<typename T >
typedef T tbb::interface6::internal::token_helper< T, false >::pointer

Definition at line 409 of file pipeline.h.

◆ value_type

template<typename T >
typedef T tbb::interface6::internal::token_helper< T, false >::value_type

Definition at line 410 of file pipeline.h.

Member Function Documentation

◆ cast_from_void_ptr()

template<typename T >
static pointer tbb::interface6::internal::token_helper< T, false >::cast_from_void_ptr ( void ref)
inlinestatic

Definition at line 419 of file pipeline.h.

419  {
420  type_to_void_ptr_map mymap;
421  mymap.void_overlay = ref;
422  return mymap.actual_value;
423  }

◆ cast_to_void_ptr()

template<typename T >
static void* tbb::interface6::internal::token_helper< T, false >::cast_to_void_ptr ( pointer  ref)
inlinestatic

Definition at line 413 of file pipeline.h.

413  {
414  type_to_void_ptr_map mymap;
415  mymap.void_overlay = NULL;
416  mymap.actual_value = ref;
417  return mymap.void_overlay;
418  }

◆ create_token()

template<typename T >
static pointer tbb::interface6::internal::token_helper< T, false >::create_token ( const value_type source)
inlinestatic

Definition at line 411 of file pipeline.h.

411 { return source; }

◆ destroy_token()

template<typename T >
static void tbb::interface6::internal::token_helper< T, false >::destroy_token ( pointer  )
inlinestatic

Definition at line 424 of file pipeline.h.

424 {}

◆ token()

template<typename T >
static value_type& tbb::interface6::internal::token_helper< T, false >::token ( pointer t)
inlinestatic

Definition at line 412 of file pipeline.h.

412 { return t; }

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

Copyright © 2005-2020 Intel Corporation. All Rights Reserved.

Intel, Pentium, Intel Xeon, Itanium, Intel XScale and VTune are registered trademarks or trademarks of Intel Corporation or its subsidiaries in the United States and other countries.

* Other names and brands may be claimed as the property of others.