Commit 89e35573 authored by Sebastian Eichelbaum's avatar Sebastian Eichelbaum
Browse files

[STYLE]

parent 9e1c8b62
......@@ -23,6 +23,7 @@
//---------------------------------------------------------------------------
#include <iostream>
#include <list>
#include <map>
#include <set>
#include <string>
......
......@@ -25,6 +25,7 @@
#ifndef WQTDATASETBROWSER_H
#define WQTDATASETBROWSER_H
#include <list>
#include <string>
#include <vector>
......
......@@ -142,7 +142,8 @@ void WModuleContainer::add( boost::shared_ptr< WModule > module, bool run )
( *iter )( module );
}
slock = boost::shared_lock<boost::shared_mutex>( m_connectorNotifiersLock );
for ( std::list< t_GenericSignalHandlerType >::iterator iter = m_connectorEstablishedNotifiers.begin(); iter != m_connectorEstablishedNotifiers.end(); ++iter)
for ( std::list< t_GenericSignalHandlerType >::iterator iter = m_connectorEstablishedNotifiers.begin();
iter != m_connectorEstablishedNotifiers.end(); ++iter)
{
// subscribe on each input
for ( InputConnectorList::const_iterator ins = module->getInputConnectors().begin(); ins != module->getInputConnectors().end(); ++ins )
......@@ -151,7 +152,8 @@ void WModuleContainer::add( boost::shared_ptr< WModule > module, bool run )
subscriptionsLock->get().insert( ModuleSubscription( module, signalCon ) );
}
}
for ( std::list< t_GenericSignalHandlerType >::iterator iter = m_connectorClosedNotifiers.begin(); iter != m_connectorClosedNotifiers.end(); ++iter)
for ( std::list< t_GenericSignalHandlerType >::iterator iter = m_connectorClosedNotifiers.begin();
iter != m_connectorClosedNotifiers.end(); ++iter)
{
// subscribe on each input
for ( InputConnectorList::const_iterator ins = module->getInputConnectors().begin(); ins != module->getInputConnectors().end(); ++ins )
......
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