Public Member Functions | Private Member Functions | Private Attributes | List of all members
google::protobuf.internal::CallOnceInitializedMutex< T > Class Template Reference

#include <mutex.h>

Public Member Functions

constexpr CallOnceInitializedMutex ()
 
void lock ()
 
void unlock ()
 
 ~CallOnceInitializedMutex ()
 

Private Member Functions

Tget ()
 

Private Attributes

char buf_ [sizeof(T)]
 
std::once_flag flag_
 

Detailed Description

template<typename T>
class google::protobuf.internal::CallOnceInitializedMutex< T >

Definition at line 98 of file protobuf/src/google/protobuf/stubs/mutex.h.

Constructor & Destructor Documentation

◆ CallOnceInitializedMutex()

template<typename T >
constexpr google::protobuf.internal::CallOnceInitializedMutex< T >::CallOnceInitializedMutex ( )
inlineconstexpr

Definition at line 100 of file protobuf/src/google/protobuf/stubs/mutex.h.

◆ ~CallOnceInitializedMutex()

Definition at line 101 of file protobuf/src/google/protobuf/stubs/mutex.h.

Member Function Documentation

◆ get()

template<typename T >
T& google::protobuf.internal::CallOnceInitializedMutex< T >::get ( )
inlineprivate

Definition at line 107 of file protobuf/src/google/protobuf/stubs/mutex.h.

◆ lock()

template<typename T >
void google::protobuf.internal::CallOnceInitializedMutex< T >::lock ( )
inline

Definition at line 103 of file protobuf/src/google/protobuf/stubs/mutex.h.

◆ unlock()

template<typename T >
void google::protobuf.internal::CallOnceInitializedMutex< T >::unlock ( )
inline

Definition at line 104 of file protobuf/src/google/protobuf/stubs/mutex.h.

Member Data Documentation

◆ buf_

template<typename T >
char google::protobuf.internal::CallOnceInitializedMutex< T >::buf_[sizeof(T)]
private

Definition at line 113 of file protobuf/src/google/protobuf/stubs/mutex.h.

◆ flag_

template<typename T >
std::once_flag google::protobuf.internal::CallOnceInitializedMutex< T >::flag_
private

Definition at line 112 of file protobuf/src/google/protobuf/stubs/mutex.h.


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


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