#ifndef __bbstdConfiguration_h_INCLUDED__ #define __bbstdConfiguration_h_INCLUDED__ #include "bbtkAtomicBlackBox.h" namespace bbstd { class Configuration : public bbtk::AtomicBlackBox { BBTK_USER_BLACK_BOX_INTERFACE(Configuration,bbtk::AtomicBlackBox); BBTK_DECLARE_OUTPUT(DataPath,std::string); BBTK_DECLARE_OUTPUT(FileSeparator,std::string); BBTK_DECLARE_OUTPUT(SystemType,int); BBTK_PROCESS(DoProcess); void DoProcess(); protected: virtual void bbUserConstructor(); }; BBTK_BEGIN_DESCRIBE_BLACK_BOX(Configuration,bbtk::AtomicBlackBox); BBTK_NAME("Configuration"); BBTK_AUTHOR("jpr@creatis.insa-lyon.fr"); BBTK_CATEGORY("misc"); BBTK_DESCRIPTION("Gets configuration informations"); BBTK_OUTPUT(Configuration,DataPath,"Sample Data Path",std::string); BBTK_OUTPUT(Configuration,FileSeparator,"/ or \\",std::string); BBTK_OUTPUT(Configuration,SystemType,"0=Linux 1=Windows",int); BBTK_END_DESCRIBE_BLACK_BOX(Configuration); } // EO namespace bbstd #endif // __bbstdConfiguration_h_INCLUDED__