9#include "Import/WebFrameworkCore.h"
11#include "WebNetwork/HTTPRequest.h"
12#include "WebNetwork/HTTPResponse.h"
13#include "Exceptions/NotImplementedException.h"
14#include "Utility/JSONSettingsParser.h"
24 enum class executorType
29 heavyOperationStateful,
30 heavyOperationStateless
129 using createExecutorFunction =
void* (*)();
137#define DECLARE_EXECUTOR(subclassName) extern "C" __attribute__((visibility("default"))) void* create##subclassName##Instance() \
139 return new subclassName(); \
146#define DECLARE_EXECUTOR(subclassName) extern "C" __declspec(dllexport) void* create##subclassName##Instance() \
148 return new subclassName(); \
Base class for all executors.
virtual executorType getType() const =0