]> Creatis software - creaCLI.git/blobdiff - bbtk_Slicer_PKG/src/bbSlicerCommandLineModuleTest.h
The following boxxes compilated with no errors
[creaCLI.git] / bbtk_Slicer_PKG / src / bbSlicerCommandLineModuleTest.h
diff --git a/bbtk_Slicer_PKG/src/bbSlicerCommandLineModuleTest.h b/bbtk_Slicer_PKG/src/bbSlicerCommandLineModuleTest.h
new file mode 100644 (file)
index 0000000..d8c2809
--- /dev/null
@@ -0,0 +1,64 @@
+#ifndef __bbSlicerCommandLineModuleTest_h_INCLUDED__
+#define __bbSlicerCommandLineModuleTest_h_INCLUDED__
+
+#include "bbSlicer_EXPORT.h"
+#include "bbtkAtomicBlackBox.h"
+
+#include <vector>
+#include <cstdlib>
+#include <dlfcn.h>
+#include <sstream>
+#include <fstream>
+#include <iostream>
+
+#include <ModuleDescriptionUtilities.h>
+#include <ModuleDescriptionParser.h>
+#include <ModuleParameterGroup.h>
+#include <ModuleDescription.h>
+#include <ModuleParameter.h>
+
+#include "CreationTool.h"
+
+namespace bbSlicer {
+
+    class bbSlicer_EXPORT CommandLineModuleTest
+    :
+    public bbtk::AtomicBlackBox {
+        BBTK_BLACK_BOX_INTERFACE ( CommandLineModuleTest , bbtk::AtomicBlackBox ) ;
+
+        // GENERATED ARGS        
+        
+BBTK_DECLARE_INPUT ( InputValue1 , int );
+BBTK_DECLARE_INPUT ( InputValue2 , int );
+BBTK_DECLARE_INPUT ( OperationType , std::string );
+BBTK_DECLARE_INPUT ( OutputFile , std::string );
+
+        // EO GENERATED ARGS
+
+        BBTK_PROCESS ( Process ) ;
+        void Process ( ) ;
+    private:
+        void execute ( std::string lib , int _argc , char * _argv[] ) ;
+    } ;
+
+    BBTK_BEGIN_DESCRIBE_BLACK_BOX ( CommandLineModuleTest , bbtk::AtomicBlackBox ) ;
+    BBTK_NAME ( "CommandLineModuleTest" ) ;
+    BBTK_AUTHOR ( "Jean-Christophe Fillion-Robin" ) ;
+    BBTK_DESCRIPTION ( "Command line module used to test the automatic UI generator." ) ;
+    BBTK_CATEGORY ( "Testing" ) ;
+
+    // GENERATED DESCRPTION
+    
+BBTK_INPUT(CommandLineModuleTest , InputValue1 , "InputValue1" , int, "");
+BBTK_INPUT(CommandLineModuleTest , InputValue2 , "InputValue2" , int, "");
+BBTK_INPUT(CommandLineModuleTest , OperationType , "OperationType" , std::string, "");
+BBTK_INPUT(CommandLineModuleTest , OutputFile , "OutputFile" , std::string, "");
+
+    // EO GENERATED DESCRIPTION
+
+    BBTK_END_DESCRIBE_BLACK_BOX ( CommandLineModuleTest ) ;
+}
+
+#endif // __bbSlicerCommandLineModuleTest_h_INCLUDED__
+
+