qb  2.0.0.0
C++17 Actor Framework
qb Issue Watch Star Fork Follow @isndev
Loading...
Searching...
No Matches

File system monitoring event for asynchronous I/O. More...

#include "base.h"
Include dependency graph for file.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  qb::io::async::event::file
 Event for file and directory attribute change monitoring. More...

Detailed Description

File system monitoring event for asynchronous I/O.

This file defines the file event structure which is used by the qb::io::async::file_watcher (and directory_watcher) to notify about file or directory attribute changes. It wraps libev's stat watcher functionality (ev::stat). Derived classes can handle this event by implementing the void on(file &&) method.

Author
qb - C++ Actor Framework

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.