vhdXMLPropertyLoaderProgressGui Class Reference

#include <vhdXMLPropertyLoaderProgressGui.h>

Inheritance diagram for vhdXMLPropertyLoaderProgressGui:

vhdIXMLPropertyLoaderHandler List of all members.

Public Slots

virtual void refreshSlot ()

Public Member Functions

 vhdXMLPropertyLoaderProgressGui (QWidget *parent=0, const char *name=0, WFlags fl=0)
 ~vhdXMLPropertyLoaderProgressGui ()
virtual void handleXMLLoaderPropertyTreeBuildStart (vhtSize32 totalNum)
virtual void handleXMLLoaderPrePropertyBuildStat (const std::string &propertyClassName, vhtSize32 totalNum, vhtSize32 serialIndex, vhtSize32 recurrencyDepth)
virtual void handleXMLLoaderPostPropertyBuildStat (vhtTime propertyBuildTime)
virtual void handleXMLLoaderPropertyTreeBuildTermination (vhtTime propertyTreeBuildTime)

Private Member Functions

void _refresh ()

Private Attributes

std::string _propertyClassName
vhtSize32 _totalNum
vhtSize32 _serialIndex

Constructor & Destructor Documentation

vhdXMLPropertyLoaderProgressGui::vhdXMLPropertyLoaderProgressGui ( QWidget *  parent = 0,
const char *  name = 0,
WFlags  fl = 0 
)

vhdXMLPropertyLoaderProgressGui::~vhdXMLPropertyLoaderProgressGui (  ) 


Member Function Documentation

void vhdXMLPropertyLoaderProgressGui::refreshSlot (  )  [virtual, slot]

void vhdXMLPropertyLoaderProgressGui::handleXMLLoaderPropertyTreeBuildStart ( vhtSize32  totalNum  )  [virtual]

vhdXMLPropertyLoader::buildPropertyTree() guts call this method just before the proeprty tree building starts. So this is the first shot that your handler gets. You get a total number of properties that will be loaded.

Parameters:
totalNum you get total number of properties to be loaded.

Implements vhdIXMLPropertyLoaderHandler.

void vhdXMLPropertyLoaderProgressGui::handleXMLLoaderPrePropertyBuildStat ( const std::string &  propertyClassName,
vhtSize32  totalNum,
vhtSize32  serialIndex,
vhtSize32  recurrencyDepth 
) [virtual]

vhdXMLPropertyLoader::buildPropertyTree() guts call this method just before building of a new vhdProeprty instance so you get its class name, totla number of properties to be loaded in the session, serialIndexber (starting from 0) and recurrency depth.

In this method normally you implement updates of the progress bars of your splash screens.

Parameters:
propertyClassName 
totalNum 
serialIndex 
recurrencyDepth 

Implements vhdIXMLPropertyLoaderHandler.

void vhdXMLPropertyLoaderProgressGui::handleXMLLoaderPostPropertyBuildStat ( vhtTime  propertyBuildTime  )  [virtual]

vhdXMLPropertyLoader::buildPropertyTree() guts call this method just after a building of a property has completed so you get the time in seconds with millisecond precision that it took to build the property.

Parameters:
propertyBuildTime 

Implements vhdIXMLPropertyLoaderHandler.

void vhdXMLPropertyLoaderProgressGui::handleXMLLoaderPropertyTreeBuildTermination ( vhtTime  propertyTreeBuildTime  )  [virtual]

vhdXMLPropertyLoader::buildPropertyTree() guts call this method just after the whole property tree is built so you get the total time it took to build the whole tree.

Parameters:
propertyTreeBuildTime total time spent on building of the whole property tree

Implements vhdIXMLPropertyLoaderHandler.

void vhdXMLPropertyLoaderProgressGui::_refresh (  )  [private]


Member Data Documentation

std::string vhdXMLPropertyLoaderProgressGui::_propertyClassName [private]

vhtSize32 vhdXMLPropertyLoaderProgressGui::_totalNum [private]

vhtSize32 vhdXMLPropertyLoaderProgressGui::_serialIndex [private]


Generated on Thu Jan 18 10:06:27 2007 for vhdPLUS by  doxygen 1.5.1-p1