MPD
0.20.6
|
#include <StateFile.hxx>
Public Member Functions | |
StateFile (AllocatedPath &&path, std::chrono::steady_clock::duration interval, Partition &partition, EventLoop &loop) | |
void | Read () |
void | Write () |
void | CheckModified () |
Schedules a write if MPD's state was modified. More... | |
Static Public Attributes | |
static constexpr std::chrono::steady_clock::duration | DEFAULT_INTERVAL = std::chrono::minutes(2) |
Definition at line 34 of file StateFile.hxx.
StateFile::StateFile | ( | AllocatedPath && | path, |
std::chrono::steady_clock::duration | interval, | ||
Partition & | partition, | ||
EventLoop & | loop | ||
) |
void StateFile::CheckModified | ( | ) |
Schedules a write if MPD's state was modified.
void StateFile::Read | ( | ) |
void StateFile::Write | ( | ) |
|
static |
Definition at line 50 of file StateFile.hxx.