VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Classes | Public Member Functions | Public Attributes | Protected Types | Protected Slots | Protected Member Functions | Protected Attributes
makVrf::DtPerformanceMonitorGraph Class Reference
Inheritance diagram for makVrf::DtPerformanceMonitorGraph:
Inheritance graph
[legend]

Classes

struct  CombinedInformation
 
struct  SectionInformation
 

Public Member Functions

 DtPerformanceMonitorGraph (makVrv::DtDe &de, QWidget *parent=0, const Qt::WindowFlags &flags=0)
 
virtual ~DtPerformanceMonitorGraph () override
 
virtual void setBarHeight (double)
 
double barHeight () const
 
virtual void setBarSpacing (double d)
 
double barSpacing () const
 
virtual void addSectionInformation (int section, const QColor &color, const QString &title, const std::vector< int > &subtractOff=std::vector< int >(), bool hiddenSection=false)
 
virtual void setBarColor (int secion, const QColor &)
 
virtual void setBarUnits (const QString &)
 
const QString & barUnits () const
 
virtual DtPerformanceBaraddBar (const QString &)
 
virtual void selectBar (const QString &)
 
virtual void setLatencyStatus (const QString &, int)
 
virtual QString selectedBar () const
 
virtual void removeBar (DtPerformanceBar *)
 
virtual void removeAllBars ()
 
virtual const QColor & colorForSection (int) const
 
virtual const QString & titleForSection (int) const
 
virtual void objectCountsChanged ()
 
virtual void setPingingServer (const QString &)
 
virtual int combine (const std::vector< int > &topSections, const std::vector< int > &bottomSections)
 
virtual CombinedInformation sectionIsCombinedWith (int section) const
 
virtual void split (int key)
 

Public Attributes

QVBoxLayout * myMainLayout
 
QScrollAreamyScrollArea
 
QWidget * myInsideWidget
 
QGridLayout * myInsideLayout
 
QFramemySeparatorLine
 
DtPerformanceDatamyPerformanceData
 

Protected Types

typedef std::map< int,
CombinedInformation
Combined
 

Protected Slots

virtual void barSelected ()
 
virtual void timeChanged (int section, double d)
 
virtual void numberOfCPUsChanged (short)
 
virtual void numberOfTickThreadsChanged (short)
 
virtual void maxFrameRateChanged (double)
 
virtual void minFrameRateChanged (double)
 
virtual void latencyChanged (double)
 
virtual void pingingServerChanged (bool)
 

Protected Member Functions

virtual void selectBar (DtPerformanceBar *newBar)
 

Protected Attributes

double myBarHeight
 
std::vector< SectionInformationmySectionInformation
 
QString myBarUnits
 
std::vector< DtPerformanceBar * > myPerformanceBars
 
makVrv::DtDemyDe
 
DtPerformanceBarmySelectedBar
 
Combined myCombined
 

Member Typedef Documentation

Constructor & Destructor Documentation

makVrf::DtPerformanceMonitorGraph::DtPerformanceMonitorGraph ( makVrv::DtDe de,
QWidget *  parent = 0,
const Qt::WindowFlags &  flags = 0 
)

default constructor

virtual makVrf::DtPerformanceMonitorGraph::~DtPerformanceMonitorGraph ( )
overridevirtual

destructor

Member Function Documentation

virtual void makVrf::DtPerformanceMonitorGraph::setBarHeight ( double  )
virtual

Height of all bars. Adjusts any bars that are currently created.

