Commit 6b72a7b7 authored by Sebastian Eichelbaum's avatar Sebastian Eichelbaum
Browse files

[STYLE]

parent 4d63744e
......@@ -54,8 +54,8 @@ public:
* \param name The name of this connector.
* \param description Short description of this connector.
*/
WModuleInputData( boost::shared_ptr<WModule> module, std::string name="", std::string description="" ):
WModuleInputConnector( module, name, description )
WModuleInputData( boost::shared_ptr<WModule> module, std::string name="", std::string description="" )
:WModuleInputConnector( module, name, description )
{
};
......@@ -79,7 +79,7 @@ public:
boost::shared_lock<boost::shared_mutex> lock = boost::shared_lock<boost::shared_mutex>( m_ConnectionListLock );
// is there something in the list?
if ( m_Connected.begin()==m_Connected.end() )
if ( m_Connected.begin() == m_Connected.end() )
{
lock.unlock();
......@@ -92,7 +92,7 @@ public:
// get data
boost::shared_ptr<T> dat = boost::shared_dynamic_cast<WModuleOutputData<T> >( *m_Connected.begin() )->getData();
// unlock and return
lock.unlock();
......
......@@ -51,8 +51,8 @@ public:
* \param name The name of this connector.
* \param description Short description of this connector.
*/
WModuleOutputData( boost::shared_ptr<WModule> module, std::string name="", std::string description="" ):
WModuleOutputConnector( module, name, description )
WModuleOutputData( boost::shared_ptr<WModule> module, std::string name="", std::string description="" )
:WModuleOutputConnector( module, name, description )
{
m_data = boost::shared_ptr<T>();
};
......@@ -71,7 +71,7 @@ public:
*/
virtual void updateData( boost::shared_ptr<T> data )
{
m_data=data;
m_data = data;
// broadcast this event
propagateDataChange();
......
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