}
%}
-%{
-#include "Proc.hxx"
-
-#include <thread>
-#include <memory>
-#include <string>
-using namespace YACS::ENGINE;
-class ThreadDumpState
-{
- public:
- ThreadDumpState(Proc *proc, int nbSeconds, const std::string& dumpFile, const std::string& lockFile);
- ~ThreadDumpState();
- void start();
- void join();
-};
-%}
-
// ----------------------------------------------------------------------------
#ifdef SWIGPYTHON
}
}
+namespace YACS
+{
+ namespace ENGINE
+ {
+ class ThreadDumpState
+ {
+ public:
+ ThreadDumpState(Proc *proc, int nbSeconds, const std::string& dumpFile, const std::string& lockFile);
+ ~ThreadDumpState();
+ void start();
+ void join();
+ };
+ }
+}