X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FUtils%2FConsole%2FVariables.cti;h=3b787bdf02c27f7166b95342292d3a5db722a2d9;hb=4101c2b818ec67e7469ebb44f030eed2185c4ab0;hp=80d5d7340c2593bdf1d2c72607f8212d39542045;hpb=f13780e9e4da7df981d6f6542fbdc714beb34765;p=senf.git diff --git a/senf/Utils/Console/Variables.cti b/senf/Utils/Console/Variables.cti index 80d5d73..3b787bd 100644 --- a/senf/Utils/Console/Variables.cti +++ b/senf/Utils/Console/Variables.cti @@ -1,6 +1,6 @@ // $Id$ // -// Copyright (C) 2008 +// Copyright (C) 2008 // Fraunhofer Institute for Open Communication Systems (FOKUS) // Competence Center NETwork research (NET), St. Augustin, GERMANY // Stefan Bund @@ -28,9 +28,9 @@ // Custom includes #define prefix_ inline -///////////////////////////////cti.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::detail::QueryVariable template @@ -52,7 +52,7 @@ prefix_ Variable const & senf::console::detail::QueryVariable::operato return var_; } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::detail::SetVariable template @@ -83,7 +83,7 @@ prefix_ void senf::console::detail::SetVariable::operator()(Variable c var_ = value; } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::ConstVariableFactory template @@ -128,7 +128,7 @@ ConstVariableFactory(Variable const & var) : queryOverload_ (detail::QueryVariable::create(var)) {} -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::VariableFactory template @@ -151,7 +151,7 @@ template prefix_ typename senf::console::factory::VariableFactory senf::console::factory::VariableFactory::onChange(OnChangeHandler handler) { - setOverload_->function( + setOverload_->function( boost::bind(detail::SetVariable(var_, handler),_2)); return *this; } @@ -193,12 +193,12 @@ senf::console::factory::VariableFactory::create(DirectoryNode & dir, template prefix_ senf::console::factory::VariableFactory::VariableFactory(Variable & var) - : ConstVariableFactory (var), + : ConstVariableFactory (var), setOverload_ (detail::SetVariable::create(var)), var_ (var) {} -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// template prefix_ senf::console::factory::VariableFactory @@ -228,7 +228,7 @@ senf::console::factory::Variable(boost::reference_wrapper var) return ConstVariableFactory(var); } -///////////////////////////////cti.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_