The C++ framework for developing highly scalable, high performance servers on Windows platforms.

IPoolBuffers Class Reference
[InterfacesI/O BuffersAsynchronous I/OProtected destructors on abstract base classes]

Inheritance diagram for IPoolBuffers:
Collaboration diagram for IPoolBuffers:

List of all members.

Public Member Functions

CSmartBuffer Allocate () override=0
 Allocate an instance of IBuffer, remember to call Release() on it when you're done with it.
CSmartBuffer AllocateCustomSizedBuffer (IBuffer::BufferSize bufferSize) override=0
virtual CSmartBuffer Allocate (IAllocateBuffer &allocator)=0
virtual CSmartBuffer AllocateCustomSizedBuffer (IAllocateBuffer &allocator, IBuffer::BufferSize bufferSize)=0
virtual void AddBufferToPool (IBuffer &buffer)=0

Protected Member Functions

 ~IPoolBuffers () override
 We never delete instances of this interface; you must manage the lifetime of the class that implements it.


Constructor & Destructor Documentation

~IPoolBuffers (  )  [override, protected]

We never delete instances of this interface; you must manage the lifetime of the class that implements it.


Member Function Documentation

CSmartBuffer AllocateCustomSizedBuffer ( IBuffer::BufferSize  bufferSize  )  [override, pure virtual]

Implements IAllocateBuffer.

Implemented in CNullBufferPool.

virtual CSmartBuffer AllocateCustomSizedBuffer ( IAllocateBuffer allocator,
IBuffer::BufferSize  bufferSize 
) [pure virtual]

Implemented in CNullBufferPool.

virtual void AddBufferToPool ( IBuffer &  buffer  )  [pure virtual, inherited]

Implemented in CNullBufferPool.


Generated on Sun Sep 12 19:09:33 2021 for The Server Framework - v7.4 by doxygen 1.5.3