X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=packages%2Fstd%2Fsrc%2FbbstdConfiguration.cxx;h=e6032a382f2b598a28999aa2b6c73db438b6022e;hb=7a26044dd46cb80ab90ee1f63d3b4d8ce52b2d39;hp=8fab8fe47f525b5a4b01ca15900163758529ab54;hpb=e27f49d94042bf18dc5067807594325eea8b6d56;p=bbtk.git diff --git a/packages/std/src/bbstdConfiguration.cxx b/packages/std/src/bbstdConfiguration.cxx index 8fab8fe..e6032a3 100644 --- a/packages/std/src/bbstdConfiguration.cxx +++ b/packages/std/src/bbstdConfiguration.cxx @@ -4,31 +4,29 @@ #include "bbtkConfigurationFile.h" namespace bbstd { - - BBTK_ADD_BLACK_BOX_TO_PACKAGE(std,Configuration) - BBTK_USER_BLACK_BOX_IMPLEMENTATION(Configuration,bbtk::UserBlackBox); - - void Configuration::bbUserConstructor() - { - - } - - - void Configuration::DoProcess() - { - bbSetOutputDataPath( bbtk::ConfigurationFile::GetInstance().Get_data_path() ); - bbSetOutputFileSeparator( bbtk::ConfigurationFile::GetInstance().Get_file_separator() ); - + BBTK_ADD_BLACK_BOX_TO_PACKAGE(std,Configuration); + BBTK_BLACK_BOX_IMPLEMENTATION(Configuration,bbtk::AtomicBlackBox); + + void Configuration::bbUserConstructor() + { + + } + + void Configuration::DoProcess() + { + bbSetOutputBinPath( bbtk::ConfigurationFile::GetInstance().Get_bin_path() ); + bbSetOutputDataPath( bbtk::ConfigurationFile::GetInstance().Get_data_path() ); + bbSetOutputDocPath( bbtk::ConfigurationFile::GetInstance().Get_doc_path() ); + bbSetOutputFileSeparator( bbtk::ConfigurationFile::GetInstance().Get_file_separator() ); + #if defined(__GNUC__) - bbSetOutputSystemType( 0 ); + bbSetOutputSystemType( 0 ); #elif defined(_WIN32) - bbSetOutputSystemType( 1 ); + bbSetOutputSystemType( 1 ); #else - bbSetOutputSystemType( -1 ); + bbSetOutputSystemType( -1 ); #endif - - } + + } } // EO namespace bbstd - -