Skip to content

Struct ILLIXR::py_query_response_writer

ClassList > ILLIXR > py_query_response_writer

  • #include <switchboard_bindings.hpp>

Public Attributes

Type Name
switchboard::writer< data_format::semantic_xr::query_response > * writer_

Public Functions

Type Name
void put (uint64_t query_id, pybind11::list point_clouds, pybind11::list colors, float server_latency, const std::string & text_query) const
Write a query response to the switchboard.

Public Attributes Documentation

variable writer_

switchboard::writer<data_format::semantic_xr::query_response>* ILLIXR::py_query_response_writer::writer_;

Public Functions Documentation

function put

Write a query response to the switchboard.

inline void ILLIXR::py_query_response_writer::put (
    uint64_t query_id,
    pybind11::list point_clouds,
    pybind11::list colors,
    float server_latency,
    const std::string & text_query
) const

Parameters:

  • query_id Echoed from the originating voice_query.
  • point_clouds List of dicts, each with "points" and "centroid".
  • colors List of per-point-cloud color floats.
  • server_latency Server processing latency in seconds.
  • text_query Original query text echoed back.


The documentation for this class was generated from the following file /home/friedel/devel/ILLIXR/illixr_release/ILLIXR/plugins/semantic_python/switchboard_bindings.hpp