1 #ifndef __bbSlicerCommandLineModuleTest_h_INCLUDED__
2 #define __bbSlicerCommandLineModuleTest_h_INCLUDED__
4 #include "bbSlicer_EXPORT.h"
5 #include "bbtkAtomicBlackBox.h"
14 #include <ModuleDescriptionUtilities.h>
15 #include <ModuleDescriptionParser.h>
16 #include <ModuleParameterGroup.h>
17 #include <ModuleDescription.h>
18 #include <ModuleParameter.h>
20 #include "CreationTool.h"
24 class bbSlicer_EXPORT CommandLineModuleTest
26 public bbtk::AtomicBlackBox {
27 BBTK_BLACK_BOX_INTERFACE ( CommandLineModuleTest , bbtk::AtomicBlackBox ) ;
31 BBTK_DECLARE_INPUT ( InputValue1 , int );
32 BBTK_DECLARE_INPUT ( InputValue2 , int );
33 BBTK_DECLARE_INPUT ( OperationType , std::string );
34 BBTK_DECLARE_INPUT ( OutputFile , std::string );
38 BBTK_PROCESS ( Process ) ;
41 void execute ( std::string lib , int _argc , char * _argv[] ) ;
44 BBTK_BEGIN_DESCRIBE_BLACK_BOX ( CommandLineModuleTest , bbtk::AtomicBlackBox ) ;
45 BBTK_NAME ( "CommandLineModuleTest" ) ;
46 BBTK_AUTHOR ( "Jean-Christophe Fillion-Robin" ) ;
47 BBTK_DESCRIPTION ( "Command line module used to test the automatic UI generator." ) ;
48 BBTK_CATEGORY ( "Testing" ) ;
50 // GENERATED DESCRPTION
52 BBTK_INPUT(CommandLineModuleTest , InputValue1 , "InputValue1" , int, "");
53 BBTK_INPUT(CommandLineModuleTest , InputValue2 , "InputValue2" , int, "");
54 BBTK_INPUT(CommandLineModuleTest , OperationType , "OperationType" , std::string, "");
55 BBTK_INPUT(CommandLineModuleTest , OutputFile , "OutputFile" , std::string, "");
57 // EO GENERATED DESCRIPTION
59 BBTK_END_DESCRIBE_BLACK_BOX ( CommandLineModuleTest ) ;
62 #endif // __bbSlicerCommandLineModuleTest_h_INCLUDED__