Nuke binary plugins 15.1.5
 
Loading...
Searching...
No Matches
DD::Image::FileRead Class Referenceabstract

#include <FileRead.h>

Inheritance diagram for DD::Image::FileRead:
DD::Image::Read DD::Image::ReadGeo DD::Image::TimelineRead

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
 

Detailed Description

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.

Member Function Documentation

◆ getFilename()

virtual const char * DD::Image::FileRead::getFilename ( ) const
pure virtual

! should be overriden to return the filename currently in use. can return NULL if not present

Referenced by closeFile().

◆ closeFile()

void DD::Image::FileRead::closeFile ( const std::string &  filename)
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.
www.foundry.com