31#ifndef DW_FRAMEWORK_EXCEPTIONSAFENODE_HPP_
32#define DW_FRAMEWORK_EXCEPTIONSAFENODE_HPP_
57 dwStatus
run()
override;
68 dwStatus
setName(const
char* name) override;
70 dwStatus
getName(const
char** name) override;
114 template <typename T>
117 return dynamic_cast<T&
>(*m_impl);
Basic error signal that gets reported only when there is an error.
Basic health signal that describes the health status of the graph.
~ExceptionSafeProcessNode() override=default
dwStatus updateCurrentHealthSignal(dwGraphHealthSignal &signal) override
dwStatus getModuleErrorSignal(dwErrorSignal &errorSignal) override
dwStatus collectHealthSignals(dwGraphHealthSignal *&healthSignal) override
dwStatus addToErrorSignal(uint32_t error, dwTime_t timestamp=0L) override
dwStatus clearErrorSignal() override
dwStatus setNodePeriod(uint32_t period) override final
dwStatus setState(const char *state) override
dwStatus getNodeHealthSignal(dwGraphHealthSignal &healthSignal) override
dwStatus getNodeErrorSignal(dwGraphErrorSignal &errorSignal) override
size_t getPassCount() const noexcept override
dwStatus getName(const char **name) override
void resetPorts() override
dwStatus getPass(Pass *&pass, size_t index) override
ExceptionSafeProcessNode(std::unique_ptr< Node > impl)
dwStatus clearHealthSignal() override
dwStatus getInputPort(const size_t portID, dw::framework::PortBase *&port) const override
dwStatus runPass(size_t passIndex) override
dwStatus setOutputChannel(ChannelObject *channel, size_t portID) override
dwStatus getOutputChannel(const size_t portID, ChannelObject *&channel) const override
dwStatus getModuleHealthSignal(dwHealthSignal &healthSignal) override
std::unique_ptr< Node > m_impl
dwStatus getInputChannel(const size_t portID, ChannelObject *&channel) const override
dwStatus validate() override
dwStatus setIterationCount(uint32_t iterationCount) override final
dwStatus addToHealthSignal(uint32_t error, dwTime_t timestamp=0L) override
dwStatus setName(const char *name) override
dwStatus getPasses(VectorFixed< Pass * > &passList) override
dwStatus setInputChannel(ChannelObject *channel, size_t portID) override
dwStatus updateCurrentErrorSignal(dwGraphErrorSignal &signal) override
dwStatus collectErrorSignals(dwGraphErrorSignal *&errorSignal) override
dwStatus reset() override
dwStatus getOutputPort(const size_t portID, dw::framework::PortBase *&port) const override
dwStatus setEndTime(dwTime_t endTime) override
dwStatus isVirtual(bool *isVirtualBool) override
ISensorNode * m_sensorNodeImpl
dwStatus isEnabled(bool &isEnabled) override
dwStatus setDataEventWriteCallback(DataEventWriteCallback cb) override
dwStatus setAffinityMask(uint mask) override
dwStatus start() override
ExceptionSafeSensorNode(std::unique_ptr< Node > impl)
dwStatus setStartTime(dwTime_t startTime) override
dwStatus setThreadPriority(int prio) override
dwStatus setLockstepDeterministicMode(bool enable) final
dwStatus getNextTimestamp(dwTime_t &nextTimestamp) final
dwStatus setDataEventReadCallback(DataEventReadCallback cb) override
dw::core::Function< bool(DataEvent &)> DataEventReadCallback
dw::core::Function< void(DataEvent)> DataEventWriteCallback
Pass is a runnable describes the metadata of a pass.
constexpr size_t passIndex(dw::core::StringView identifier)
Get the the pass index for a pass identified by name.