|
RTC Toolkit 6.0.0-pre2
|
Runtime configuration repository server entry point. More...
#include <charconv>#include <cstdlib>#include <log4cplus/loglevel.h>#include <map>#include <memory>#include <mutex>#include <optional>#include <shared_mutex>#include <stdexcept>#include <string>#include <CLI/CLI.hpp>#include <boost/asio/ip/tcp.hpp>#include <boost/beast/core.hpp>#include <boost/beast/http.hpp>#include <boost/beast/version.hpp>#include <boost/config.hpp>#include <fmt/format.h>#include <gsl/span>#include <nlohmann/json.hpp>#include <numapp/thread.hpp>#include "eventHandling.hpp"#include "rtctk/componentFramework/logger.hpp"Classes | |
| struct | DataPoint |
| A single datapoint stored in the repository. More... | |
| class | RequestHandler< Body, Allocator, Send > |
| struct | RequestHandler< Body, Allocator, Send >::Route |
Typedefs | |
| using | tcp = boost::asio::ip::tcp |
Functions | |
| std::set< std::string > | Join (const std::string &dp, std::set< std::string > links) |
| std::string | StripPrefix (std::string_view target, std::string_view prefix) |
| size_t | Parse (std::string_view str) |
| void | DoSession (tcp::socket &socket) |
| int | main (int argc, char *argv[]) |
Variables | |
| std::shared_mutex | g_data_mutex |
| Mutex protecting the repository data. | |
| std::unordered_map< std::string, DataPoint > | g_data |
| Data structure holding the repository data. | |
| EventQueue | g_queue |
| A thread-safe event queue. | |
Runtime configuration repository server entry point.
| using tcp = boost::asio::ip::tcp |
| void DoSession | ( | tcp::socket & | socket | ) |
| std::set< std::string > Join | ( | const std::string & | dp, |
| std::set< std::string > | links ) |
| int main | ( | int | argc, |
| char * | argv[] ) |
|
inline |
|
inline |
| std::unordered_map<std::string, DataPoint> g_data |
Data structure holding the repository data.
| std::shared_mutex g_data_mutex |
Mutex protecting the repository data.
| EventQueue g_queue |
A thread-safe event queue.