#include <BodyPipe.h>

Collaboration diagram for BodyPipeCheckout:

Public Member Functions

 BodyPipeCheckout (BodyPipe &)
 
 ~BodyPipeCheckout ()
 
void checkIn ()
 

Public Attributes

BodyPipethePipe
 
MemBufbuf
 
const uint64_t offset
 

Protected Attributes

const size_t checkedOutSize
 
bool checkedIn
 

Private Member Functions

 BodyPipeCheckout (const BodyPipeCheckout &)
 
BodyPipeCheckoutoperator= (const BodyPipeCheckout &)
 

Friends

class BodyPipe
 

Detailed Description

Makes raw buffer checkin/checkout interface efficient and exception-safe. Either append or consume operations can be performed on a checkedout buffer.

Definition at line 61 of file BodyPipe.h.

Constructor & Destructor Documentation

BodyPipeCheckout::BodyPipeCheckout ( BodyPipe aPipe)

Definition at line 477 of file BodyPipe.cc.

BodyPipeCheckout::~BodyPipeCheckout ( )

Definition at line 483 of file BodyPipe.cc.

References checkedIn, BodyPipe::checkIn(), debugs, HERE(), and thePipe.

BodyPipeCheckout::BodyPipeCheckout ( const BodyPipeCheckout c)
private

Definition at line 502 of file BodyPipe.cc.

References assert.

Member Function Documentation

void BodyPipeCheckout::checkIn ( )
BodyPipeCheckout & BodyPipeCheckout::operator= ( const BodyPipeCheckout )
private

Definition at line 510 of file BodyPipe.cc.

References assert.

Friends And Related Function Documentation

friend class BodyPipe
friend

Definition at line 64 of file BodyPipe.h.

Member Data Documentation

MemBuf& BodyPipeCheckout::buf
bool BodyPipeCheckout::checkedIn
protected

Definition at line 79 of file BodyPipe.h.

Referenced by checkIn(), and ~BodyPipeCheckout().

const size_t BodyPipeCheckout::checkedOutSize
protected

Definition at line 78 of file BodyPipe.h.

Referenced by BodyPipe::checkIn(), and BodyPipe::undoCheckOut().

const uint64_t BodyPipeCheckout::offset

Definition at line 75 of file BodyPipe.h.

BodyPipe& BodyPipeCheckout::thePipe

Definition at line 73 of file BodyPipe.h.

Referenced by checkIn(), and ~BodyPipeCheckout().


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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors