#include <FileRead.h>
Public Member Functions | |
virtual const char * | getFilename () const =0 |
Static Public Member Functions | |
static void | closeFile (const std::string &filename) |
Protected Member Functions | |
virtual void | close ()=0 |
! should be overriden to close the file | |
Interface that is implemented by objects that retain an open file handle to some file, so that Execute can make sure that all open handles on a file are closed before it is written to. Read and ReadGeo inherit from this.
|
pure virtual |
! should be overriden to return the filename currently in use. can return NULL if not present
Referenced by closeFile().
|
static |
call close() on all FileRead objects whose filename is /filename/
References close(), getFilename(), DD::Image::Lock::lock(), and DD::Image::Lock::unlock().
©2024 The Foundry Visionmongers, Ltd. All Rights Reserved. |