#include <mutex.h>
Public Member Functions | |
Condition (bool(*func)(void *), void *arg) | |
template<typename T > | |
Condition (bool(*func)(T *), T *arg) | |
template<typename T > | |
Condition (T *object, bool(absl::internal::identity< T >::type::*method)()) | |
template<typename T > | |
Condition (const T *object, bool(absl::internal::identity< T >::type::*method)() const) | |
Condition (const bool *cond) | |
template<typename T , typename E = decltype( static_cast<bool (T::*)() const>(&T::operator()))> | |
Condition (const T *obj) | |
bool | Eval () const |
Static Public Member Functions | |
static bool | GuaranteedEqual (const Condition *a, const Condition *b) |
Static Public Attributes | |
static const Condition | kTrue |
Private Types | |
typedef bool(* | InternalFunctionType )(void *arg) |
typedef bool(* | InternalMethodCallerType )(void *arg, InternalMethodType internal_method) |
typedef bool(Condition::* | InternalMethodType )() |
Private Member Functions | |
Condition () | |
Static Private Member Functions | |
static bool | CallVoidPtrFunction (const Condition *) |
template<typename T > | |
static bool | CastAndCallFunction (const Condition *c) |
template<typename T > | |
static bool | CastAndCallMethod (const Condition *c) |
Private Attributes | |
void * | arg_ |
bool(* | eval_ )(const Condition *) |
InternalFunctionType | function_ |
InternalMethodType | method_ |
typedef bool(* absl::Condition::InternalFunctionType)(void *arg) [private] |
typedef bool(* absl::Condition::InternalMethodCallerType)(void *arg, InternalMethodType internal_method) [private] |
typedef bool(Condition::* absl::Condition::InternalMethodType)() [private] |
absl::Condition::Condition | ( | bool(*)(void *) | func, |
void * | arg | ||
) |
Definition at line 294 of file mutex_nonprod.cc.
absl::Condition::Condition | ( | bool(*)(T *) | func, |
T * | arg | ||
) | [inline] |
absl::Condition::Condition | ( | T * | object, |
bool(absl::internal::identity< T >::type::*)() | method | ||
) | [inline] |
absl::Condition::Condition | ( | const T * | object, |
bool(absl::internal::identity< T >::type::*)() const | method | ||
) | [inline] |
absl::Condition::Condition | ( | const bool * | cond | ) | [explicit] |
Definition at line 304 of file mutex_nonprod.cc.
absl::Condition::Condition | ( | const T * | obj | ) | [inline, explicit] |
absl::Condition::Condition | ( | ) | [private] |
Definition at line 291 of file mutex_nonprod.cc.
bool absl::Condition::CallVoidPtrFunction | ( | const Condition * | c | ) | [static, private] |
Definition at line 300 of file mutex_nonprod.cc.
bool absl::Condition::CastAndCallFunction | ( | const Condition * | c | ) | [static, private] |
bool absl::Condition::CastAndCallMethod | ( | const Condition * | c | ) | [static, private] |
bool absl::Condition::Eval | ( | ) | const |
Definition at line 311 of file mutex_nonprod.cc.
bool absl::Condition::GuaranteedEqual | ( | const Condition * | a, |
const Condition * | b | ||
) | [static] |
void* absl::Condition::arg_ [private] |
bool(* absl::Condition::eval_)(const Condition *) [private] |
const Condition absl::Condition::kTrue [static] |
InternalMethodType absl::Condition::method_ [private] |