1 #ifndef AESALON_GUI_SESSION_VISUALIZATION_ACTIVE_BLOCKS_REQUEST_H
2 #define AESALON_GUI_SESSION_VISUALIZATION_ACTIVE_BLOCKS_REQUEST_H
4 #include "../DataRequest.h"
5 #include "storage/Timestamp.h"
6 #include "storage/BiTreeNode.h"
8 class ActiveBlocksRequest
: public DataRequest
{
13 ActiveBlocksRequest(VisualizationThread
* v_thread
, const Timestamp
×tamp
);
14 virtual ~ActiveBlocksRequest();
16 virtual VisualizationData
* create_data();
17 virtual void gather_data(DataThread
* data_thread
);
19 int count_blocks(BiTreeNode
*node
);