ALib C++ Library
Library Version: 2412 R0
Documentation generated by doxygen
Loading...
Searching...
No Matches
FTreeListener Struct Referenceabstract

Description:

Abstract virtual interface type to implement types observing changes in instances of class FTree.

See also
Chapter 3. Monitoring Changes in an FTree of the Programmer's Manual of camp ALib Files.

Definition at line 108 of file ftree.hpp.

#include <ftree.hpp>

Public Type Index:

enum class  Event { CreateNode , DeleteNode }
 The type of change that imposes the notification of a listener. More...
 

Public Method Index:

virtual ~FTreeListener ()
 Virtual destructor.
 
virtual void Notify (File &file, Event event)=0
 

Enumeration Details:

◆ Event

enum class Event
strong

The type of change that imposes the notification of a listener.

Enumerator
CreateNode 

A file or directory entry was created.

DeleteNode 

A file or directory entry was deleted.

Definition at line 111 of file ftree.hpp.

Constructor(s) / Destructor Details:

◆ ~FTreeListener()

virtual ~FTreeListener ( )
inlinevirtual

Virtual destructor.

Definition at line 118 of file ftree.hpp.

Method Details:

◆ Notify()

virtual void Notify ( File & file,
Event event )
pure virtual

The virtual notification method.

Parameters
fileThe file or directory that was modified.
eventThe type of modification.

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