Commit 34ae4103 authored by Alexander Wiebel's avatar Alexander Wiebel
Browse files

[STYLE]

parent ee420916
......@@ -103,7 +103,7 @@ boost::signals2::signal1< void, std::string >* WProperties::addColor( std::strin
WProperty* WProperties::findProp( std::string name )
{
if ( m_propertyList.count( name) != 0 )
if( m_propertyList.count( name ) != 0 )
{
return m_propertyList[name];
}
......@@ -120,7 +120,7 @@ WProperty* WProperties::findProp( std::string name )
std::string WProperties::getValueString( const std::string prop )
{
if ( findProp( prop ) )
if( findProp( prop ) )
{
return findProp( prop )->getValueString();
}
......
......@@ -86,10 +86,10 @@ public:
template < typename T > void setValue( std::string prop, const T& arg )
{
boost::shared_lock<boost::shared_mutex> slock;
slock = boost::shared_lock<boost::shared_mutex>( m_updateLock );
boost::shared_lock< boost::shared_mutex > slock;
slock = boost::shared_lock< boost::shared_mutex >( m_updateLock );
if ( findProp( prop ) )
if( findProp( prop ) )
{
findProp( prop )->setValue( arg );
}
......@@ -99,7 +99,7 @@ public:
template < typename T > void setMin( std::string prop, const T& arg )
{
if ( findProp( prop ) )
if( findProp( prop ) )
{
findProp( prop )->setMin( arg );
}
......@@ -107,7 +107,7 @@ public:
template < typename T > void setMax( std::string prop, const T& arg )
{
if ( findProp( prop ) )
if( findProp( prop ) )
{
findProp( prop )->setMax( arg );
}
......@@ -115,7 +115,7 @@ public:
template < typename T > T getValue( std::string prop )
{
if ( findProp( prop ) )
if( findProp( prop ) )
{
return findProp( prop )->getValue< T >();
}
......@@ -126,7 +126,7 @@ public:
template < typename T > T getMin( std::string prop )
{
if ( findProp( prop ) )
if( findProp( prop ) )
{
return findProp( prop )->getMin< T >();
}
......@@ -137,7 +137,7 @@ public:
template < typename T > T getMax( std::string prop )
{
if ( findProp( prop ) )
if( findProp( prop ) )
{
return findProp( prop )->getMax< T >();
}
......@@ -150,9 +150,9 @@ public:
private:
WProperty* findProp( std::string name );
std::map < std::string, WProperty* >m_propertyList;
std::map < std::string, WProperty* > m_propertyList;
std::vector< WProperty* >m_propertyVector;
std::vector< WProperty* > m_propertyVector;
boost::shared_mutex m_updateLock;
};
......
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