Public Member Functions | Private Attributes
absl::Notification Class Reference

#include <notification.h>

List of all members.

Public Member Functions

bool HasBeenNotified () const
 Notification ()
 Notification (bool prenotify)
 Notification (const Notification &)
void Notify ()
Notificationoperator= (const Notification &)
void WaitForNotification () const
bool WaitForNotificationWithDeadline (absl::Time deadline) const
bool WaitForNotificationWithTimeout (absl::Duration timeout) const
 ~Notification ()

Private Attributes

Mutex mutex_
std::atomic< bool > notified_yet_

Detailed Description

Definition at line 64 of file notification.h.


Constructor & Destructor Documentation

Definition at line 67 of file notification.h.

absl::Notification::Notification ( bool  prenotify) [inline, explicit]

Definition at line 68 of file notification.h.

Definition at line 41 of file notification.cc.


Member Function Documentation

Definition at line 52 of file notification.cc.

Definition at line 26 of file notification.cc.

Notification& absl::Notification::operator= ( const Notification )

Definition at line 56 of file notification.cc.

Definition at line 75 of file notification.cc.

Definition at line 64 of file notification.cc.


Member Data Documentation

Mutex absl::Notification::mutex_ [mutable, private]

Definition at line 108 of file notification.h.

std::atomic<bool> absl::Notification::notified_yet_ [private]

Definition at line 109 of file notification.h.


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


abseil_cpp
Author(s):
autogenerated on Wed Jun 19 2019 19:42:16