Program Listing for File XLinkOut.hpp
↰ Return to documentation for file (include/depthai/pipeline/node/XLinkOut.hpp)
#pragma once
#include <depthai/pipeline/Node.hpp>
// shared
#include <depthai-shared/properties/XLinkOutProperties.hpp>
namespace dai {
namespace node {
class XLinkOut : public NodeCRTP<Node, XLinkOut, XLinkOutProperties> {
public:
constexpr static const char* NAME = "XLinkOut";
public:
XLinkOut(const std::shared_ptr<PipelineImpl>& par, int64_t nodeId);
XLinkOut(const std::shared_ptr<PipelineImpl>& par, int64_t nodeId, std::unique_ptr<Properties> props);
Input input{*this, "in", Input::Type::SReceiver, true, 8, true, {{DatatypeEnum::Buffer, true}}};
void setStreamName(const std::string& name);
void setFpsLimit(float fps);
void setMetadataOnly(bool metadataOnly);
std::string getStreamName() const;
float getFpsLimit() const;
bool getMetadataOnly() const;
};
} // namespace node
} // namespace dai