PARP Research Group University of Murcia, Spain


QVNumericPlot Class Reference
[Graphical User Interface]

Widget for plotting integer and double property values from a worker, over the time. More...

#include <qvgui/qvnumericplot.h>

List of all members.

Public Member Functions

 QVNumericPlot (const QString name=QString(), bool time=true, int step=10, QWidget *parent=0)
 Constructs a QVNumericPlot with a given string identifier, and iteration's parameters. Construct a new plot that shows int and double properties graphs. This plot shows decorations, it hasn't got a pie graph, don't brush the data and autoshow. It can show graphs of int and double linked properties of different workers.
bool linkProperty (QVWorker &worker, const QString propertyName)
 Links properties from workers.
void linkProperty (QVWorker &worker)
 Links properties from workers.


Detailed Description

Widget for plotting integer and double property values from a worker, over the time.

This is a widget whichs plots output data values over a timeline:

qvision_numericplot_window.png

For further info see section Numeric plot widget.

See also:
QVHistogramPlot

QVCPUPlot

Definition at line 46 of file qvnumericplot.h.


Constructor & Destructor Documentation

QVNumericPlot::QVNumericPlot ( const QString  name = QString (),
bool  time = true,
int  step = 10,
QWidget *  parent = 0 
)

Constructs a QVNumericPlot with a given string identifier, and iteration's parameters. Construct a new plot that shows int and double properties graphs. This plot shows decorations, it hasn't got a pie graph, don't brush the data and autoshow. It can show graphs of int and double linked properties of different workers.

Parameters:
name Identifier for the object to be created.
time True if the iterations are based on clock time (in second hundredths), and false if they are based on worker's iterations.
step Set the base measure to plot's iterations ratio.
parent Identifier for the parent widget.

Definition at line 28 of file qvnumericplot.cpp.


Member Function Documentation

bool QVNumericPlot::linkProperty ( QVWorker worker,
const QString  propertyName 
)

Links properties from workers.

This method safely links properties from workers in a thread safe manner. If the iterations are based on worker's iterations (time == false), the worker must be synchronised with previous linked workers. Only can be linked int or double properties.

See also QVPropertyContainer::LinkType.

Parameters:
worker The source QVWorker.
propertyName Identifying QString for the source property.

Definition at line 31 of file qvnumericplot.cpp.

Referenced by linkProperty().

void QVNumericPlot::linkProperty ( QVWorker worker  ) 

Links properties from workers.

This method safely links all int and double output properties from a container with news properties with the same name, holders in a thread safe manner.

See also linkProperty(QVWorker &worker, const QString propertyName).

Parameters:
worker The source QVWorker.

Definition at line 43 of file qvnumericplot.cpp.


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



QVision framework. PARP research group, copyright 2007, 2008.