xrootd
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | List of all members
XrdSfsXioImpl Class Reference

#include <XrdSfsXioImpl.hh>

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.
 

Public Attributes

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

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.

Member Typedef Documentation

◆ Buffer_t

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

◆ Reclaim_t

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

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.

References Buffer, and Reclaim.

◆ ~XrdSfsXioImpl()

XrdSfsXioImpl::~XrdSfsXioImpl ( )
inline

Destructor.

Member Data Documentation

◆ Buffer

Buffer_t XrdSfsXioImpl::Buffer

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

Referenced by XrdSfsXioImpl().

◆ Reclaim

Reclaim_t XrdSfsXioImpl::Reclaim

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

Referenced by XrdSfsXioImpl().


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