Added: Pipeline interface class for plugins to request information from the pipeline service.
--HG-- branch : build_pipeline_v3hg/feature/build_pipeline_v3
parent
811b8e3736
commit
1802d9c091
@ -0,0 +1,47 @@
|
|||||||
|
/**
|
||||||
|
* \file pipeline_interface.cpp
|
||||||
|
* \brief IPipelineInterface
|
||||||
|
* \date 2012-02-25 12:10GMT
|
||||||
|
* \author Jan Boon (Kaetemi)
|
||||||
|
* IPipelineInterface
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Copyright (C) 2012 by authors
|
||||||
|
*
|
||||||
|
* This file is part of RYZOM CORE PIPELINE.
|
||||||
|
* RYZOM CORE PIPELINE is free software: you can redistribute it
|
||||||
|
* and/or modify it under the terms of the GNU General Public License
|
||||||
|
* as published by the Free Software Foundation, either version 2 of
|
||||||
|
* the License, or (at your option) any later version.
|
||||||
|
*
|
||||||
|
* RYZOM CORE PIPELINE is distributed in the hope that it will be
|
||||||
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty
|
||||||
|
* of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with RYZOM CORE PIPELINE; see the file COPYING. If not, see
|
||||||
|
* <http://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <nel/misc/types_nl.h>
|
||||||
|
#include "pipeline_interface.h"
|
||||||
|
|
||||||
|
// STL includes
|
||||||
|
|
||||||
|
// NeL includes
|
||||||
|
// #include <nel/misc/debug.h>
|
||||||
|
|
||||||
|
// Project includes
|
||||||
|
|
||||||
|
using namespace std;
|
||||||
|
// using namespace NLMISC;
|
||||||
|
|
||||||
|
namespace PIPELINE {
|
||||||
|
|
||||||
|
void fksjdlfkjdskfljdsklfjdslkfjdsf() { }
|
||||||
|
|
||||||
|
} /* namespace PIPELINE */
|
||||||
|
|
||||||
|
/* end of file */
|
@ -0,0 +1,57 @@
|
|||||||
|
/**
|
||||||
|
* \file pipeline_interface.h
|
||||||
|
* \brief IPipelineInterface
|
||||||
|
* \date 2012-02-25 12:10GMT
|
||||||
|
* \author Jan Boon (Kaetemi)
|
||||||
|
* IPipelineInterface
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Copyright (C) 2012 by authors
|
||||||
|
*
|
||||||
|
* This file is part of RYZOM CORE PIPELINE.
|
||||||
|
* RYZOM CORE PIPELINE is free software: you can redistribute it
|
||||||
|
* and/or modify it under the terms of the GNU General Public License
|
||||||
|
* as published by the Free Software Foundation, either version 2 of
|
||||||
|
* the License, or (at your option) any later version.
|
||||||
|
*
|
||||||
|
* RYZOM CORE PIPELINE is distributed in the hope that it will be
|
||||||
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty
|
||||||
|
* of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with RYZOM CORE PIPELINE; see the file COPYING. If not, see
|
||||||
|
* <http://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef PIPELINE_PIPELINE_INTERFACE_H
|
||||||
|
#define PIPELINE_PIPELINE_INTERFACE_H
|
||||||
|
#include <nel/misc/types_nl.h>
|
||||||
|
|
||||||
|
// STL includes
|
||||||
|
|
||||||
|
// NeL includes
|
||||||
|
|
||||||
|
// Project includes
|
||||||
|
|
||||||
|
namespace PIPELINE {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* \brief IPipelineInterface
|
||||||
|
* \date 2012-02-25 12:10GMT
|
||||||
|
* \author Jan Boon (Kaetemi)
|
||||||
|
* IPipelineInterface
|
||||||
|
*/
|
||||||
|
class IPipelineInterface
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
IPipelineInterface() { }
|
||||||
|
virtual ~IPipelineInterface() { }
|
||||||
|
}; /* class IPipelineInterface */
|
||||||
|
|
||||||
|
} /* namespace PIPELINE */
|
||||||
|
|
||||||
|
#endif /* #ifndef PIPELINE_PIPELINE_INTERFACE_H */
|
||||||
|
|
||||||
|
/* end of file */
|
@ -0,0 +1,59 @@
|
|||||||
|
/**
|
||||||
|
* \file pipeline_interface_impl.cpp
|
||||||
|
* \brief CPipelineInterfaceImpl
|
||||||
|
* \date 2012-02-25 12:21GMT
|
||||||
|
* \author Jan Boon (Kaetemi)
|
||||||
|
* CPipelineInterfaceImpl
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Copyright (C) 2012 by authors
|
||||||
|
*
|
||||||
|
* This file is part of RYZOM CORE PIPELINE.
|
||||||
|
* RYZOM CORE PIPELINE is free software: you can redistribute it
|
||||||
|
* and/or modify it under the terms of the GNU General Public License
|
||||||
|
* as published by the Free Software Foundation, either version 2 of
|
||||||
|
* the License, or (at your option) any later version.
|
||||||
|
*
|
||||||
|
* RYZOM CORE PIPELINE is distributed in the hope that it will be
|
||||||
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty
|
||||||
|
* of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with RYZOM CORE PIPELINE; see the file COPYING. If not, see
|
||||||
|
* <http://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <nel/misc/types_nl.h>
|
||||||
|
#include "pipeline_interface_impl.h"
|
||||||
|
|
||||||
|
// STL includes
|
||||||
|
|
||||||
|
// NeL includes
|
||||||
|
// #include <nel/misc/debug.h>
|
||||||
|
#include <nel/misc/app_context.h>
|
||||||
|
#include <nel/misc/debug.h>
|
||||||
|
|
||||||
|
// Project includes
|
||||||
|
|
||||||
|
using namespace std;
|
||||||
|
// using namespace NLMISC;
|
||||||
|
|
||||||
|
namespace PIPELINE {
|
||||||
|
|
||||||
|
CPipelineInterfaceImpl::CPipelineInterfaceImpl()
|
||||||
|
{
|
||||||
|
nlassert(NLMISC::INelContext::isContextInitialised());
|
||||||
|
nlassert(NLMISC::INelContext::getInstance().getSingletonPointer("IPipelineInterface") == NULL);
|
||||||
|
NLMISC::INelContext::getInstance().setSingletonPointer("IPipelineInterface", this);
|
||||||
|
}
|
||||||
|
|
||||||
|
CPipelineInterfaceImpl::~CPipelineInterfaceImpl()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
} /* namespace PIPELINE */
|
||||||
|
|
||||||
|
/* end of file */
|
@ -0,0 +1,64 @@
|
|||||||
|
/**
|
||||||
|
* \file pipeline_interface_impl.h
|
||||||
|
* \brief CPipelineInterfaceImpl
|
||||||
|
* \date 2012-02-25 12:21GMT
|
||||||
|
* \author Jan Boon (Kaetemi)
|
||||||
|
* CPipelineInterfaceImpl
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Copyright (C) 2012 by authors
|
||||||
|
*
|
||||||
|
* This file is part of RYZOM CORE PIPELINE.
|
||||||
|
* RYZOM CORE PIPELINE is free software: you can redistribute it
|
||||||
|
* and/or modify it under the terms of the GNU General Public License
|
||||||
|
* as published by the Free Software Foundation, either version 2 of
|
||||||
|
* the License, or (at your option) any later version.
|
||||||
|
*
|
||||||
|
* RYZOM CORE PIPELINE is distributed in the hope that it will be
|
||||||
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty
|
||||||
|
* of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with RYZOM CORE PIPELINE; see the file COPYING. If not, see
|
||||||
|
* <http://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef PIPELINE_PIPELINE_INTERFACE_IMPL_H
|
||||||
|
#define PIPELINE_PIPELINE_INTERFACE_IMPL_H
|
||||||
|
#include <nel/misc/types_nl.h>
|
||||||
|
|
||||||
|
// STL includes
|
||||||
|
|
||||||
|
// NeL includes
|
||||||
|
|
||||||
|
// Project includes
|
||||||
|
#include "../pipeline_library/pipeline_interface.h"
|
||||||
|
|
||||||
|
namespace PIPELINE {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* \brief CPipelineInterfaceImpl
|
||||||
|
* \date 2012-02-25 12:21GMT
|
||||||
|
* \author Jan Boon (Kaetemi)
|
||||||
|
* CPipelineInterfaceImpl
|
||||||
|
*/
|
||||||
|
class CPipelineInterfaceImpl : public IPipelineInterface
|
||||||
|
{
|
||||||
|
protected:
|
||||||
|
// pointers
|
||||||
|
// ...
|
||||||
|
|
||||||
|
// instances
|
||||||
|
// ...
|
||||||
|
public:
|
||||||
|
CPipelineInterfaceImpl();
|
||||||
|
virtual ~CPipelineInterfaceImpl();
|
||||||
|
}; /* class CPipelineInterfaceImpl */
|
||||||
|
|
||||||
|
} /* namespace PIPELINE */
|
||||||
|
|
||||||
|
#endif /* #ifndef PIPELINE_PIPELINE_INTERFACE_IMPL_H */
|
||||||
|
|
||||||
|
/* end of file */
|
Loading…
Reference in New Issue