Class MessageDemux
Defined in File MessageDemux.hpp
Inheritance Relationships
Base Types
public dai::DeviceNodeCRTP< DeviceNode, MessageDemux, MessageDemuxProperties >(Template Class DeviceNodeCRTP)public dai::HostRunnable(Class HostRunnable)
Class Documentation
-
class MessageDemux : public dai::DeviceNodeCRTP<DeviceNode, MessageDemux, MessageDemuxProperties>, public dai::HostRunnable
Public Functions
-
void setRunOnHost(bool runOnHost)
Specify whether to run on host or device By default, the node will run on device.
-
virtual bool runOnHost() const override
Check if the node is set to run on host
-
virtual void run() override
-
void setProcessor(ProcessorType type)
Specify on which processor the node should run. RVC2 only.
- Parameters:
type – Processor type - Leon CSS or Leon MSS
-
ProcessorType getProcessor() const
Get on which processor the node should run
- Returns:
Processor type - Leon CSS or Leon MSS
-
inline DeviceNodeCRTP()
-
inline DeviceNodeCRTP(std::unique_ptr<Properties> props)
-
inline DeviceNodeCRTP(std::unique_ptr<Properties> props, bool confMode)
Public Members
-
Input input = {*this, {"input", DEFAULT_GROUP, DEFAULT_BLOCKING, DEFAULT_QUEUE_SIZE, {{{DatatypeEnum::MessageGroup, false}}}, DEFAULT_WAIT_FOR_MESSAGE}}
Input message of type MessageGroup
-
OutputMap outputs = {*this, "outputs", {DEFAULT_NAME, DEFAULT_GROUP, {{{DatatypeEnum::Buffer, true}}}}}
A map of outputs, where keys are same as in the input MessageGroup
Public Static Attributes
-
static constexpr const char *NAME = "MessageDemux"
-
void setRunOnHost(bool runOnHost)