HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
UT_FileMonitor Class Reference

#include <UT_FileMonitor.h>

Public Member Functions

 UT_FileMonitor ()
 
virtual ~UT_FileMonitor ()
 
bool addFile (const char *filename, UTmonitorFunc func, void *data)
 
bool removeFile (void *data, const char *filename=0)
 
const UT_StringArraygetFileList () const
 
void startMyThread ()
 
void stopMyThread ()
 
void getDirectory (const char *str, UT_String &dir)
 
void executeCallbacks (const char *file)
 

Protected Attributes

UT_Array< UTmonitorFuncmyCallbacks
 

Detailed Description

Definition at line 31 of file UT_FileMonitor.h.

Constructor & Destructor Documentation

UT_FileMonitor::UT_FileMonitor ( )
virtual UT_FileMonitor::~UT_FileMonitor ( )
virtual

Member Function Documentation

bool UT_FileMonitor::addFile ( const char *  filename,
UTmonitorFunc  func,
void data 
)
void UT_FileMonitor::executeCallbacks ( const char *  file)
void UT_FileMonitor::getDirectory ( const char *  str,
UT_String dir 
)
const UT_StringArray& UT_FileMonitor::getFileList ( ) const
inline

Definition at line 43 of file UT_FileMonitor.h.

bool UT_FileMonitor::removeFile ( void data,
const char *  filename = 0 
)
void UT_FileMonitor::startMyThread ( )
void UT_FileMonitor::stopMyThread ( )

Member Data Documentation

UT_Array< UTmonitorFunc > UT_FileMonitor::myCallbacks
protected

Definition at line 54 of file UT_FileMonitor.h.


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