hmbdc
simplify-high-performance-messaging-programming
hmbdc::tips::Node< CcNode, RecvMessageTuple, HasMessageStash > Struct Template Reference

a Node is a thread of execution that can suscribe and receive Messages More...

#include <Node.hpp>

Detailed Description

template<typename CcNode, MessageTupleC RecvMessageTuple, bool HasMessageStash = false>
struct hmbdc::tips::Node< CcNode, RecvMessageTuple, HasMessageStash >

a Node is a thread of execution that can suscribe and receive Messages

All messages are received through callback function. All callback functions are called in this Node thread sequentially, so there is no data protection needs within a Node from this perspective.

Template Parameters
CcNodeThe concrete Node type
RecvMessageTupleThe std tuple list all the received Message types. The matching handleMessageCb for the above type needs to be provided for each type so this message is handled - othewise cannot not compile. For example: void handleMessageCb(MessageA const& m){...}
HasMessageStash- if the Node needs Message reorderring support See ClientWithStash.hpp
Examples:
hello-world.cpp.

The documentation for this struct was generated from the following file: