RenderFarmFSClient Class Reference

#include <renderfarmfsclient.h>

Collaboration diagram for RenderFarmFSClient:

Collaboration graph
[legend]

Public Member Functions

 RenderFarmFSClient (RenderFarmClientThread *client)
 ~RenderFarmFSClient ()
void initialize ()
FILE * fopen (const char *path, const char *mode)
int fclose (FILE *file)
int remove (__const char *__filename)
int rename (__const char *__old, __const char *__new)
int fgetc (FILE *__stream)
int fputc (int __c, FILE *__stream)
size_t fread (void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __stream)
size_t fwrite (__const void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __s)
int fseek (FILE *__stream, int64_t __off, int __whence)
int64_t ftell (FILE *__stream)
int stat64 (__const char *__restrict __file, struct stat64 *__restrict __buf)
int stat (__const char *__restrict __file, struct stat *__restrict __buf)
char * fgets (char *__restrict __s, int __n, FILE *__restrict __stream)
int fileno (FILE *file)
int fscanf (FILE *__restrict stream, const char *__restrict format, va_list ap)
void lock ()
void unlock ()
int is_open (FILE *ptr)
void set_open (FILE *ptr, int64_t pointer)
void unset_open (FILE *ptr, int64_t pointer)
int64_t get_64 (FILE *ptr)

Data Fields

Mutexmutex_lock
ArrayList< FILE * > files
ArrayList< int64_t > pointers
RenderFarmClientThreadclient

Detailed Description

Definition at line 43 of file renderfarmfsclient.h.


Constructor & Destructor Documentation

RenderFarmFSClient::RenderFarmFSClient ( RenderFarmClientThread client  ) 

Definition at line 539 of file renderfarmfsclient.C.

References mutex_lock.

RenderFarmFSClient::~RenderFarmFSClient (  ) 

Definition at line 545 of file renderfarmfsclient.C.

References mutex_lock, and renderfarm_fs_global.


Member Function Documentation

void RenderFarmFSClient::initialize (  ) 

Definition at line 552 of file renderfarmfsclient.C.

References renderfarm_fs_global.

FILE * RenderFarmFSClient::fopen ( const char *  path,
const char *  mode 
)

int RenderFarmFSClient::fclose ( FILE *  file  ) 

int RenderFarmFSClient::remove ( __const char *  __filename  ) 

int RenderFarmFSClient::rename ( __const char *  __old,
__const char *  __new 
)

int RenderFarmFSClient::fgetc ( FILE *  __stream  ) 

int RenderFarmFSClient::fputc ( int  __c,
FILE *  __stream 
)

size_t RenderFarmFSClient::fread ( void *__restrict  __ptr,
size_t  __size,
size_t  __n,
FILE *__restrict  __stream 
)

size_t RenderFarmFSClient::fwrite ( __const void *__restrict  __ptr,
size_t  __size,
size_t  __n,
FILE *__restrict  __s 
)

int RenderFarmFSClient::fseek ( FILE *  __stream,
int64_t  __off,
int  __whence 
)

int64_t RenderFarmFSClient::ftell ( FILE *  __stream  ) 

int RenderFarmFSClient::stat64 ( __const char *__restrict  __file,
struct stat64 *__restrict  __buf 
)

int RenderFarmFSClient::stat ( __const char *__restrict  __file,
struct stat *__restrict  __buf 
)

char * RenderFarmFSClient::fgets ( char *__restrict  __s,
int  __n,
FILE *__restrict  __stream 
)

int RenderFarmFSClient::fileno ( FILE *  file  ) 

int RenderFarmFSClient::fscanf ( FILE *__restrict  stream,
const char *__restrict  format,
va_list  ap 
)

Definition at line 812 of file renderfarmfsclient.C.

References BCTEXTLEN, and fgets().

Referenced by fscanf().

Here is the call graph for this function:

void RenderFarmFSClient::lock (  ) 

Definition at line 557 of file renderfarmfsclient.C.

References Mutex::lock(), and mutex_lock.

Referenced by __xstat(), __xstat64(), fclose(), fgetc(), fgets(), fileno(), fopen(), fopen64(), fputc(), fread(), fscanf(), fseek(), fseeko64(), ftell(), ftello64(), fwrite(), remove(), and rename().

Here is the call graph for this function:

void RenderFarmFSClient::unlock (  ) 

Definition at line 562 of file renderfarmfsclient.C.

References mutex_lock, and Mutex::unlock().

Referenced by __xstat(), __xstat64(), fclose(), fgetc(), fgets(), fileno(), fopen(), fopen64(), fputc(), fread(), fscanf(), fseek(), fseeko64(), ftell(), ftello64(), fwrite(), remove(), and rename().

Here is the call graph for this function:

int RenderFarmFSClient::is_open ( FILE *  ptr  ) 

void RenderFarmFSClient::set_open ( FILE *  ptr,
int64_t  pointer 
)

Definition at line 574 of file renderfarmfsclient.C.

References ArrayList< TYPE >::append(), files, and pointers.

Referenced by fopen().

Here is the call graph for this function:

void RenderFarmFSClient::unset_open ( FILE *  ptr,
int64_t  pointer 
)

Definition at line 581 of file renderfarmfsclient.C.

References files, pointers, and ArrayList< TYPE >::remove().

Referenced by fclose().

Here is the call graph for this function:

int64_t RenderFarmFSClient::get_64 ( FILE *  ptr  ) 

Definition at line 588 of file renderfarmfsclient.C.

References files, pointers, Units::ptr_to_int64(), ArrayList< TYPE >::total, and ArrayList< TYPE >::values.

Referenced by fclose(), fgetc(), fgets(), fileno(), fputc(), fread(), fseek(), ftell(), and fwrite().

Here is the call graph for this function:


Field Documentation

Definition at line 85 of file renderfarmfsclient.h.

Referenced by lock(), RenderFarmFSClient(), unlock(), and ~RenderFarmFSClient().

Definition at line 86 of file renderfarmfsclient.h.

Referenced by get_64(), is_open(), set_open(), and unset_open().

Definition at line 89 of file renderfarmfsclient.h.

Referenced by get_64(), set_open(), and unset_open().


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

Generated on Mon Apr 28 14:40:27 2008 for Cinelerra by  doxygen 1.5.5