Search Results for

    Show / Hide Table of Contents

    Class FileSystemWatcherBase

    Base class for file system watcher objects.

    Inheritance
    NonCopyable
    FileSystemWatcherBase
    Inherited Members
    NonCopyable::NonCopyable()
    NonCopyable::NonCopyable(const NonCopyable& )
    NonCopyable::operator=(const NonCopyable& )
    Assembly: FlaxEngine.dll
    File: Engine/Platform/Base/FileSystemWatcherBase.h
    Syntax
    public class FileSystemWatcherBase : public NonCopyable

    Constructors

    FileSystemWatcherBase(const String& directory, bool withSubDirs)

    Declaration
    public FileSystemWatcherBase(const String& directory, bool withSubDirs)
    Parameters
    String directory

    bool withSubDirs

    Fields

    Directory

    The watcher directory path.

    Declaration
    public String Directory
    Field Value
    String

    Enabled

    The current watcher enable state.

    Declaration
    public bool Enabled
    Field Value
    bool

    OnEvent

    Action fired when directory or file gets changed. Can be invoked from main or other thread depending on the platform.

    Declaration
    public Delegate<String, FileSystemAction> OnEvent
    Field Value
    Delegate<String, FileSystemAction>

    WithSubDirs

    The value whenever watcher is tracking changes in subdirectories.

    Declaration
    public bool WithSubDirs
    Field Value
    bool

    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2012-2024 Wojciech Figat