Commit 4daed1fa authored by Sebastian Eichelbaum's avatar Sebastian Eichelbaum
Browse files

[ADD] - added skeleton of data set module

parent 0aea6b7e
......@@ -46,6 +46,7 @@ WModule::WModule():
WModule::~WModule()
{
// cleanup
removeConnectors();
}
void WModule::addConnector( boost::shared_ptr<WModuleInputConnector> con )
......
......@@ -25,6 +25,7 @@
#include <iostream>
#include <string>
#include <vector>
#include <list>
#include <boost/shared_ptr.hpp>
......@@ -82,7 +83,8 @@ void WNavigationSliceModule::connectors()
// XXX to add a new connector and to offer it, these simple steps need to be done
// initialize it first
m_Input= boost::shared_ptr<WModuleInputData<std::list<boost::shared_ptr<WDataSet> > > >(
new WModuleInputData<std::list<boost::shared_ptr<WDataSet> > >( shared_from_this(), "in1", "List of datasets to show on the slices." )
new WModuleInputData<std::list<boost::shared_ptr<WDataSet> > >( shared_from_this(),
"in1", "List of datasets to show on the slices." )
);
// add it to the list of connectors. Please note, that a connector NOT added via addConnector will not work as expected.
......
......@@ -26,6 +26,7 @@
#define WNAVIGATIONSLICEMODULE_H
#include <string>
#include <list>
#include <osg/Node>
......
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