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_);
collection_node_base(const std::string &node_name, const node_context &external_context)
Constructs a collection_node_base.
Definition: collection_node_base.h:55
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
A base class for all nodes from which systems models are constructed.
Definition: system_node.h:41
A base class for the collection node class template.
Definition: collection_node_base.h:21
virtual ~collection_node_base()=default
Destructor.
node_structure & internal_structure()
Definition: node_context.h:50
Definition: node_context.h:16
const node_context & prototype_context()
Returns a const reference to the prototype node's context object.
Definition: collection_node_base.h:63
Definition: node_interface.h:16
node_structure & prototype_structure()
Returns a non-const reference to the prototype node's encompassing structure object.
Definition: collection_node_base.h:69
Indicates message-passing.
data_mode node_dmode() const
Returns message for all collection nodes.
Definition: collection_node_base.h:49
Definition: node_structure.h:15