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

ChronoStatSvc Class Reference

ClassName: ChronoStatSvc Description: The ChronoStatSvc service implements the IChronoStatSvc interface and provides the basic chronometry and some statistical counts needed by all applications Author: Vanya Belyaev Date: December 1, 1999. More...

#include <ChronoStatSvc.h>

Inheritance diagram for ChronoStatSvc:

IChronoStatSvc Service List of all members.

Public Types

typedef std::map<IChronoStatSvc::ChronoTag,
ChronoEntity
ChronoMap
 some useful typedefs. More...

typedef std::map<IChronoStatSvc::StatTag,
StatEntity
StatMap

Public Methods

 ChronoStatSvc ( const std::string& name, ISvcLocator* svcloc )
 Default constructor. More...

virtual ~ChronoStatSvc ()
 Destructor. More...

virtual StatusCode initialize ()
 Implementation of IService::initialize(). More...

virtual StatusCode finalize ()
 Implementation of IService::finalize(). More...

virtual StatusCode queryInterface (const IID& riid, void** ppvUnknown)
 Implementation of IInterface::queryInterface(). More...

virtual StatusCode chronoStart ( const IChronoStatSvc::ChronoTag& chronoTag )
 Implementation of IChronoStatSvc::chronoStart.

virtual StatusCode chronoStop ( const IChronoStatSvc::ChronoTag& chronoTag )
 Implementation of IChronoStatSvc::chronoStop. More...

virtual StatusCode chronoPrint ( const IChronoStatSvc::ChronoTag& chronoTag )
 Implementation of IChronoStatSvc::chronoPrint. More...

virtual ChronoStatus chronoStatus ( const IChronoStatSvc::ChronoTag& chronoTag )
 Implementation of IChronoStatSvc::chronoStatus. More...

virtual StatusCode stat ( const IChronoStatSvc::StatTag & statTag , const IChronoStatSvc::StatFlag & statFlag , const IChronoStatSvc::StatWeight & statWeight )
 Implementation of IChronoStatSvc::stat add statistical information to the entity , tagged by its name. More...

virtual StatusCode statPrint ( const IChronoStatSvc::ChronoTag& statTag)
 prints (using message service) info about statistical entity, tagged by its name.


Private Attributes

ChronoMap m_chronoEntities
 chrono part. More...

int m_intChronoPrintLevel
 level of info printing. More...

MSG::Level m_chronoPrintLevel
bool m_chronoTableFlag
 flag for printing the final table. More...

bool m_chronoCoutFlag
 flag for destination of the the final table. More...

bool m_chronoOrderFlag
 flag for formattion the final statistic table. More...

bool m_printUserTime
 flag for printing User quantities. More...

bool m_printSystemTime
 flag for printing System quantities. More...

bool m_printEllapsedTime
 flag for printing Ellapsed quantities. More...

StatMap m_statEntities
 stat part. More...

int m_intStatPrintLevel
 level of info printing. More...

MSG::Level m_statPrintLevel
bool m_statTableFlag
 flag for printing the final table. More...

bool m_statCoutFlag
 flag for destination of the t he final table. More...

bool m_statOrderFlag
 flag for formattion the final statistic table. More...


Detailed Description

ClassName: ChronoStatSvc Description: The ChronoStatSvc service implements the IChronoStatSvc interface and provides the basic chronometry and some statistical counts needed by all applications Author: Vanya Belyaev Date: December 1, 1999.

Definition at line 29 of file ChronoStatSvc.h.


Member Typedef Documentation

typedef std::map<IChronoStatSvc::ChronoTag,ChronoEntity> ChronoStatSvc::ChronoMap
 

some useful typedefs.

Definition at line 37 of file ChronoStatSvc.h.

typedef std::map<IChronoStatSvc::StatTag,StatEntity> ChronoStatSvc::StatMap
 

Definition at line 38 of file ChronoStatSvc.h.


Constructor & Destructor Documentation

ChronoStatSvc::ChronoStatSvc ( const std::string & name,
ISvcLocator * svcloc )
 

Default constructor.

Definition at line 47 of file ChronoStatSvc.cpp.

ChronoStatSvc::~ChronoStatSvc ( ) [virtual]
 

Destructor.

Definition at line 84 of file ChronoStatSvc.cpp.


Member Function Documentation

StatusCode ChronoStatSvc::chronoPrint ( const IChronoStatSvc::ChronoTag & chronoTag ) [virtual]
 

