VR-Forces 4.0.4 Class Documentation
Public Member Functions | Protected Attributes
DtFormationAutoLayoutFactory Class Reference

List of all members.

Public Member Functions

 DtFormationAutoLayoutFactory ()
 Constructor will add default formation layout entries (Column, Line)
virtual ~DtFormationAutoLayoutFactory ()
void addFormationAutoLayout (const QString &name, DtFormationAutoLayout *)
 Adds a new layout to the formation.
void removeFormationAutoLayout (const QString &name)
virtual DtFormationlayout (const QString &autoLayout, double spacing, const DtVrfSubObjectParameterList *) const
 Finds the layout with the given name and asks it to lay out the formation.
const QHash< QString,
DtFormationAutoLayout * > & 
formationAutoLayouts () const
const QVector< QString > & orderedFormations () const

Protected Attributes

QHash< QString,
DtFormationAutoLayout * > 
myFormationAutoLayouts
QVector< QString > myOrderedFormations

Constructor & Destructor Documentation

Constructor will add default formation layout entries (Column, Line)


Member Function Documentation

Adds a new layout to the formation.

Takes control of the pointer passed in and will delete on removal or destructor of factory

virtual DtFormation* DtFormationAutoLayoutFactory::layout ( const QString &  autoLayout,
double  spacing,
const DtVrfSubObjectParameterList  
) const [virtual]

Finds the layout with the given name and asks it to lay out the formation.

const QVector<QString>& DtFormationAutoLayoutFactory::orderedFormations ( ) const [inline]

Member Data Documentation


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

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)