2 #ifndef SYDEVS_SYSTEMS_COLLECTION_NODE_BASE_H_
3 #define SYDEVS_SYSTEMS_COLLECTION_NODE_BASE_H_
57 , prototype_context_(&const_cast<
node_interface&>(external_interface()),
65 return const_cast<const node_context&
>(prototype_context_);
A base class for the collection node class template.
Definition: collection_node_base.h:22
const node_context & prototype_context()
Returns a const reference to the prototype node's context object.
Definition: collection_node_base.h:63
node_structure & prototype_structure()
Returns a non-const reference to the prototype node's encompassing structure object.
Definition: collection_node_base.h:69
data_mode node_dmode() const
Returns message for all collection nodes.
Definition: collection_node_base.h:49
virtual ~collection_node_base()=default
Destructor.
collection_node_base(const std::string &node_name, const node_context &external_context)
Constructs a collection_node_base.
Definition: collection_node_base.h:55
Definition: node_context.h:17
node_structure & internal_structure()
Definition: node_context.h:50
Definition: node_interface.h:17
Definition: node_structure.h:16
A base class for all nodes from which systems models are constructed.
Definition: system_node.h:42
const std::string & node_name() const
Returns the name of the node.
Definition: system_node.h:135
data_mode
Indicates the relevant data communication paradigm: dataflow (flow) or message-passing (message).
Definition: data_mode.h:16
const auto message
Equivalent to data_mode::message.
Definition: data_mode.h:23