33 #include <QCommandLineParser> 44 class Stan:
public QObject {
50 enum CommandLineParseResult {
51 CommandLineTaskPlanned,
54 CommandLineVersionRequested,
55 CommandLineHelpRequested,
56 CommandLineQueryRequested
59 Stan(QObject *parent = 0) : QObject(parent), m_id(
""), m_platform(0), m_device(0), m_param(
""), m_cpaEngine(
nullptr), m_tTestEngine(
nullptr), m_cpaModule(
""), m_tTestModule(
""), m_randomTraces(
""), m_randomTracesCount(0), m_constantTraces(
""), m_constantTracesCount(0), m_samplesPerTrace(0), m_predictions(
""), m_predictionsSetsCount(0), m_predictionsCandidatesCount(0), m_contextA(
""), m_contextB(
"") {}
80 QString m_tTestModule;
82 QString m_randomTraces;
83 size_t m_randomTracesCount;
85 QString m_constantTraces;
86 size_t m_constantTracesCount;
88 size_t m_samplesPerTrace;
90 QString m_predictions;
91 size_t m_predictionsSetsCount;
92 size_t m_predictionsCandidatesCount;
bool loadCpaModule()
Load the specified CPA computation module.
Definition: stan.cpp:352
CPA computation plugin interface for use e.g. in stan.
void tTestMerge()
Merge the existing t-test contexts and save it to file.
Definition: stan.cpp:1053
void cpaCreate()
Create a new CPA contexts and save them to file.
Definition: stan.cpp:410
void queryPlugins()
Query and print available plugins.
Definition: stan.cpp:287
CPA computation engine QT plugin interface.
Definition: cpaengine.h:43
t-test computation plugin interface for use e.g. in stan
t-test computation engine QT plugin interface
Definition: ttestengine.h:43
void tTestFinalize()
Finalize the existing t-test context and save the t-vals and degrees of freedom to file.
Definition: stan.cpp:1200
void tTestCreate()
Create a new t-test context and save it to file.
Definition: stan.cpp:885
void cpaFinalize()
Finalize the existing CPA context and save correlation matrices to file.
Definition: stan.cpp:746
void cpaMerge()
Merge the existing CPA contexts and save them to file.
Definition: stan.cpp:591
CommandLineParseResult parseCommandLineParams(QCommandLineParser &parser)
Parse parameters from the command line and configuration files and plan tasks for event loop accordin...
Definition: stan.cpp:46
Class providing text-based UI front-end to CpaEngine and TTestEngine plug-in modules.
Definition: stan.h:44
bool loadTTestModule()
Load the specified t-test computation module.
Definition: stan.cpp:381