CAPIO-CL 1.4.0
CAPIO-CL: Cross Application Programmable I/O - Coordination Language
Loading...
Searching...
No Matches
api.h
1#ifndef CAPIO_CL_WEBAPI_H
2#define CAPIO_CL_WEBAPI_H
3#include <atomic>
4#include <thread>
5
6#include "capiocl.hpp"
7#include "configuration.h"
8
11
13 std::thread _webApiThread;
14
16 const configuration::CapioClConfiguration &capiocl_configuration;
17
19 std::atomic<bool> _terminate = false;
20
21 public:
24
27};
28
29#endif // CAPIO_CL_WEBAPI_H
Class that exposes a REST Web Server to interact with the current configuration.
Definition api.h:10
~CapioClApiServer()
Default Destructor.
Definition api.cpp:130
CapioClApiServer(engine::Engine *engine, configuration::CapioClConfiguration &config)
default constructor.
Definition api.cpp:104
Load configuration and store it from a CAPIO-CL TOML configuration file.
Definition configuration.h:39
Engine for managing CAPIO-CL configuration entries. The CapioCLEngine class stores and manages config...
Definition engine.h:83
Namespace containing the CAPIO-CL Engine.
Definition engine.h:13