EHS
FileMonitor_UNX.h
Go to the documentation of this file.
1#pragma once
2
3#include "ehs/EHS.h"
4#include "BaseFileMonitor.h"
5
6namespace ehs
7{
8 class EHS_LIB_IO FileMonitor : public BaseFileMonitor
9 {
10 private:
11 int hdl;
12 int wd;
13
14 public:
16
18
19 FileMonitor(Str_8 filePath);
20
21 FileMonitor(FileMonitor&& fm) noexcept;
22
23 FileMonitor(const FileMonitor& fm);
24
25 FileMonitor& operator=(FileMonitor&& fm) noexcept;
26
27 FileMonitor& operator=(const FileMonitor& fm);
28
29 void Initialize() override;
30
31 void Release() override;
32
33 UInt_8 Poll() override;
34
35 bool IsInitialized() const override;
36 };
37}
Definition: BaseFileMonitor.h:15
Definition: FileMonitor_UNX.h:9
Definition: Anchor.h:6
unsigned char UInt_8
Definition: Types.h:43
EHS_LIB_IO void Initialize(Str_8 appName, Str_8 appVerId, const Version &appVer)
Definition: EHS.cpp:34