xrootd
Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
XrdXrootdFileTable Class Reference

#include <XrdXrootdFile.hh>

Collaboration diagram for XrdXrootdFileTable:
Collaboration graph
[legend]

Public Member Functions

int Add (XrdXrootdFile *fp)
 
void Del (int fnum)
 
XrdXrootdFileGet (int fnum)
 
void Recycle (XrdXrootdMonitor *monP=0, bool monF=false)
 
 XrdXrootdFileTable (unsigned int mid=0)
 

Private Member Functions

 ~XrdXrootdFileTable ()
 

Private Attributes

XrdXrootdFileFTab [XRD_FTABSIZE]
 
int FTfree
 
unsigned int monID
 
XrdXrootdFile ** XTab
 
int XTnum
 
int XTfree
 

Static Private Attributes

static const char * TraceID = "FileTable"
 

Constructor & Destructor Documentation

XrdXrootdFileTable::XrdXrootdFileTable ( unsigned int  mid = 0)
inline

References FTab.

XrdXrootdFileTable::~XrdXrootdFileTable ( )
inlineprivate

Member Function Documentation

int XrdXrootdFileTable::Add ( XrdXrootdFile fp)

References FTab, FTfree, XRD_FTABSIZE, XTab, XTfree, and XTnum.

Referenced by XrdXrootdProtocol::do_Open().

void XrdXrootdFileTable::Del ( int  fnum)

References FTab, FTfree, XRD_FTABSIZE, XTab, XTfree, and XTnum.

Referenced by XrdXrootdProtocol::do_Close().

XrdXrootdFile* XrdXrootdFileTable::Get ( int  fnum)
inline
void XrdXrootdFileTable::Recycle ( XrdXrootdMonitor monP = 0,
bool  monF = false 
)

Member Data Documentation

XrdXrootdFile* XrdXrootdFileTable::FTab[XRD_FTABSIZE]
private
int XrdXrootdFileTable::FTfree
private

Referenced by Add(), Del(), and Recycle().

unsigned int XrdXrootdFileTable::monID
private
const char * XrdXrootdFileTable::TraceID = "FileTable"
staticprivate
XrdXrootdFile** XrdXrootdFileTable::XTab
private

Referenced by Add(), Del(), Get(), and Recycle().

int XrdXrootdFileTable::XTfree
private

Referenced by Add(), Del(), and Recycle().

int XrdXrootdFileTable::XTnum
private

Referenced by Add(), Del(), Get(), and Recycle().


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