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

Signals

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

Public Member Functions

 DtPerformanceBar (makVrv::DtDe &de, DtPerformanceMonitorGraph *parent, const QString &title)
 
virtual ~DtPerformanceBar ()
 
virtual void setBarUnits (const QString &)
 
virtual void setTime (int section, double time)
 
virtual void setTotalTime (double d)
 
virtual double totalTime () const
 
virtual void setFixedHeight (double d)
 
virtual void setBarColor (int section, const QColor &)
 
virtual void addSectionInformation (int section, const QColor &color, const QString &title, const std::vector< int > &subtractOff=std::vector< int >(), bool hiddenSection=false)
 
virtual DtSimulationAddress backendAddress () const
 
virtual void setNumberOfCPUs (short)
 
virtual void setFrameRate (double fps, double simTimeToRealTime)
 
virtual void setLatency (double)
 
double latency () const
 
virtual void setMinFrameRate (double)
 
double minFrameRate () const
 
virtual void setMaxFrameRate (double)
 
double maxFrameRate () const
 
short numberOfCPUs () const
 
virtual void setNumberOfTickThreads (short)
 
short numberOfTickThreads () const
 
virtual void setPingingServer (bool)
 
bool pingingServer () const
 
virtual void setSelected (bool)
 
virtual void setLatencyStatus (int)
 
virtual double timeFor (int section) const
 
virtual QString title () const
 

Public Attributes

QHBoxLayout * myLayout
 
QLabelmyTitle
 
DtPerformanceBarTimesmyPerformanceBarTimes
 
QLabelmyTotalTime
 

Protected Member Functions

virtual void updateFrameTime ()
 
virtual void mouseReleaseEvent (QMouseEvent *)
 
virtual bool eventFilter (QObject *, QEvent *)
 

Protected Attributes

QString myBarUnits
 
double myTotalBarTime
 
makVrv::DtDemyDe
 
short myNumberOfCPUs
 
short myNumberOfTickThreads
 
double myFrameRate
 
double myFrameRateMin
 
double myFrameRateMax
 
double myLatency
 
bool myPingingServer
 
double mySimTimeToRealTime = 1.0
 

Constructor & Destructor Documentation

makVrf::DtPerformanceBar::DtPerformanceBar ( makVrv::DtDe de,
DtPerformanceMonitorGraph parent,
const QString &  title 
)
virtual makVrf::DtPerformanceBar::~DtPerformanceBar ( )
virtual

Member Function Documentation

virtual void makVrf::DtPerformanceBar::setBarUnits ( const QString &  )
virtual
virtual void makVrf::DtPerformanceBar::setTime ( int  section,
double  time 
)
virtual
virtual void makVrf::DtPerformanceBar::setTotalTime ( double  d)
virtual
virtual double makVrf::DtPerformanceBar::totalTime ( ) const
virtual
virtual void makVrf::DtPerformanceBar::setFixedHeight ( double  d)
virtual
virtual void makVrf::DtPerformanceBar::setBarColor ( int  section,
const QColor &   
)
virtual
virtual void makVrf::DtPerformanceBar::addSectionInformation ( int  section,
const QColor &  color,
const QString &  title,
const std::vector< int > &  subtractOff = std::vector< int >(),
bool  hiddenSection = false 
)
virtual
virtual DtSimulationAddress makVrf::DtPerformanceBar::backendAddress ( ) const
virtual
virtual void makVrf::DtPerformanceBar::setNumberOfCPUs ( short  )
virtual
virtual void makVrf::DtPerformanceBar::setFrameRate ( double  fps,
double  simTimeToRealTime 
)
virtual
virtual void makVrf::DtPerformanceBar::setLatency ( double  )
virtual
double makVrf::DtPerformanceBar::latency ( ) const
inline
virtual void makVrf::DtPerformanceBar::setMinFrameRate ( double  )
virtual
double makVrf::DtPerformanceBar::minFrameRate ( ) const
inline
virtual void makVrf::DtPerformanceBar::setMaxFrameRate ( double  )
virtual
double makVrf::DtPerformanceBar::maxFrameRate ( ) const
inline
short makVrf::DtPerformanceBar::numberOfCPUs ( ) const
inline
virtual void makVrf::DtPerformanceBar::setNumberOfTickThreads ( short  )
virtual
short makVrf::DtPerformanceBar::numberOfTickThreads ( ) const
inline
virtual void makVrf::DtPerformanceBar::setPingingServer ( bool  )
virtual
bool makVrf::DtPerformanceBar::pingingServer ( ) const
inline
virtual void makVrf::DtPerformanceBar::setSelected ( bool  )
virtual
virtual void makVrf::DtPerformanceBar::setLatencyStatus ( int  )
virtual

Only currently 3 status: 0 - Normal 1 - Warning 2 - Blocked.

virtual double makVrf::DtPerformanceBar::timeFor ( int  section) const
virtual
virtual QString makVrf::DtPerformanceBar::title ( ) const
virtual
virtual void makVrf::DtPerformanceBar::updateFrameTime ( )
protectedvirtual
virtual void makVrf::DtPerformanceBar::mouseReleaseEvent ( QMouseEvent *  )
protectedvirtual
virtual bool makVrf::DtPerformanceBar::eventFilter ( QObject ,
QEvent  
)
protectedvirtual
void makVrf::DtPerformanceBar::totalBarTimeChanged ( double  )
signal
void makVrf::DtPerformanceBar::barSelected ( )
signal
void makVrf::DtPerformanceBar::timeChanged ( int  ,
double   
)
signal
void makVrf::DtPerformanceBar::numberOfCPUsChanged ( short  )
signal
void makVrf::DtPerformanceBar::numberOfTickThreadsChanged ( short  )
signal
void makVrf::DtPerformanceBar::maxFrameRateChanged ( double  )
signal
void makVrf::DtPerformanceBar::minFrameRateChanged ( double  )
signal
void makVrf::DtPerformanceBar::latencyChanged ( double  )
signal
void makVrf::DtPerformanceBar::pingingServerChanged ( bool  )
signal

Member Data Documentation

QString makVrf::DtPerformanceBar::myBarUnits
protected
double makVrf::DtPerformanceBar::myTotalBarTime
protected
makVrv::DtDe& makVrf::DtPerformanceBar::myDe
protected
short makVrf::DtPerformanceBar::myNumberOfCPUs
protected
short makVrf::DtPerformanceBar::myNumberOfTickThreads
protected
double makVrf::DtPerformanceBar::myFrameRate
protected
double makVrf::DtPerformanceBar::myFrameRateMin
protected
double makVrf::DtPerformanceBar::myFrameRateMax
protected
double makVrf::DtPerformanceBar::myLatency
protected
bool makVrf::DtPerformanceBar::myPingingServer
protected
double makVrf::DtPerformanceBar::mySimTimeToRealTime = 1.0
protected
QHBoxLayout* makVrf::DtPerformanceBar::myLayout
QLabel* makVrf::DtPerformanceBar::myTitle
DtPerformanceBarTimes* makVrf::DtPerformanceBar::myPerformanceBarTimes
QLabel* makVrf::DtPerformanceBar::myTotalTime

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

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)