Class: TChunkyTieredTextBuffer

Declaration: TieredTextBuffer.h

Taxonomy Categories:

Member Functions:


Interface Category:

Developer Tool Programmer Interface.

Inherits From:

TTieredTextBuffer

Inherited By:

None.

Purpose:

A derived class of TTieredTextBuffer that performs multithread-safe text output. It does so by accumulating output text until it is destroyed, at which point it dumps its output in a single chunk to its parent.

Instantiation:

Allocate on the heap or the stack.

Deriving Classes:

Use TChunkyTieredTextBuffer directly. Do not derive TChunkyTieredTextBuffer.

Concurrency:

Multithread safe.

Resource Use:

No special requirements.

Member Function: TChunkyTieredTextBuffer::TChunkyTieredTextBuffer

TChunkyTieredTextBuffer (TTieredTextBuffer & buf)

Interface Category:

Developer Tool Programmer Interface.

Purpose:

Constructor takes the parent buffer.

Calling Context:

Call this function directly.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Multithread safe.

Other Considerations:

None.

Member Function: TChunkyTieredTextBuffer::~TChunkyTieredTextBuffer

virtual ~ TChunkyTieredTextBuffer ()

Interface Category:

Developer Tool Programmer Interface.

Purpose:

Destructor.

Calling Context:

Called to destroy an object.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Multithread safe.

Other Considerations:

None.

Member Function: TChunkyTieredTextBuffer::BlockingFlush

void BlockingFlush ()

Interface Category:

Developer Tool Programmer Interface.

Purpose:

Flushes all output that has been sent to this object since it was constructed, or since the last call to BlockingFlush, whichever came later. The output is flushed to this object's parent buffer.

Calling Context:

Called by the destructor and directly.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Multithread safe.

Other Considerations:

None.
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.