|
Plotly.cpp 0.1.0
A C++ plotting library for expressive, interactive, real-time & streaming data visualization
|
Classes | |
| class | HttpServer |
| class | JsonRpc |
| JSON-RPC 2.0 server implementation over WebSocket. More... | |
| struct | JsonRpcError |
| Structure representing a JSON-RPC error object. More... | |
| struct | JsonRpcResponse |
| Structure representing a JSON-RPC response object. More... | |
| class | WebsocketClient |
| class | WebsocketEndpointImpl |
| Base implementation class for WebSocket endpoints. More... | |
| class | WebsocketEndpointInterface |
| Abstract interface for WebSocket endpoints. More... | |
| class | WebsocketServer |
Typedefs | |
| using | client_config = websocketpp::config::asio_client |
| using | client_t = websocketpp::client<client_config> |
| using | connection_hdl = websocketpp::connection_hdl |
| using | server_config = websocketpp::config::asio |
| using | server_t = websocketpp::server<server_config> |
| using | endpoint_t = server_t |
Enumerations | |
| enum class | JsonRpcErrorCode : std::int16_t { PARSE_ERROR = -32700 , INVALID_REQUEST = -32600 , METHOD_NOT_FOUND = -32601 , INVALID_PARAMS = -32602 , INTERNAL_ERROR = -32603 , SERVER_ERROR = -32000 } |
| Enumeration of standard JSON-RPC 2.0 error codes. More... | |
Functions | |
| auto | isDisplayAvailable () -> bool |
| auto | isChromiumAvailable () -> bool |
| auto | isGoogleChromeAvailable () -> bool |
| auto | openBrowser (const std::string_view url) -> bool |
| auto | openChromiumWithHeadlessMode (const std::string_view url, int remoteDebuggingPort) -> std::pair< bool, std::function< void()> > |
| auto | getIpv4Addresses () -> std::vector< std::string > |
| auto | setDownloadDirectory (const std::filesystem::path &directory, int remoteDebuggingPort) -> bool |
| auto | getDefaultDownloadDirectory () -> std::filesystem::path |
| auto | generateUUID () -> std::string |
| using plotly::detail::client_config = websocketpp::config::asio_client |
| using plotly::detail::client_t = websocketpp::client<client_config> |
| using plotly::detail::connection_hdl = websocketpp::connection_hdl |
| using plotly::detail::endpoint_t = server_t |
| using plotly::detail::server_config = websocketpp::config::asio |
| using plotly::detail::server_t = websocketpp::server<server_config> |
|
strong |
Enumeration of standard JSON-RPC 2.0 error codes.
| auto plotly::detail::generateUUID | ( | ) | -> std::string |
Generates a random UUID string in the format xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
| auto plotly::detail::getDefaultDownloadDirectory | ( | ) | -> std::filesystem::path |
| auto plotly::detail::getIpv4Addresses | ( | ) | -> std::vector< std::string > |
| auto plotly::detail::isChromiumAvailable | ( | ) | -> bool |
| auto plotly::detail::isDisplayAvailable | ( | ) | -> bool |
| auto plotly::detail::isGoogleChromeAvailable | ( | ) | -> bool |
| auto plotly::detail::openBrowser | ( | const std::string_view | url | ) | -> bool |
| auto plotly::detail::openChromiumWithHeadlessMode | ( | const std::string_view | url, |
| int | remoteDebuggingPort ) -> std::pair< bool, std::function< void()> > |
| auto plotly::detail::setDownloadDirectory | ( | const std::filesystem::path & | directory, |
| int | remoteDebuggingPort ) -> bool |