#include <binaryFormat.h>
Inheritance diagram for DataBinaryFormat::
Public Methods | |
DataBinaryFormat () | |
Default constructor. | |
virtual | ~DataBinaryFormat () |
Destructor. | |
virtual Buffer & | dataToBin (Buffer &b)=0 |
Convert data to binary. More... |
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.
Definition at line 51 of file binaryFormat.h.
|
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.
Reimplemented in AllocStatData, CpuStatData, and MonStatData. |