nsbaci 1.0
Loading...
Searching...
No Matches
runtimeServiceFactory.h
Go to the documentation of this file.
1
12
13#ifndef NSBACI_RUNTIMESERVICEFACTORY_H
14#define NSBACI_RUNTIMESERVICEFACTORY_H
15
16#include "runtimeService.h"
17
22namespace nsbaci::factories {
23
24struct NsbaciRuntime {
25 explicit NsbaciRuntime() = default;
26};
27
28// Tag used to generate a service with a nsbaci runtime
29constexpr inline NsbaciRuntime nsbaciRuntime{};
30
35class RuntimeServiceFactory {
36 private:
37 RuntimeServiceFactory() = default;
38
39 public:
40 static nsbaci::services::RuntimeService createService(NsbaciRuntime t);
41 // static nsbaci::services::RuntimeService createService(OtherRuntimeOrTest
42 // t);
43 ~RuntimeServiceFactory() = default;
44};
45
46} // namespace nsbaci::factories
47
48#endif // NSBACI_RUNTIMESERVICEFACTORY_H
Service that manages program execution.
Definition runtimeService.h:104
Factories namespace for nsbaci.
Definition compilerServiceFactory.cpp:12
RuntimeService class declaration for nsbaci.
Definition runtimeServiceFactory.h:24