Skip to content
Snippets Groups Projects
Commit 69353f33 authored by Otmane Lahlou's avatar Otmane Lahlou
Browse files

ENH : boolean not needed anymore, some cleaning

parent 8e2f3ee1
No related branches found
No related tags found
No related merge requests found
......@@ -44,7 +44,6 @@ Application::Application()
m_InternalProcessList(),
m_InternalProcessListName(),
m_WroteOutput(0),
m_ExecuteAndWriteOutputDone(false),
m_Logger(itk::Logger::New())
{
// Don't call Init from the constructor, since it calls a virtual method !
......@@ -111,7 +110,6 @@ void Application::Execute()
void Application::ExecuteAndWriteOutput()
{
m_ExecuteAndWriteOutputDone = false;
this->Execute();
m_WroteOutput = 0;
std::vector<std::string> paramList = GetParametersKeys(true);
......@@ -128,7 +126,6 @@ void Application::ExecuteAndWriteOutput()
m_WroteOutput++;
}
}
m_ExecuteAndWriteOutputDone = true;
}
/* Enable the use of an optional parameter. Returns the previous state */
......
......@@ -27,9 +27,6 @@
#include "otbWrapperParameterGroup.h"
#include "itkLogger.h"
//#include "otbWrapperEventsSender.h"
//#include "otbWrapperEvent.h"
namespace otb
{
namespace Wrapper
......@@ -40,7 +37,7 @@ namespace Wrapper
* TODO
*
*/
class ITK_EXPORT Application: /*public EventsSender<Event>, */public itk::Object
class ITK_EXPORT Application: public itk::Object
{
public:
/** Standard class typedefs. */
......@@ -281,9 +278,6 @@ public:
this->Modified();
}
itkGetMacro( ExecuteAndWriteOutputDone, bool )
itkSetMacro( ExecuteAndWriteOutputDone, bool )
itk::Logger* GetLogger();
protected:
......@@ -330,7 +324,6 @@ private:
std::vector<itk::ProcessObject *> m_InternalProcessList;
std::vector<std::string> m_InternalProcessListName;
unsigned int m_WroteOutput;
bool m_ExecuteAndWriteOutputDone;
itk::Logger::Pointer m_Logger;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment