OptiViewJsonOutput.h File
OptiView JSON UDP sender helpers. More...
Included Headers
#include <cstdint>
#include <memory>
#include <string>
#include <vector>
Namespaces Index
| namespace | simaai |
| namespace | neat |
Classes Index
| struct | OptiViewObject |
| struct | OptiViewChannelOptions |
| class | OptiViewJsonOutput |
Description
OptiView JSON UDP sender helpers.
File Listing
The file content with the documentation metadata removed is:
13namespace simaai::neat {
15struct OptiViewObject {
24struct OptiViewChannelOptions {
27 int video_port_base = 9000;
28 int json_port_base = 9100;
31std::vector<std::string> OptiViewDefaultLabels();
33std::string OptiViewMakeJson(int64_t timestamp_ms, const std::string& frame_id,
37class OptiViewJsonOutput {
39 explicit OptiViewJsonOutput(const OptiViewChannelOptions& opt, std::string* err = nullptr);
41 OptiViewJsonOutput(const OptiViewJsonOutput&) = delete;
42 OptiViewJsonOutput& operator=(const OptiViewJsonOutput&) = delete;
43 OptiViewJsonOutput(OptiViewJsonOutput&&) noexcept;
44 OptiViewJsonOutput& operator=(OptiViewJsonOutput&&) noexcept;
49 int video_port() const;
53 bool send_detection(int64_t timestamp_ms, const std::string& frame_id,
54 const std::vector<OptiViewObject>& objects,
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.1.