]> Creatis software - bbtk.git/blobdiff - packages/wx/src/bbwxFreeMemoryAlert.h
FreeMemoryAlert
[bbtk.git] / packages / wx / src / bbwxFreeMemoryAlert.h
diff --git a/packages/wx/src/bbwxFreeMemoryAlert.h b/packages/wx/src/bbwxFreeMemoryAlert.h
new file mode 100644 (file)
index 0000000..2628ad4
--- /dev/null
@@ -0,0 +1,46 @@
+//===== 
+// Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
+//===== 
+#ifndef __bbwxFreeMemoryAlert_h_INCLUDED__
+#define __bbwxFreeMemoryAlert_h_INCLUDED__
+
+#include "bbwx_EXPORT.h"
+#include "bbtkAtomicBlackBox.h"
+#include "iostream"
+
+namespace bbwx
+{
+
+class bbwx_EXPORT FreeMemoryAlert
+ : 
+   public bbtk::AtomicBlackBox
+{
+  BBTK_BLACK_BOX_INTERFACE(FreeMemoryAlert,bbtk::AtomicBlackBox);
+//===== 
+// Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
+//===== 
+  BBTK_DECLARE_INPUT(FreeMemoryLimit,double);
+//  BBTK_DECLARE_OUTPUT(Out,double);
+  BBTK_PROCESS(Process);
+  void Process();
+//===== 
+// Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
+//===== 
+};
+
+BBTK_BEGIN_DESCRIBE_BLACK_BOX(FreeMemoryAlert,bbtk::AtomicBlackBox);
+  BBTK_NAME("FreeMemoryAlert");
+  BBTK_AUTHOR("InfoDev");
+  BBTK_DESCRIPTION("No Description.");
+  BBTK_CATEGORY("empty");
+  BBTK_INPUT(FreeMemoryAlert,FreeMemoryLimit,"(default 1) Limit free memory en GB",double,"");
+//  BBTK_OUTPUT(FreeMemoryAlert,Out,"First output",double,"");
+BBTK_END_DESCRIBE_BLACK_BOX(FreeMemoryAlert);
+//===== 
+// Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
+//===== 
+}
+// EO namespace bbwx
+
+#endif // __bbwxFreeMemoryAlert_h_INCLUDED__
+