Skip to main content

PCIeSink.h File

PCIe sink node for sending data to host via PCIe. More...

Included Headers

#include "builder/Node.h" #include <cstdint> #include <memory> #include <string> #include <vector>

Namespaces Index

namespacesimaai
namespaceneat
namespacenodes

Classes Index

structPCIeSinkOptions
classPCIeSink

Description

PCIe sink node for sending data to host via PCIe.

File Listing

The file content with the documentation metadata removed is:

1
6#pragma once
7
8#include "builder/Node.h"
9
10#include <cstdint>
11#include <memory>
12#include <string>
13#include <vector>
14
15namespace simaai::neat {
16
18 // Core properties (simaaipciesink)
19 std::string config_file;
20 std::string data_buf_name = "overlay";
21 int data_buffer_size = 4194304;
22 int num_buffers = 5;
23 int queue = 0;
24
25 // Multi-buffer mode
26 std::string param_buf_name = "camera_params";
28 bool use_multi_buffers = false;
29
30 // Timing controls
31 bool sync = true;
32 bool async_state = true;
33 int64_t max_lateness_ns = -1;
34 uint64_t processing_deadline_ns = 20000000;
35
36 // Optional diagnostics
37 bool transmit_kpi = false;
38 bool qos = false;
39};
40
41class PCIeSink final : public Node {
42public:
43 explicit PCIeSink(PCIeSinkOptions opt = {});
44
45 std::string kind() const override {
46 return "PCIeSink";
47 }
48 std::string user_label() const override {
49 return "pciesink";
50 }
51 NodeCapsBehavior caps_behavior() const override {
52 return NodeCapsBehavior::Dynamic;
53 }
54
55 std::string backend_fragment(int node_index) const override;
56 std::vector<std::string> element_names(int node_index) const override;
57
58 const PCIeSinkOptions& options() const {
59 return opt_;
60 }
61
62private:
64};
65
66} // namespace simaai::neat
67
68namespace simaai::neat::nodes {
69std::shared_ptr<simaai::neat::Node> PCIeSink(PCIeSinkOptions opt = {});
70} // namespace simaai::neat::nodes

Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.1.