Public Member Functions | Static Public Member Functions | Static Private Member Functions | Private Attributes | List of all members
grpc_core::promise_detail::Context< T > Class Template Reference

#include <context.h>

Inheritance diagram for grpc_core::promise_detail::Context< T >:
Inheritance graph
[legend]

Public Member Functions

 Context (const Context &)=delete
 
 Context (T *p)
 
Contextoperator= (const Context &)=delete
 
 ~Context ()
 

Static Public Member Functions

static Tget ()
 

Static Private Member Functions

static GPR_THREAD_LOCAL (T *) current_
 

Private Attributes

T *const old_
 

Detailed Description

template<typename T>
class grpc_core::promise_detail::Context< T >

Definition at line 37 of file core/lib/promise/context.h.

Constructor & Destructor Documentation

◆ Context() [1/2]

template<typename T >
grpc_core::promise_detail::Context< T >::Context ( T p)
inlineexplicit

Definition at line 39 of file core/lib/promise/context.h.

◆ ~Context()

template<typename T >
grpc_core::promise_detail::Context< T >::~Context ( )
inline

Definition at line 40 of file core/lib/promise/context.h.

◆ Context() [2/2]

template<typename T >
grpc_core::promise_detail::Context< T >::Context ( const Context< T > &  )
delete

Member Function Documentation

◆ get()

template<typename T >
static T* grpc_core::promise_detail::Context< T >::get ( )
inlinestatic

Definition at line 44 of file core/lib/promise/context.h.

◆ GPR_THREAD_LOCAL()

template<typename T >
static grpc_core::promise_detail::Context< T >::GPR_THREAD_LOCAL ( T )
staticprivate

◆ operator=()

template<typename T >
Context& grpc_core::promise_detail::Context< T >::operator= ( const Context< T > &  )
delete

Member Data Documentation

◆ old_

template<typename T >
T* const grpc_core::promise_detail::Context< T >::old_
private

Definition at line 47 of file core/lib/promise/context.h.


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


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:39