Class HostNode

Inheritance Relationships

Base Type

Class Documentation

class HostNode : public dai::node::ThreadedHostNode

Public Functions

virtual std::shared_ptr<Buffer> processGroup(std::shared_ptr<dai::MessageGroup> in) = 0
inline void sendProcessingToPipeline(bool send)

Send processing to pipeline. If set to true, it’s important to call pipeline.run() in the main thread or pipeline.processTasks() in the main thread. Otherwise, if set to false, such action is not needed.

inline void runSyncingOnHost()
inline void runSyncingOnDevice()

Public Members

InputMap &inputs = sync->inputs
Output out = {*this, {"out", DEFAULT_GROUP, {{{DatatypeEnum::Buffer, true}}}}}

Protected Functions

virtual void buildStage1() override

Build stages;.

virtual void run() override