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

#include <activity.h>

Public Types

using ContextType = Context
 

Public Member Functions

 ContextHolder (Context value)
 
ContextGetContext ()
 

Private Attributes

Context value_
 

Detailed Description

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

Definition at line 168 of file activity.h.

Member Typedef Documentation

◆ ContextType

template<typename Context >
using grpc_core::promise_detail::ContextHolder< Context >::ContextType = Context

Definition at line 170 of file activity.h.

Constructor & Destructor Documentation

◆ ContextHolder()

template<typename Context >
grpc_core::promise_detail::ContextHolder< Context >::ContextHolder ( Context  value)
inlineexplicit

Definition at line 172 of file activity.h.

Member Function Documentation

◆ GetContext()

template<typename Context >
Context* grpc_core::promise_detail::ContextHolder< Context >::GetContext ( )
inline

Definition at line 173 of file activity.h.

Member Data Documentation

◆ value_

template<typename Context >
Context grpc_core::promise_detail::ContextHolder< Context >::value_
private

Definition at line 176 of file activity.h.


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


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