Vuo  2.3.2
Public Member Functions | List of all members
VuoFileWatcherDelegate Class Referenceabstract

Description

An abstract class to be implemented by a client that will receive notifications from VuoFileWatcher.

Definition at line 17 of file VuoFileWatcher.hh.

Public Member Functions

virtual void fileChanged (const string &fileBeingWatched)=0
 This delegate method is invoked each time the file watcher detects a change in the folder being watched (or one of its subfolders). More...
 

Member Function Documentation

◆ fileChanged()

virtual void VuoFileWatcherDelegate::fileChanged ( const string &  fileBeingWatched)
pure virtual

This delegate method is invoked each time the file watcher detects a change in the folder being watched (or one of its subfolders).

  • a file/folder is added to or removed from the folder (or its subfolders)
  • the contents of a file (the file itself, or any file in the folder or its subfolders) is modified

Multiple rapid changes are coalesced into a single notification (such as when multiple files are copied into a folder, or when a file is edited by a tempfile-using editor like vim).

Parameters
fileBeingWatchedThe file path that was passed to VuoFileWatcher::VuoFileWatcher.

The documentation for this class was generated from the following file: