QGIS API Documentation  2.5.0-Master
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Signals | Public Member Functions | Protected Attributes | List of all members
QgsGraphDirector Class Referenceabstract

Determine making the graph. More...

#include <qgsgraphdirector.h>

Inheritance diagram for QgsGraphDirector:
Inheritance graph
[legend]

Signals

void buildProgress (int, int) const
 
void buildMessage (QString) const
 

Public Member Functions

virtual ~QgsGraphDirector ()
 Destructor. More...
 
virtual void makeGraph (QgsGraphBuilderInterface *builder, const QVector< QgsPoint > &additionalPoints, QVector< QgsPoint > &tiedPoints) const
 Make a graph using RgGraphBuilder. More...
 
void addProperter (QgsArcProperter *prop)
 
virtual QString name () const =0
 return Director name More...
 

Protected Attributes

QList< QgsArcProperter * > mProperterList
 

Detailed Description

Determine making the graph.

QgsGraphBuilder and QgsGraphDirector is a builder patter.

Constructor & Destructor Documentation

virtual QgsGraphDirector::~QgsGraphDirector ( )
inlinevirtual

Destructor.

Member Function Documentation

void QgsGraphDirector::addProperter ( QgsArcProperter prop)
inline
void QgsGraphDirector::buildMessage ( QString  ) const
signal
void QgsGraphDirector::buildProgress ( int  ,
int   
) const
signal
virtual void QgsGraphDirector::makeGraph ( QgsGraphBuilderInterface builder,
const QVector< QgsPoint > &  additionalPoints,
QVector< QgsPoint > &  tiedPoints 
) const
inlinevirtual

Make a graph using RgGraphBuilder.

Parameters
builderThe graph builder
additionalPointsVector of points that must be tied to the graph
tiedPointsVector of tied points
Note
if tiedPoints[i]==QgsPoint(0.0,0.0) then tied failed.

Reimplemented in QgsLineVectorLayerDirector.

virtual QString QgsGraphDirector::name ( ) const
pure virtual

return Director name

Implemented in QgsLineVectorLayerDirector.

Member Data Documentation

QList<QgsArcProperter*> QgsGraphDirector::mProperterList
protected

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