double makVrf::DtPerformanceMonitorGraph::barHeight ( ) const
inline
virtual void makVrf::DtPerformanceMonitorGraph::setBarSpacing ( double  d)
virtual
double makVrf::DtPerformanceMonitorGraph::barSpacing ( ) const
virtual void makVrf::DtPerformanceMonitorGraph::addSectionInformation ( int  section,
const QColor &  color,
const QString &  title,
const std::vector< int > &  subtractOff = std::vector< int >(),
bool  hiddenSection = false 
)
virtual
virtual void makVrf::DtPerformanceMonitorGraph::setBarColor ( int  secion,
const QColor &   
)
virtual
virtual void makVrf::DtPerformanceMonitorGraph::setBarUnits ( const QString &  )
virtual
const QString& makVrf::DtPerformanceMonitorGraph::barUnits ( ) const
inline
virtual DtPerformanceBar* makVrf::DtPerformanceMonitorGraph::addBar ( const QString &  )
virtual
virtual void makVrf::DtPerformanceMonitorGraph::selectBar ( const QString &  )
virtual
virtual void makVrf::DtPerformanceMonitorGraph::setLatencyStatus ( const QString &  ,
int   
)
virtual
virtual QString makVrf::DtPerformanceMonitorGraph::selectedBar ( ) const
virtual
virtual void makVrf::DtPerformanceMonitorGraph::removeBar ( DtPerformanceBar )
virtual
virtual void makVrf::DtPerformanceMonitorGraph::removeAllBars ( )
virtual
virtual const QColor& makVrf::DtPerformanceMonitorGraph::colorForSection ( int  ) const
virtual
virtual const QString& makVrf::DtPerformanceMonitorGraph::titleForSection ( int  ) const
virtual
virtual void makVrf::DtPerformanceMonitorGraph::objectCountsChanged ( )
virtual
virtual void makVrf::DtPerformanceMonitorGraph::setPingingServer ( const QString &  )
virtual
virtual int makVrf::DtPerformanceMonitorGraph::combine ( const std::vector< int > &  topSections,
const std::vector< int > &  bottomSections 
)
virtual

Combines the two times, meaning will show times on same bar, with the greater time determing the length of the bar. Returns a key that can be used to remove this combine via split.

virtual CombinedInformation makVrf::DtPerformanceMonitorGraph::sectionIsCombinedWith ( int  section) const
virtual

Returns the section this section is combined with, or -1 if not combined with any section.

virtual void makVrf::DtPerformanceMonitorGraph::split ( int  key)
virtual

If combined, splits sections.

virtual void makVrf::DtPerformanceMonitorGraph::selectBar ( DtPerformanceBar newBar)
protectedvirtual
virtual void makVrf::DtPerformanceMonitorGraph::barSelected ( )
protectedvirtualslot
virtual void makVrf::DtPerformanceMonitorGraph::timeChanged ( int  section,
double  d 
)
protectedvirtualslot
virtual void makVrf::DtPerformanceMonitorGraph::numberOfCPUsChanged ( short  )
protectedvirtualslot
virtual void makVrf::DtPerformanceMonitorGraph::numberOfTickThreadsChanged ( short  )
protectedvirtualslot
virtual void makVrf::DtPerformanceMonitorGraph::maxFrameRateChanged ( double  )
protectedvirtualslot
virtual void makVrf::DtPerformanceMonitorGraph::minFrameRateChanged ( double  )
protectedvirtualslot
virtual void makVrf::DtPerformanceMonitorGraph::latencyChanged ( double  )
protectedvirtualslot
virtual void makVrf::DtPerformanceMonitorGraph::pingingServerChanged ( bool  )
protectedvirtualslot

Member Data Documentation

double makVrf::DtPerformanceMonitorGraph::myBarHeight
protected
std::vector<SectionInformation> makVrf::DtPerformanceMonitorGraph::mySectionInformation
protected
QString makVrf::DtPerformanceMonitorGraph::myBarUnits
protected
std::vector<DtPerformanceBar*> makVrf::DtPerformanceMonitorGraph::myPerformanceBars
protected
makVrv::DtDe& makVrf::DtPerformanceMonitorGraph::myDe
protected
DtPerformanceBar* makVrf::DtPerformanceMonitorGraph::mySelectedBar
protected
Combined makVrf::DtPerformanceMonitorGraph::myCombined
protected
QVBoxLayout* makVrf::DtPerformanceMonitorGraph::myMainLayout
QScrollArea* makVrf::DtPerformanceMonitorGraph::myScrollArea
QWidget* makVrf::DtPerformanceMonitorGraph::myInsideWidget
QGridLayout* makVrf::DtPerformanceMonitorGraph::myInsideLayout
QFrame* makVrf::DtPerformanceMonitorGraph::mySeparatorLine
DtPerformanceData* makVrf::DtPerformanceMonitorGraph::myPerformanceData

The documentation for this class was generated from the following file:

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)