Implementation of IChronoStatSvc::chronoPrint.

Definition at line 341 of file ChronoStatSvc.cpp.

StatusCode ChronoStatSvc::chronoStart ( const IChronoStatSvc::ChronoTag & chronoTag ) [virtual]
 

Implementation of IChronoStatSvc::chronoStart.

Referenced by initialize().

ChronoStatus ChronoStatSvc::chronoStatus ( const IChronoStatSvc::ChronoTag & chronoTag ) [virtual]
 

Implementation of IChronoStatSvc::chronoStatus.

Definition at line 354 of file ChronoStatSvc.cpp.

StatusCode ChronoStatSvc::chronoStop ( const IChronoStatSvc::ChronoTag & chronoTag ) [virtual]
 

Implementation of IChronoStatSvc::chronoStop.

Definition at line 335 of file ChronoStatSvc.cpp.

Referenced by finalize().

StatusCode ChronoStatSvc::finalize ( ) [virtual]
 

Implementation of IService::finalize().

Definition at line 128 of file ChronoStatSvc.cpp.

StatusCode ChronoStatSvc::initialize ( ) [virtual]
 

Implementation of IService::initialize().

Definition at line 95 of file ChronoStatSvc.cpp.

StatusCode ChronoStatSvc::queryInterface ( const IID & riid,
void ** ppvUnknown ) [virtual]
 

Implementation of IInterface::queryInterface().

Definition at line 315 of file ChronoStatSvc.cpp.

StatusCode ChronoStatSvc::stat ( const IChronoStatSvc::StatTag & statTag,
const IChronoStatSvc::StatFlag & statFlag,
const IChronoStatSvc::StatWeight & statWeight ) [virtual]
 

Implementation of IChronoStatSvc::stat add statistical information to the entity , tagged by its name.

Definition at line 364 of file ChronoStatSvc.cpp.

StatusCode ChronoStatSvc::statPrint ( const IChronoStatSvc::ChronoTag & statTag ) [virtual]
 

prints (using message service) info about statistical entity, tagged by its name.


Member Data Documentation

bool ChronoStatSvc::m_chronoCoutFlag [private]
 

flag for destination of the the final table.

Definition at line 95 of file ChronoStatSvc.h.

ChronoMap ChronoStatSvc::m_chronoEntities [private]
 

chrono part.

Definition at line 87 of file ChronoStatSvc.h.

bool ChronoStatSvc::m_chronoOrderFlag [private]
 

flag for formattion the final statistic table.

Definition at line 97 of file ChronoStatSvc.h.

MSG::Level ChronoStatSvc::m_chronoPrintLevel [private]
 

Definition at line 91 of file ChronoStatSvc.h.

bool ChronoStatSvc::m_chronoTableFlag [private]
 

flag for printing the final table.

Definition at line 93 of file ChronoStatSvc.h.

int ChronoStatSvc::m_intChronoPrintLevel [private]
 

level of info printing.

Definition at line 90 of file ChronoStatSvc.h.

int ChronoStatSvc::m_intStatPrintLevel [private]
 

level of info printing.

Definition at line 111 of file ChronoStatSvc.h.

bool ChronoStatSvc::m_printEllapsedTime [private]
 

flag for printing Ellapsed quantities.

Definition at line 103 of file ChronoStatSvc.h.

bool ChronoStatSvc::m_printSystemTime [private]
 

flag for printing System quantities.

Definition at line 101 of file ChronoStatSvc.h.

bool ChronoStatSvc::m_printUserTime [private]
 

flag for printing User quantities.

Definition at line 99 of file ChronoStatSvc.h.

bool ChronoStatSvc::m_statCoutFlag [private]
 

flag for destination of the t he final table.

Definition at line 116 of file ChronoStatSvc.h.

StatMap ChronoStatSvc::m_statEntities [private]
 

stat part.

Definition at line 108 of file ChronoStatSvc.h.

bool ChronoStatSvc::m_statOrderFlag [private]
 

flag for formattion the final statistic table.

Definition at line 118 of file ChronoStatSvc.h.

MSG::Level ChronoStatSvc::m_statPrintLevel [private]
 

Definition at line 112 of file ChronoStatSvc.h.

bool ChronoStatSvc::m_statTableFlag [private]
 

flag for printing the final table.

Definition at line 114 of file ChronoStatSvc.h.


The documentation for this class was generated from the following files:
Generated at Wed Nov 21 12:22:32 2001 by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000