cctw
0.2.1
|
#include <cctwscriptengine.h>
Public Slots | |
void | checkForExceptions () |
Public Member Functions | |
CctwScriptEngine (CctwApplication *app, QObject *parent=0) | |
CctwApplication * | application () const |
Static Private Member Functions | |
static QScriptValue | printFunc (QScriptContext *context, QScriptEngine *engine) |
static QScriptValue | waitFunc (QScriptContext *context, QScriptEngine *engine) |
static QScriptValue | loadPreferencesFunc (QScriptContext *context, QScriptEngine *engine) |
static QScriptValue | executeScriptFileFunc (QScriptContext *context, QScriptEngine *engine) |
static QScriptValue | showHelpFunc (QScriptContext *context, QScriptEngine *engine) |
static QScriptValue | showVersionFunc (QScriptContext *context, QScriptEngine *engine) |
static QScriptValue | setThreadsFunc (QScriptContext *context, QScriptEngine *engine) |
static QScriptValue | setInputDataFunc (QScriptContext *context, QScriptEngine *engine) |
static QScriptValue | setInputChunksFunc (QScriptContext *context, QScriptEngine *engine) |
static QScriptValue | setInputDatasetFunc (QScriptContext *context, QScriptEngine *engine) |
static QScriptValue | setMaskFunc (QScriptContext *context, QScriptEngine *engine) |
static QScriptValue | setAnglesFunc (QScriptContext *context, QScriptEngine *engine) |
static QScriptValue | setOmegaFunc (QScriptContext *context, QScriptEngine *engine) |
static QScriptValue | setTwoThetaFunc (QScriptContext *context, QScriptEngine *engine) |
static QScriptValue | setPhiFunc (QScriptContext *context, QScriptEngine *engine) |
static QScriptValue | setChiFunc (QScriptContext *context, QScriptEngine *engine) |
static QScriptValue | setWeightsFunc (QScriptContext *context, QScriptEngine *engine) |
static QScriptValue | setOutputDataFunc (QScriptContext *context, QScriptEngine *engine) |
static QScriptValue | setOutputDimsFunc (QScriptContext *context, QScriptEngine *engine) |
static QScriptValue | setOutputChunksFunc (QScriptContext *context, QScriptEngine *engine) |
static QScriptValue | setOutputDatasetFunc (QScriptContext *context, QScriptEngine *engine) |
static QScriptValue | transformFunc (QScriptContext *context, QScriptEngine *engine) |
static QScriptValue | setSubsetFunc (QScriptContext *context, QScriptEngine *engine) |
static QScriptValue | dependenciesFunc (QScriptContext *context, QScriptEngine *engine) |
static QScriptValue | noDependenciesFunc (QScriptContext *context, QScriptEngine *engine) |
static QScriptValue | normalizationFunc (QScriptContext *context, QScriptEngine *engine) |
static QScriptValue | compressionFunc (QScriptContext *context, QScriptEngine *engine) |
static QScriptValue | inputProjectFunc (QScriptContext *context, QScriptEngine *engine) |
static QScriptValue | outputProjectFunc (QScriptContext *context, QScriptEngine *engine) |
static QScriptValue | setProjectOutputFunc (QScriptContext *context, QScriptEngine *engine) |
static QScriptValue | mergeInputFunc (QScriptContext *context, QScriptEngine *engine) |
static QScriptValue | mergeOutputFunc (QScriptContext *context, QScriptEngine *engine) |
Private Attributes | |
CctwApplication * | m_Application |
Definition at line 7 of file cctwscriptengine.h.
|
explicit |
Definition at line 8 of file cctwscriptengine.cpp.
References compressionFunc(), dependenciesFunc(), executeScriptFileFunc(), CctwDoubleVector3DProperty::fromScriptValue(), CctwIntVector3DProperty::fromScriptValue(), CctwDoubleMatrix3x3Property::fromScriptValue(), CctwUnitCellProperty::fromScriptValue(), inputProjectFunc(), loadPreferencesFunc(), m_Application, mergeInputFunc(), mergeOutputFunc(), noDependenciesFunc(), normalizationFunc(), outputProjectFunc(), printFunc(), setAnglesFunc(), setChiFunc(), setInputChunksFunc(), setInputDataFunc(), setInputDatasetFunc(), setMaskFunc(), setOmegaFunc(), setOutputChunksFunc(), setOutputDataFunc(), setOutputDatasetFunc(), setOutputDimsFunc(), setPhiFunc(), setProjectOutputFunc(), setSubsetFunc(), setThreadsFunc(), setTwoThetaFunc(), setWeightsFunc(), showHelpFunc(), showVersionFunc(), CctwDoubleVector3DProperty::toScriptValue(), CctwIntVector3DProperty::toScriptValue(), CctwDoubleMatrix3x3Property::toScriptValue(), CctwUnitCellProperty::toScriptValue(), transformFunc(), and waitFunc().
CctwApplication * CctwScriptEngine::application | ( | ) | const |
Definition at line 59 of file cctwscriptengine.cpp.
References m_Application.
Referenced by compressionFunc(), dependenciesFunc(), executeScriptFileFunc(), inputProjectFunc(), loadPreferencesFunc(), mergeInputFunc(), mergeOutputFunc(), noDependenciesFunc(), normalizationFunc(), outputProjectFunc(), printFunc(), setAnglesFunc(), setChiFunc(), setInputChunksFunc(), setInputDataFunc(), setInputDatasetFunc(), setMaskFunc(), setOmegaFunc(), setOutputChunksFunc(), setOutputDataFunc(), setOutputDatasetFunc(), setOutputDimsFunc(), setPhiFunc(), setProjectOutputFunc(), setSubsetFunc(), setThreadsFunc(), setTwoThetaFunc(), setWeightsFunc(), showHelpFunc(), showVersionFunc(), transformFunc(), and waitFunc().
|
slot |
Definition at line 899 of file cctwscriptengine.cpp.
References m_Application.
Referenced by CctwApplication::evaluate(), CctwApplication::evaluateCommand(), CctwApplication::evaluateStartupCommand(), and CctwApplication::executeScriptFile().
|
staticprivate |
Definition at line 741 of file cctwscriptengine.cpp.
References application(), and CctwApplication::setCompression().
Referenced by CctwScriptEngine().
|
staticprivate |
Definition at line 663 of file cctwscriptengine.cpp.
References application(), and CctwApplication::partialDependencies().
Referenced by CctwScriptEngine().
|
staticprivate |
Definition at line 142 of file cctwscriptengine.cpp.
References application(), and CctwApplication::executeScriptFile().
Referenced by CctwScriptEngine().
|
staticprivate |
Definition at line 767 of file cctwscriptengine.cpp.
References application(), and CctwApplication::inputProject().
Referenced by CctwScriptEngine().
|
staticprivate |
Definition at line 116 of file cctwscriptengine.cpp.
References application(), and CctwApplication::readSettings().
Referenced by CctwScriptEngine().
|
staticprivate |
Definition at line 837 of file cctwscriptengine.cpp.
References application(), and CctwApplication::mergeInput().
Referenced by CctwScriptEngine().
|
staticprivate |
Definition at line 863 of file cctwscriptengine.cpp.
References application(), and CctwApplication::mergeOutput().
Referenced by CctwScriptEngine().
|
staticprivate |
Definition at line 689 of file cctwscriptengine.cpp.
References application(), and CctwApplication::noDependencies().
Referenced by CctwScriptEngine().
|
staticprivate |
Definition at line 715 of file cctwscriptengine.cpp.
References application(), and CctwApplication::setNormalization().
Referenced by CctwScriptEngine().
|
staticprivate |
Definition at line 789 of file cctwscriptengine.cpp.
References application(), and CctwApplication::outputProject().
Referenced by CctwScriptEngine().
|
staticprivate |
Definition at line 64 of file cctwscriptengine.cpp.
References application(), and CctwApplication::printMessage().
Referenced by CctwScriptEngine().
|
staticprivate |
Definition at line 350 of file cctwscriptengine.cpp.
References application().
Referenced by CctwScriptEngine().
|
staticprivate |
Definition at line 428 of file cctwscriptengine.cpp.
References application(), and CctwApplication::setChi().
Referenced by CctwScriptEngine().
|
staticprivate |
Definition at line 272 of file cctwscriptengine.cpp.
References application(), and CctwApplication::setInputChunks().
Referenced by CctwScriptEngine().
|
staticprivate |
Definition at line 246 of file cctwscriptengine.cpp.
References application(), and CctwApplication::setInputData().
Referenced by CctwScriptEngine().
|
staticprivate |
Definition at line 298 of file cctwscriptengine.cpp.
References application(), and CctwApplication::setInputDataset().
Referenced by CctwScriptEngine().
|
staticprivate |
Definition at line 324 of file cctwscriptengine.cpp.
References application().
Referenced by CctwScriptEngine().
|
staticprivate |
Definition at line 376 of file cctwscriptengine.cpp.
References application(), and CctwApplication::setOmega().
Referenced by CctwScriptEngine().
|
staticprivate |
Definition at line 559 of file cctwscriptengine.cpp.
References application(), and CctwApplication::setOutputChunks().
Referenced by CctwScriptEngine().
|
staticprivate |
Definition at line 507 of file cctwscriptengine.cpp.
References application(), and CctwApplication::setOutputData().
Referenced by CctwScriptEngine().
|
staticprivate |
Definition at line 585 of file cctwscriptengine.cpp.
References application(), and CctwApplication::setOutputDataset().
Referenced by CctwScriptEngine().
|
staticprivate |
Definition at line 533 of file cctwscriptengine.cpp.
References application(), and CctwApplication::setOutputDims().
Referenced by CctwScriptEngine().
|
staticprivate |
Definition at line 454 of file cctwscriptengine.cpp.
References application(), and CctwApplication::setPhi().
Referenced by CctwScriptEngine().
|
staticprivate |
Definition at line 811 of file cctwscriptengine.cpp.
References application(), and CctwApplication::setProjectOutput().
Referenced by CctwScriptEngine().
|
staticprivate |
Definition at line 637 of file cctwscriptengine.cpp.
References application(), and CctwApplication::setSubset().
Referenced by CctwScriptEngine().
|
staticprivate |
Definition at line 168 of file cctwscriptengine.cpp.
References application(), and CctwApplication::setThreads().
Referenced by CctwScriptEngine().
|
staticprivate |
Definition at line 402 of file cctwscriptengine.cpp.
References application(), and CctwApplication::setTwoTheta().
Referenced by CctwScriptEngine().
|
staticprivate |
Definition at line 481 of file cctwscriptengine.cpp.
References application().
Referenced by CctwScriptEngine().
|
staticprivate |
Definition at line 194 of file cctwscriptengine.cpp.
References application(), and CctwApplication::showHelp().
Referenced by CctwScriptEngine().
|
staticprivate |
Definition at line 220 of file cctwscriptengine.cpp.
References application(), and CctwApplication::showVersion().
Referenced by CctwScriptEngine().
|
staticprivate |
Definition at line 611 of file cctwscriptengine.cpp.
References application(), and CctwApplication::transform().
Referenced by CctwScriptEngine().
|
staticprivate |
Definition at line 90 of file cctwscriptengine.cpp.
References application(), and CctwApplication::wait().
Referenced by CctwScriptEngine().
|
private |
Definition at line 61 of file cctwscriptengine.h.
Referenced by application(), CctwScriptEngine(), and checkForExceptions().