Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

DataBinaryFormat Class Reference

Statistic data binary format. More...

#include <binaryFormat.h>

Inheritance diagram for DataBinaryFormat::

AllocStatData CpuStatData MonStatData AllocAbstractStatThreadObject AllocThreadMethod AllocThreadTrace AllocTrace Method Thread CpuThreadMethod CpuThreadTrace CpuTrace Method Method MonThreadMethod MonThreadTrace MonTrace List of all members.

Public Methods

 DataBinaryFormat ()
 Default constructor.

virtual ~DataBinaryFormat ()
 Destructor.

virtual BufferdataToBin (Buffer &b)=0
 Convert data to binary. More...


Detailed Description

Statistic data binary format.

Each class which has statistic data must be inherited from this class. Nowadays there are three classes with statistic data: AllocStatData, CpuStatData and MonStatData. Other classes are inhereted from at least one of these.

See also:
InfoBinaryFormat, AllocStatData, CpuStatData
Author:
Marek Przeczek

Definition at line 51 of file binaryFormat.h.


Member Function Documentation

virtual Buffer& DataBinaryFormat::dataToBin Buffer   b [pure virtual]
 

Convert data to binary.

This method converts statistic data to binary format in which it is sent thru communication interface to client. This method must be implemented in each class which has statistic data.

Parameters:
b  buffer where to append data
Returns:
reference to same Buffer object as argument 'b'

Reimplemented in AllocStatData, CpuStatData, and MonStatData.


The documentation for this class was generated from the following file:
Generated on Mon Jan 28 14:53:28 2002 for Java Profiler Dynamic Library by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001