HPCToolkit
TraceviewerServer::DataCompressionLayer Class Reference

#include <DataCompressionLayer.hpp>

Collaboration diagram for TraceviewerServer::DataCompressionLayer:

Public Member Functions

 DataCompressionLayer ()
 
 DataCompressionLayer (z_stream customCompressor, ProgressBar *progMonitor)
 
virtual ~DataCompressionLayer ()
 
void writeInt (int)
 
void writeLong (uint64_t)
 
void writeDouble (double)
 
void writeFile (FILE *)
 
void flush ()
 
unsigned char * getOutputBuffer ()
 
int getOutputLength ()
 

Private Member Functions

void makeRoom (int count)
 
void softFlush (int flushType)
 
void pInc (unsigned int count)
 
void growOutputBuffer ()
 

Private Attributes

unsigned int bufferIndex
 
z_stream compressor
 
char * inBuf
 
unsigned char * outBuf
 
unsigned int posInCompBuffer
 
unsigned int outBufferCurrentSize
 
ProgressBarprogMonitor
 

Detailed Description

Definition at line 78 of file DataCompressionLayer.hpp.

Constructor & Destructor Documentation

◆ DataCompressionLayer() [1/2]

TraceviewerServer::DataCompressionLayer::DataCompressionLayer ( )

Definition at line 73 of file DataCompressionLayer.cpp.

◆ DataCompressionLayer() [2/2]

TraceviewerServer::DataCompressionLayer::DataCompressionLayer ( z_stream  customCompressor,
ProgressBar progMonitor 
)

Definition at line 96 of file DataCompressionLayer.cpp.

◆ ~DataCompressionLayer()

TraceviewerServer::DataCompressionLayer::~DataCompressionLayer ( )
virtual

Definition at line 206 of file DataCompressionLayer.cpp.

Member Function Documentation

◆ flush()

void TraceviewerServer::DataCompressionLayer::flush ( )

Definition at line 142 of file DataCompressionLayer.cpp.

Here is the caller graph for this function:

◆ getOutputBuffer()

unsigned char * TraceviewerServer::DataCompressionLayer::getOutputBuffer ( )

Definition at line 198 of file DataCompressionLayer.cpp.

Here is the caller graph for this function:

◆ getOutputLength()

int TraceviewerServer::DataCompressionLayer::getOutputLength ( )

Definition at line 202 of file DataCompressionLayer.cpp.

Here is the caller graph for this function:

◆ growOutputBuffer()

void TraceviewerServer::DataCompressionLayer::growOutputBuffer ( )
private

Definition at line 181 of file DataCompressionLayer.cpp.

Here is the call graph for this function:

◆ makeRoom()

void TraceviewerServer::DataCompressionLayer::makeRoom ( int  count)
private

Definition at line 146 of file DataCompressionLayer.cpp.

◆ pInc()

void TraceviewerServer::DataCompressionLayer::pInc ( unsigned int  count)
private

Definition at line 192 of file DataCompressionLayer.cpp.

◆ softFlush()

void TraceviewerServer::DataCompressionLayer::softFlush ( int  flushType)
private

Definition at line 151 of file DataCompressionLayer.cpp.

◆ writeDouble()

void TraceviewerServer::DataCompressionLayer::writeDouble ( double  toWrite)

Definition at line 123 of file DataCompressionLayer.cpp.

◆ writeFile()

void TraceviewerServer::DataCompressionLayer::writeFile ( FILE *  toWrite)

Definition at line 130 of file DataCompressionLayer.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ writeInt()

void TraceviewerServer::DataCompressionLayer::writeInt ( int  toWrite)

Definition at line 109 of file DataCompressionLayer.cpp.

Here is the caller graph for this function:

◆ writeLong()

void TraceviewerServer::DataCompressionLayer::writeLong ( uint64_t  toWrite)

Definition at line 116 of file DataCompressionLayer.cpp.

Here is the caller graph for this function:

Member Data Documentation

◆ bufferIndex

unsigned int TraceviewerServer::DataCompressionLayer::bufferIndex
private

Definition at line 105 of file DataCompressionLayer.hpp.

◆ compressor

z_stream TraceviewerServer::DataCompressionLayer::compressor
private

Definition at line 106 of file DataCompressionLayer.hpp.

◆ inBuf

char* TraceviewerServer::DataCompressionLayer::inBuf
private

Definition at line 107 of file DataCompressionLayer.hpp.

◆ outBuf

unsigned char* TraceviewerServer::DataCompressionLayer::outBuf
private

Definition at line 108 of file DataCompressionLayer.hpp.

◆ outBufferCurrentSize

unsigned int TraceviewerServer::DataCompressionLayer::outBufferCurrentSize
private

Definition at line 111 of file DataCompressionLayer.hpp.

◆ posInCompBuffer

unsigned int TraceviewerServer::DataCompressionLayer::posInCompBuffer
private

Definition at line 109 of file DataCompressionLayer.hpp.

◆ progMonitor

ProgressBar* TraceviewerServer::DataCompressionLayer::progMonitor
private

Definition at line 113 of file DataCompressionLayer.hpp.


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