|
The Pedigree Project 0.1
|
#include <FileEvent.h>
Inheritance diagram for FileEventSource:
Collaboration diagram for FileEventSource:Public Member Functions | |
| MUST_USE_RESULT bool | subscribeFileEvents (FileEventMask interest, const SharedPointer< FileEventObserver > &observer, FileEventSubscription &subscription) |
Protected Member Functions | |
| bool | hasFileEventObservers (FileEventMask mask) const |
| void | notifyFileEvent (const FileEvent &event) |
| void | notifyFinalFileEvent (const FileEvent &event) |
| void | beginFinalFileEvent (const FileEvent &event) |
| void | drainFileEvents () |
| void | closeFileEvents () |
Static Protected Member Functions | |
| static bool | anyFileEventObservers () |
Private Member Functions | |
| FileEventSource (const FileEventSource &)=delete | |
| FileEventSource & | operator= (const FileEventSource &)=delete |
Private Attributes | |
| SharedPointer< FileEventState > | m_FileEventState |
A lifetime-safe, payload-carrying VFS mutation event source.
Definition at line 92 of file FileEvent.h.
| FileEventSource::FileEventSource | ( | ) |
Definition at line 262 of file FileEvent.cc.
|
virtual |
Definition at line 264 of file FileEvent.cc.
|
staticprotected |
Conservative hints; delivery still checks admission under the source lock.
Definition at line 296 of file FileEvent.cc.
Referenced by File::publishEvent().
Here is the caller graph for this function:
|
protected |
Closes admission and emits a terminal event without draining older callbacks.
Definition at line 320 of file FileEvent.cc.
|
protected |
Definition at line 312 of file FileEvent.cc.
|
protected |
Definition at line 325 of file FileEvent.cc.
|
protected |
Definition at line 300 of file FileEvent.cc.
|
protected |
Delivers synchronously; callers may still hold the mutation's VFS lock.
Definition at line 289 of file FileEvent.cc.
Referenced by File::publishEvent().
Here is the caller graph for this function:
|
protected |
Atomically closes subscription admission and delivers a final event.
Definition at line 304 of file FileEvent.cc.
Referenced by File::publishEvent().
Here is the caller graph for this function:| bool FileEventSource::subscribeFileEvents | ( | FileEventMask | interest, |
| const SharedPointer< FileEventObserver > & | observer, | ||
| FileEventSubscription & | subscription | ||
| ) |
Definition at line 268 of file FileEvent.cc.
|
private |
Definition at line 118 of file FileEvent.h.