DirectoryWatcher Class

Definition

Line 4 of DirectoryWatcher/DirectoryWatcher.cm

Constructors & Destructor

public DirectoryWatcher(const String<char>& directoryPath_)

Member Functions

private void DirectoryChanged(const String<char>& directoryPath)
private void Execute()
public void Start()
public void Stop()

Member Variables

private String<char> directoryPath
private bool exiting
private DirectoryChangeNotifier notifier
private Thread thread

Constructor& Destructor Details

DirectoryWatcher Constructor

public DirectoryWatcher(const String<char>& directoryPath_)

Definition
Line 6 of DirectoryWatcher/DirectoryWatcher.cm


Member Function Details

DirectoryChanged Member Function

private void DirectoryChanged(const String<char>& directoryPath)

Definition
Line 34 of DirectoryWatcher/DirectoryWatcher.cm


Execute Member Function

private void Execute()

Definition
Line 19 of DirectoryWatcher/DirectoryWatcher.cm


Start Member Function

public void Start()

Definition
Line 9 of DirectoryWatcher/DirectoryWatcher.cm


Stop Member Function

public void Stop()

Definition
Line 13 of DirectoryWatcher/DirectoryWatcher.cm