XRootD
XrdSfsXioImpl Class Reference

#include <XrdSfsXioImpl.hh>

+ Collaboration diagram for XrdSfsXioImpl:

Public Types

typedef char *(* Buffer_t) (XrdSfsXioHandle, int *)
 
typedef void(* Reclaim_t) (XrdSfsXioHandle)
 

Public Member Functions

 XrdSfsXioImpl (Buffer_t buff_func, Reclaim_t recl_func)
 
 ~XrdSfsXioImpl ()
 Destructor. More...
 

Public Attributes

Buffer_t Buffer
 
Reclaim_t Reclaim
 Implementation of XrdSfsXio::Reclaim(...). More...
 

Detailed Description

This class is used to allow a class that inherits XrdSfsXio to specify the implementation to be used for the static methods. It is passed to the XrdSfsXio constructor. The static methost in XrdSfsXio use the method pointers in the passed object to effect the desired action. This class is meant to be a private interface for inherited objects. Note that the reason some methods in XrdSfsXio need to be static because we wish to allow the user of XrdSfsXio to call them irrespective of any instance.

Definition at line 44 of file XrdSfsXioImpl.hh.

Member Typedef Documentation

◆ Buffer_t

typedef char*(* XrdSfsXioImpl::Buffer_t) (XrdSfsXioHandle, int *)

Definition at line 48 of file XrdSfsXioImpl.hh.

◆ Reclaim_t

typedef void(* XrdSfsXioImpl::Reclaim_t) (XrdSfsXioHandle)

Definition at line 49 of file XrdSfsXioImpl.hh.

Constructor & Destructor Documentation

◆ XrdSfsXioImpl()

XrdSfsXioImpl::XrdSfsXioImpl ( Buffer_t  buff_func,
Reclaim_t  recl_func 
)
inline

Constructor

Parameters
buff_funcPointer to the Buffer() implementation.
recl_funcPointer to the Reclaim() implementation.

Definition at line 72 of file XrdSfsXioImpl.hh.

73  {Buffer = buff_func;
74  Reclaim = recl_func;
75  }
Buffer_t Buffer
Reclaim_t Reclaim
Implementation of XrdSfsXio::Reclaim(...).

References Buffer, and Reclaim.

◆ ~XrdSfsXioImpl()

XrdSfsXioImpl::~XrdSfsXioImpl ( )
inline

Destructor.

Definition at line 81 of file XrdSfsXioImpl.hh.

81 {}

Member Data Documentation

◆ Buffer

Buffer_t XrdSfsXioImpl::Buffer

Implementation of XrdSfsXio::Buffer(...). Get the address and size of the buffer associated with a handle.

Definition at line 56 of file XrdSfsXioImpl.hh.

Referenced by XrdSfsXioImpl().

◆ Reclaim

Reclaim_t XrdSfsXioImpl::Reclaim

Implementation of XrdSfsXio::Reclaim(...).

Definition at line 62 of file XrdSfsXioImpl.hh.

Referenced by XrdSfsXioImpl().


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