Commit 114f81b3 authored by Sebastian Eichelbaum's avatar Sebastian Eichelbaum

[DOC]

parent fdaa7bb5
......@@ -163,6 +163,8 @@ void WMTemplate::connectors()
new WModuleInputData< WDataSetSingle >( shared_from_this(),
"in", "The dataset to display" )
);
// Lazy Programmer's Alternative:
// m_input = WModuleInputData< WDataSetSingle >::createAndAdd( shared_from_this(), "in", "The dataset to display" );
// This creates an input connector which can receive WDataSetSingle. It will never be able to connect to output connectors providing just a
// WDataSet (which is the father class of WDataSetSingle), but it will be able to be connected to an output connector with a type derived
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment