Commit e4bc6db0 authored by Sebastian Eichelbaum's avatar Sebastian Eichelbaum
Browse files

[CHANGE] - renamed forward connector

parent 2494e3e7
......@@ -121,7 +121,6 @@ private:
* Connection for Data Changed signal of the connected output connector.
*/
boost::signals2::connection m_DataChangedConnection;
};
#endif // WMODULEINPUTCONNECTOR_H
......
......@@ -22,5 +22,5 @@
//
//---------------------------------------------------------------------------
#include "WModuleInputForwardConnector.h"
#include "WModuleInputForwardData.h"
......@@ -25,6 +25,8 @@
#ifndef WMODULEINPUTFORWARDDATA_H
#define WMODULEINPUTFORWARDDATA_H
#include <string>
#include <boost/shared_ptr.hpp>
#include "../common/WLogger.h"
......@@ -38,7 +40,7 @@
* connector (which is not visible to the outside world).
*/
template< typename T >
class WModuleInputForwardConnector: public WModuleInputData< T >
class WModuleInputForwardData: public WModuleInputData< T >
{
public:
......@@ -49,7 +51,7 @@ public:
* \param name The name of this connector.
* \param description Short description of this connector.
*/
WModuleInputForwardConnector( boost::shared_ptr<WModule> module, std::string name="", std::string description="" )
WModuleInputForwardData( boost::shared_ptr<WModule> module, std::string name="", std::string description="" )
:WModuleInputData< T >( module, name, description )
{
// initialize the output data connector
......@@ -59,7 +61,7 @@ public:
/**
* Destructor.
*/
virtual ~WModuleInputForwardConnector()
virtual ~WModuleInputForwardData()
{
}
......
......@@ -128,8 +128,8 @@ void WMDistanceMapIsosurface::connectors()
// initialize connectors
// this is the scalar field input
m_input = boost::shared_ptr< WModuleInputForwardConnector< WDataSetSingle > >(
new WModuleInputForwardConnector< WDataSetSingle >( shared_from_this(),
m_input = boost::shared_ptr< WModuleInputForwardData< WDataSetSingle > >(
new WModuleInputForwardData< WDataSetSingle >( shared_from_this(),
"in", "Dataset to compute distance map for." )
);
......
......@@ -30,7 +30,7 @@
#include "../../kernel/WModule.h"
#include "../../kernel/WModuleContainer.h"
#include "../../kernel/WModuleInputData.h"
#include "../../kernel/WModuleInputForwardConnector.h"
#include "../../kernel/WModuleInputForwardData.h"
#include "../../kernel/WModuleOutputData.h"
/**
......@@ -92,7 +92,7 @@ private:
*/
std::string m_description;
boost::shared_ptr< WModuleInputForwardConnector< WDataSetSingle > > m_input; //!< Input connector required by this module.
boost::shared_ptr< WModuleInputForwardData< WDataSetSingle > > m_input; //!< Input connector required by this module.
/**
* Connector to provide the distance map to other modules.
......
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