Go to the documentation of this file.
17 constexpr
static const char*
NAME =
"Script";
23 Script(
const std::shared_ptr<PipelineImpl>& par, int64_t nodeId);
24 Script(
const std::shared_ptr<PipelineImpl>& par, int64_t nodeId, std::unique_ptr<Properties> props);
49 void setScript(
const std::string& script,
const std::string& name =
"");
56 void setScript(
const std::vector<std::uint8_t>&
data,
const std::string& name =
"");
ProcessorType getProcessor() const
constexpr static const char * NAME
dai::Path getScriptPath() const
Get filesystem path from where script was loaded.
constexpr auto data(C &c) -> decltype(c.data())
void setScriptPath(const dai::Path &path, const std::string &name="")
void setScript(const std::string &script, const std::string &name="")
void setProcessor(ProcessorType type)
std::string getScriptName() const
Get the script name in utf-8.
Represents paths on a filesystem; accepts utf-8, Windows utf-16 wchar_t, or std::filesystem::path.
Script(const std::shared_ptr< PipelineImpl > &par, int64_t nodeId)
depthai
Author(s): Martin Peterlin
autogenerated on Sat Mar 22 2025 02:58:19