XrdPfc::Block Class Reference

#include <XrdPfcFile.hh>

Collaboration diagram for XrdPfc::Block:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Block (File *f, IO *io, char *buf, long long off, int size, bool m_prefetch)
char * get_buff ()
int get_size ()
long long get_offset ()
IOget_io () const
bool is_finished ()
bool is_ok ()
bool is_failed ()
void set_downloaded ()
void set_error (int err)
void reset_error_and_set_io (IO *io)

Public Attributes

Filem_file
IOm_io
char * m_buff
long long m_offset
int m_size
int m_refcnt
int m_errno
bool m_downloaded
bool m_prefetch

Constructor & Destructor Documentation

XrdPfc::Block::Block ( File f,
IO io,
char *  buf,
long long  off,
int  size,
bool  m_prefetch 
) [inline]

Member Function Documentation

char* XrdPfc::Block::get_buff (  )  [inline]

References m_buff.

IO* XrdPfc::Block::get_io (  )  const [inline]

References m_io.

long long XrdPfc::Block::get_offset (  )  [inline]

References m_offset.

int XrdPfc::Block::get_size (  )  [inline]

References m_size.

bool XrdPfc::Block::is_failed (  )  [inline]

References m_errno.

bool XrdPfc::Block::is_finished (  )  [inline]

References m_downloaded, and m_errno.

bool XrdPfc::Block::is_ok (  )  [inline]

References m_downloaded.

void XrdPfc::Block::reset_error_and_set_io ( IO io  )  [inline]

References m_errno, and m_io.

void XrdPfc::Block::set_downloaded (  )  [inline]

References m_downloaded.

void XrdPfc::Block::set_error ( int  err  )  [inline]

References m_errno.


Member Data Documentation

Referenced by get_buff().

Referenced by is_finished(), is_ok(), and set_downloaded().

Referenced by get_io(), and reset_error_and_set_io().

Referenced by get_offset().

Referenced by get_size().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 7 Jul 2020 for xrootd by  doxygen 1.6.1