EpIC 1.1.0
Monte Carlo generator for exclusive processes
Loading...
Searching...
No Matches
AutomationService.h
1/*
2 * AutomationService.h
3 *
4 * Created on: Feb 7, 2021
5 * Author: Pawel Sznajder (NCBJ)
6 */
7
8#ifndef SERVICES_AUTOMATIONSERVICE_H_
9#define SERVICES_AUTOMATIONSERVICE_H_
10
11#include <memory>
12#include <partons/services/automation/Qt4XMLValidator.h>
13#include <string>
14
15#include "../automation/MonteCarloParser.h"
16
17namespace EPIC {
18class MonteCarloScenario;
19} /* namespace EPIC */
20
21namespace EPIC {
22
32class AutomationService : public PARTONS::BaseObject {
33
34public:
35 static const std::string
37
42
47
51 std::shared_ptr<MonteCarloScenario>
52 parseXMLFile(const std::string &xmlFilePath);
53
57 void playScenario(std::shared_ptr<MonteCarloScenario> pScenario) const;
58
59private:
64
68 static AutomationService *m_pInstance;
69
70 PARTONS::Qt4XMLValidator m_validator;
71 MonteCarloParser m_parser;
72};
73
74} /* namespace EPIC */
75
76#endif /* SERVICES_AUTOMATIONSERVICE_H_ */
Service used for automatic test of modules.
Definition: AutomationService.h:32
static const std::string PROPERTY_NAME_XML_SCHEMA_FILE_PATH
Property name XML schema.
Definition: AutomationService.h:36
std::shared_ptr< MonteCarloScenario > parseXMLFile(const std::string &xmlFilePath)
static AutomationService * getInstance()
void playScenario(std::shared_ptr< MonteCarloScenario > pScenario) const
Definition: MonteCarloParser.h:25