ALib C++ Library
Library Version: 2510 R0
Documentation generated by doxygen
Loading...
Searching...
No Matches
alib::files::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 93 of file ftree.inl.

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

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 96 of file ftree.inl.

Constructor(s) / Destructor Details:

◆ ~FTreeListener()

virtual alib::files::FTreeListener::~FTreeListener ( )
inlinevirtual

Virtual destructor.

Definition at line 103 of file ftree.inl.

Method Details:

◆ Notify()

virtual void alib::files::FTreeListener::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: