5 #ifndef TABLEAU_HYPER_HYPERPROCESS_HPP
6 #define TABLEAU_HYPER_HYPERPROCESS_HPP
9 #include <hyperapi/impl/infra.hpp>
10 #include <hyperapi/hyperapi.h>
15 #include <unordered_map>
51 const std::string& hyperPath,
53 const std::string& userAgent = std::string(),
54 const std::unordered_map<std::string, std::string>& parameters =
55 std::unordered_map<std::string, std::string>());
72 const std::string& userAgent = std::string(),
73 const std::unordered_map<std::string, std::string>& parameters =
74 std::unordered_map<std::string, std::string>());
108 void shutdown(std::chrono::milliseconds timeoutMs = std::chrono::milliseconds(-1));
119 bool isOpen() const noexcept;
125 void close() noexcept;
129 hyper_instance_t* m_handle =
nullptr;
131 std::
string m_user_agent;
133 friend class Parameters;
139 #include <hyperapi/impl/HyperProcess.impl.hpp>