Added: #1440 Interface to start the build

--HG--
branch : build_pipeline_v3
hg/feature/build_pipeline_v3
kaetemi 12 years ago
parent fbdc15ae96
commit b09e65a178

@ -40,15 +40,7 @@ using namespace std;
namespace PIPELINE { namespace PIPELINE {
IProcessHandler::IProcessHandler() void sdfkjsdklfjsdfodjsfop() { }
{
}
IProcessHandler::~IProcessHandler()
{
}
} /* namespace PIPELINE */ } /* namespace PIPELINE */

@ -35,6 +35,7 @@
#include <nel/misc/class_registry.h> #include <nel/misc/class_registry.h>
// Project includes // Project includes
#include "pipeline_process.h"
namespace PIPELINE { namespace PIPELINE {
@ -48,14 +49,17 @@ namespace PIPELINE {
class IProcessHandler : public NLMISC::IClassable class IProcessHandler : public NLMISC::IClassable
{ {
protected: protected:
// pointers IPipelineProcess *m_PipelineProcess;
// ...
// instances
// ...
public: public:
IProcessHandler(); IProcessHandler() : m_PipelineProcess(IPipelineProcess::getInstance()) { }
virtual ~IProcessHandler(); virtual ~IProcessHandler() { }
void setPipelineProcess(IPipelineProcess *pipelineProcess) { m_PipelineProcess = pipelineProcess; }
/// Build. Can't be any easier than that, can it?
virtual void build() = 0;
}; /* class IProcessHandler */ }; /* class IProcessHandler */
} /* namespace PIPELINE */ } /* namespace PIPELINE */

@ -55,7 +55,7 @@ protected:
public: public:
IProcessInfo() : m_PipelineProcess(IPipelineProcess::getInstance()) { } IProcessInfo() : m_PipelineProcess(IPipelineProcess::getInstance()) { }
virtual ~IProcessInfo() { } virtual ~IProcessInfo() { }
void setPipelineProcess(IPipelineProcess *pipelineProcess) { m_PipelineProcess = pipelineProcess; } void setPipelineProcess(IPipelineProcess *pipelineProcess) { m_PipelineProcess = pipelineProcess; }

@ -54,6 +54,11 @@ CProcessMaxShape::~CProcessMaxShape()
} }
void CProcessMaxShape::build()
{
}
namespace { namespace {
class CMaxExportShapeCommand : public NLMISC::IRunnable class CMaxExportShapeCommand : public NLMISC::IRunnable

@ -46,16 +46,12 @@ namespace PIPELINE {
*/ */
class CProcessMaxShape : public IProcessHandler class CProcessMaxShape : public IProcessHandler
{ {
protected:
// pointers
// ...
// instances
// ...
public: public:
CProcessMaxShape(); CProcessMaxShape();
virtual ~CProcessMaxShape(); virtual ~CProcessMaxShape();
virtual void build();
NLMISC_DECLARE_CLASS(CProcessMaxShape) NLMISC_DECLARE_CLASS(CProcessMaxShape)
}; /* class CProcessMaxShape */ }; /* class CProcessMaxShape */

@ -50,6 +50,11 @@ CProcessInterface::~CProcessInterface()
} }
void CProcessInterface::build()
{
}
} /* namespace PIPELINE */ } /* namespace PIPELINE */
/* end of file */ /* end of file */

@ -46,16 +46,12 @@ namespace PIPELINE {
*/ */
class CProcessInterface : public IProcessHandler class CProcessInterface : public IProcessHandler
{ {
protected:
// pointers
// ...
// instances
// ...
public: public:
CProcessInterface(); CProcessInterface();
virtual ~CProcessInterface(); virtual ~CProcessInterface();
virtual void build();
NLMISC_DECLARE_CLASS(CProcessInterface) NLMISC_DECLARE_CLASS(CProcessInterface)
}; /* class CProcessInterface */ }; /* class CProcessInterface */

@ -46,12 +46,6 @@ namespace PIPELINE {
*/ */
class CProcessInterfaceInfo : public IProcessInfo class CProcessInterfaceInfo : public IProcessInfo
{ {
protected:
// pointers
// ...
// instances
// ...
public: public:
CProcessInterfaceInfo(); CProcessInterfaceInfo();
virtual ~CProcessInterfaceInfo(); virtual ~CProcessInterfaceInfo();

Loading…
Cancel
Save