IndicatorSummary Class Reference

#include <IndicatorSummary.h>

Collaboration diagram for IndicatorSummary:

Collaboration graph
[legend]

List of all members.

Signals

void signalWakeup ()

Public Member Functions

 IndicatorSummary (QStringList &, int, BarData::BarLength, DBIndex *)
 ~IndicatorSummary ()
void run ()
void loadIndicators ()
void createDataWindow (QPtrList< Setting > &, QString &group)

Protected Attributes

Config config
QStringList indicatorList
int minBars
BarData::BarLength barLength
QPtrList< Indicatorindicators
DBIndexchartIndex

Private Attributes

QString helpFile


Detailed Description

Definition at line 34 of file IndicatorSummary.h.


Constructor & Destructor Documentation

IndicatorSummary::IndicatorSummary ( QStringList &  l,
int  mb,
BarData::BarLength  bl,
DBIndex i 
)

Definition at line 37 of file IndicatorSummary.cpp.

References barLength, chartIndex, helpFile, indicatorList, indicators, and minBars.

IndicatorSummary::~IndicatorSummary (  ) 

Definition at line 48 of file IndicatorSummary.cpp.


Member Function Documentation

void IndicatorSummary::signalWakeup (  )  [signal]

Referenced by run().

void IndicatorSummary::run (  ) 

Definition at line 52 of file IndicatorSummary.cpp.

References PrefDialog::addComboItem(), PlotLine::Bar, barLength, IndicatorPlugin::calculate(), PlotLine::Candle, chartIndex, DBBase::close(), config, createDataWindow(), PrefDialog::createPage(), Traverse::Dir, PrefDialog::getCombo(), PlotLine::getData(), Config::getData(), Indicator::getFile(), DbPlugin::getHistory(), Config::getIndicatorPlugin(), PlotLine::getLabel(), Indicator::getLine(), Indicator::getLines(), Traverse::getList(), PlotLine::getSize(), PlotLine::getType(), Indicator::getType(), Config::GroupPath, helpFile, PlotLine::Horizontal, indicators, PlotLine::Invisible, loadIndicators(), IndicatorPlugin::loadIndicatorSettings(), minBars, DbPlugin::open(), DbPlugin::setBarLength(), DbPlugin::setBarRange(), Setting::setData(), PrefDialog::setHelpFile(), IndicatorPlugin::setIndicatorInput(), signalWakeup(), PlotLine::strip(), and Traverse::traverse().

void IndicatorSummary::loadIndicators (  ) 

Definition at line 170 of file IndicatorSummary.cpp.

References config, Indicator::getEnable(), Config::getIndicator(), Config::getIndicatorPlugin(), Indicator::getType(), indicatorList, indicators, and Indicator::setIndicator().

Referenced by run().

void IndicatorSummary::createDataWindow ( QPtrList< Setting > &  list,
QString &  group 
)

Definition at line 201 of file IndicatorSummary.cpp.

References barLength, config, BarData::getBarLengthList(), Config::getData(), Config::Home, XmlWriter::newLine(), XmlWriter::setAutoNewLine(), DataWindow::setData(), DataWindow::setHeader(), XmlWriter::setIndentSize(), XmlWriter::writeCloseTag(), XmlWriter::writeOpenTag(), XmlWriter::writeRaw(), and XmlWriter::writeTaggedString().

Referenced by run().


Member Data Documentation

QString IndicatorSummary::helpFile [private]

Definition at line 49 of file IndicatorSummary.h.

Referenced by IndicatorSummary(), and run().

Config IndicatorSummary::config [protected]

Definition at line 52 of file IndicatorSummary.h.

Referenced by createDataWindow(), loadIndicators(), and run().

QStringList IndicatorSummary::indicatorList [protected]

Definition at line 53 of file IndicatorSummary.h.

Referenced by IndicatorSummary(), and loadIndicators().

int IndicatorSummary::minBars [protected]

Definition at line 54 of file IndicatorSummary.h.

Referenced by IndicatorSummary(), and run().

BarData::BarLength IndicatorSummary::barLength [protected]

Definition at line 55 of file IndicatorSummary.h.

Referenced by createDataWindow(), IndicatorSummary(), and run().

QPtrList<Indicator> IndicatorSummary::indicators [protected]

Definition at line 56 of file IndicatorSummary.h.

Referenced by IndicatorSummary(), loadIndicators(), and run().

DBIndex* IndicatorSummary::chartIndex [protected]

Definition at line 57 of file IndicatorSummary.h.

Referenced by IndicatorSummary(), and run().


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