TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
once.h File Reference
+ Include dependency graph for once.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  google::protobuf::GoogleOnceDynamic
 

Namespaces

 google
 
 google::protobuf
 

Macros

#define GOOGLE_PROTOBUF_ONCE_INIT   ::google::protobuf::ONCE_STATE_UNINITIALIZED
 
#define GOOGLE_PROTOBUF_DECLARE_ONCE(NAME)   ::google::protobuf::ProtobufOnceType NAME = GOOGLE_PROTOBUF_ONCE_INIT
 

Typedefs

typedef internal::AtomicWord google::protobuf::ProtobufOnceType
 

Enumerations

enum  { google::protobuf::ONCE_STATE_UNINITIALIZED = 0, google::protobuf::ONCE_STATE_EXECUTING_CLOSURE = 1, google::protobuf::ONCE_STATE_DONE = 2 }
 

Functions

LIBPROTOBUF_EXPORT void google::protobuf::GoogleOnceInitImpl (ProtobufOnceType *once, Closure *closure)
 
void google::protobuf::GoogleOnceInit (ProtobufOnceType *once, void(*init_func)())
 
template<typename Arg >
void google::protobuf::GoogleOnceInit (ProtobufOnceType *once, void(*init_func)(Arg *), Arg *arg)
 

Macro Definition Documentation

#define GOOGLE_PROTOBUF_DECLARE_ONCE (   NAME)    ::google::protobuf::ProtobufOnceType NAME = GOOGLE_PROTOBUF_ONCE_INIT
#define GOOGLE_PROTOBUF_ONCE_INIT   ::google::protobuf::ONCE_STATE_UNINITIALIZED