clang-tools
8.0.0
|
An Event<T> allows events of type T to be broadcast to listeners. More...
#include <Function.h>
Classes | |
class | Subscription |
Public Types | |
using | Listener = std::function< void(const T &)> |
Public Member Functions | |
Subscription | observe (Listener L) |
void | broadcast (const T &V) |
~Event () | |
An Event<T> allows events of type T to be broadcast to listeners.
Definition at line 88 of file Function.h.
using clang::clangd::Event< T >::Listener = std::function<void(const T &)> |
Definition at line 91 of file Function.h.
|
inline |
Definition at line 147 of file Function.h.
|
inline |
Definition at line 140 of file Function.h.
Referenced by clang::clangd::OverlayCDB::OverlayCDB().
|
inline |
Definition at line 132 of file Function.h.