.. _file_foxglove_include_foxglove_remote_data_loader_backend.hpp: File remote_data_loader_backend.hpp =================================== |exhale_lsh| :ref:`Parent directory ` (``foxglove/include/foxglove``) .. |exhale_lsh| unicode:: U+021B0 .. UPWARDS ARROW WITH TIP LEFTWARDS Definition (``foxglove/include/foxglove/remote_data_loader_backend.hpp``) ------------------------------------------------------------------------- .. toctree:: :maxdepth: 1 program_listing_file_foxglove_include_foxglove_remote_data_loader_backend.hpp.rst Detailed Description -------------------- Types and utilities for building remote data loader manifests. Use :ref:`exhale_struct_structfoxglove_1_1remote__data__loader__backend_1_1ChannelSet` to declare channels, then construct a :ref:`exhale_struct_structfoxglove_1_1remote__data__loader__backend_1_1StreamedSource` with the resulting topics and schemas. This header requires nlohmann/json and tobiaslocker/base64 to be available on the include path. Example #include<:ref:`file_foxglove_include_foxglove_remote_data_loader_backend.hpp`> #include namespacerdl=:ref:`namespace_foxglove__remote_data_loader_backend`; rdl::ChannelSetchannels; channels.insert<:ref:`exhale_struct_structfoxglove_1_1messages_1_1Vector3`>("/demo"); rdl::StreamedSourcesource; source.url="/v1/data?flightId=ABC123"; source.id="flight-v1-ABC123"; source.topics=std::move(channels.topics); source.schemas=std::move(channels.schemas); source.start_time="2024-01-01T00:00:00Z"; source.end_time="2024-01-02T00:00:00Z"; rdl::Manifestmanifest; manifest.name="FlightABC123"; manifest.sources={std::move(source)}; std::stringjson_str=rdl::toJsonString(manifest); Includes -------- - ``base64.hpp`` - ``cstdint`` - ``foxglove/schema.hpp`` (:ref:`file_foxglove_include_foxglove_schema.hpp`) - ``nlohmann/json.hpp`` - ``optional`` - ``stdexcept`` - ``string`` - ``string_view`` - ``vector`` Namespaces ---------- - :ref:`namespace_foxglove` - :ref:`namespace_foxglove__remote_data_loader_backend` Classes ------- - :ref:`exhale_struct_structfoxglove_1_1remote__data__loader__backend_1_1ChannelSet` - :ref:`exhale_struct_structfoxglove_1_1remote__data__loader__backend_1_1Manifest` - :ref:`exhale_struct_structfoxglove_1_1remote__data__loader__backend_1_1Schema` - :ref:`exhale_struct_structfoxglove_1_1remote__data__loader__backend_1_1StreamedSource` - :ref:`exhale_struct_structfoxglove_1_1remote__data__loader__backend_1_1Topic` Functions --------- - :ref:`exhale_function_namespacefoxglove_1_1remote__data__loader__backend_1afeeb04cf2cc6154d0125ef5ae310027a` - :ref:`exhale_function_namespacefoxglove_1_1remote__data__loader__backend_1a0ebb6a8f48e5ba77ae0829e12d6be8d8`