32 #include "core/dataHandler/WDataSetFibers.h"
33 #include "core/kernel/WModule.h"
34 #include "core/kernel/WModuleInputData.h"
35 #include "core/kernel/WModuleOutputData.h"
59 virtual const std::string
getName()
const;
73 virtual std::shared_ptr< WModule >
factory()
const;
99 std::shared_ptr< WModuleOutputData< WDataSetFibers > >
m_output;
106 void readData( std::string filename );
A module to read VCL line data.
WPropFilename m_dataFile
The data will be read from this file.
virtual void moduleMain()
Entry point after loading the module.
virtual const std::string getName() const
Gives back the name of this module.
virtual void connectors()
Initialize the connectors this module is using.
virtual ~WMReadVCL()
Destructor of module.
virtual void properties()
Initialize the properties for this module.
WPropInt m_attrib
The index of the attribute to use.
WPropBool m_loadAttrib
Load additional attribute.
virtual const std::string getDescription() const
Gives back a description of this module.
std::shared_ptr< WDataSetFibers > m_dataSet
This data set is provided as output through the connector.
WPropTrigger m_readTriggerProp
The trigger for loading.
WMReadVCL()
Constructor of module.
std::shared_ptr< WModuleOutputData< WDataSetFibers > > m_output
Output connector provided by this module.
std::shared_ptr< WCondition > m_propCondition
A condition used to notify about changes in several properties.
void readData(std::string filename)
Read VCL data.
virtual std::shared_ptr< WModule > factory() const
Due to the prototype design pattern used to build modules, this method returns a new instance of this...
Class representing a single module of OpenWalnut.