Exposed RX listener API via INode interface

This commit is contained in:
Pavel Kirienko
2015-06-09 18:35:49 +03:00
parent 2b8517905d
commit d185eccf18
@@ -114,6 +114,13 @@ public:
{
return getDispatcher().getCanIOManager().send(frame, tx_deadline, MonotonicTime(), iface_mask, qos, flags);
}
/**
* The @ref IRxFrameListener interface allows one to monitor all incoming CAN frames.
* This feature can be used to implement multithreaded nodes, or to add secondary protocol support.
*/
void removeRxFrameListener() { getDispatcher().removeRxFrameListener(); }
void installRxFrameListener(IRxFrameListener* lst) { getDispatcher().installRxFrameListener(lst); }
};
}