clang-tools 20.0.0git
|
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 31 of file Function.h.
using clang::clangd::Event< T >::Listener = std::function<void(const T &)> |
Definition at line 34 of file Function.h.
|
inline |
Definition at line 90 of file Function.h.
|
inline |
Definition at line 83 of file Function.h.
Referenced by clang::clangd::DelegatingCDB::DelegatingCDB(), and clang::clangd::OverlayCDB::setCompileCommand().
|
inline |
Definition at line 75 of file Function.h.
Referenced by clang::clangd::GlobalCompilationDatabase::watch().