proxygen
|
Public Member Functions | |
NoDiskPoller (TestFile &testFile) | |
Public Member Functions inherited from wangle::FilePoller | |
FilePoller (std::chrono::milliseconds pollInterval=kDefaultPollInterval) | |
virtual | ~FilePoller () |
FilePoller (const FilePoller &other)=delete | |
FilePoller & | operator= (const FilePoller &other)=delete |
FilePoller (FilePoller &&other)=delete | |
FilePoller && | operator= (FilePoller &&other)=delete |
void | addFileToTrack (const std::string &fileName, Cob yCob, Cob nCob=nullptr, Condition condition=fileTouchedCondInternal) |
void | removeFileToTrack (const std::string &fileName) |
void | stop () |
Protected Member Functions | |
FilePoller::FileModificationData | getFileModData (const std::string &path) noexceptoverride |
Private Attributes | |
TestFile & | testFile_ |
Additional Inherited Members | |
Public Types inherited from wangle::FilePoller | |
using | Cob = std::function< void()> |
using | Condition = std::function< bool(const FileModificationData &, const FileModificationData &)> |
Static Public Member Functions inherited from wangle::FilePoller | |
static Condition | fileTouchedWithinCond (std::chrono::seconds expireTime) |
static Condition | doAlwaysCond () |
static Condition | fileTouchedCond () |
Definition at line 157 of file FilePollerTest.cpp.
|
inlineexplicit |
Definition at line 159 of file FilePollerTest.cpp.
|
inlineoverrideprotectedvirtualnoexcept |
Reimplemented from wangle::FilePoller.
Definition at line 164 of file FilePollerTest.cpp.
References EXPECT_EQ.
|
private |
Definition at line 170 of file FilePollerTest.cpp.