Skip to content

Commit 71254eb

Browse files
authored
Merge pull request #18 from runette/remove-pipelinexecutir
Remove Pipeline Executor
2 parents f846f9e + 31aad74 commit 71254eb

12 files changed

+313
-183
lines changed

CHANGELOG.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
# Version 2.2.0
2+
3+
This is a major change to the underlying code to remove the deprecated `pdal::PipelineExecutor` and replace it with `pdal::PipelineManager`.
4+
5+
This version also introduces the following non-breaking changes to the ABI:
6+
7+
- Addition of the following method to allow the consuming app to tell if a pipeline is streamable:
8+
9+
```
10+
bool PDALPipelineIsStreamable(PDALPipelinePtr pipeline)
11+
```
12+
13+
- Addition of the following method to allow the consuming application to run a pipeline in streaming mode. If the pipeline is non-streamable it will be silently run in standard mode:
14+
15+
```
16+
bool PDALExecutePipelineAsStream(PDALPipelinePtr pipeline)
17+
```
18+
19+
120
# Version 2.1.1
221

322
Changes to allow compilation with PDAL 2.4.0

source/pdal/pdalc_config.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
* POSSIBILITY OF SUCH DAMAGE.
2828
*****************************************************************************/
2929

30+
#define _CRT_SECURE_NO_WARNINGS
3031
#include "pdalc_config.h"
3132

3233
#include <cstdlib>
@@ -36,6 +37,8 @@
3637
#include <pdal/pdal_config.hpp>
3738
#include <pdal/util/Utils.hpp>
3839

40+
41+
3942
namespace pdal
4043
{
4144
namespace capi

source/pdal/pdalc_config.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232

3333
#include "pdalc_forward.h"
3434

35+
3536
/**
3637
* @file pdalc_config.h
3738
* Functions to retrieve PDAL version and configuration information.

source/pdal/pdalc_dimtype.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,13 @@
2626
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
2727
* POSSIBILITY OF SUCH DAMAGE.
2828
*****************************************************************************/
29-
29+
#define _CRT_SECURE_NO_WARNINGS
3030
#include "pdal/pdalc_dimtype.h"
3131

3232
#include <pdal/DimType.hpp>
3333

34+
35+
3436
namespace pdal
3537
{
3638
namespace capi

source/pdal/pdalc_forward.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
namespace pdal
5454
{
5555
struct DimType;
56-
class PipelineExecutor;
56+
class PipelineManager;
5757
class PointView;
5858
class TriangularMesh;
5959

@@ -64,10 +64,10 @@ using MeshPtr = std::shared_ptr<TriangularMesh>;
6464
namespace capi
6565
{
6666
class PointViewIterator;
67-
using Pipeline = std::unique_ptr<pdal::PipelineExecutor>;
6867
using PointView = pdal::PointViewPtr;
6968
using TriangularMesh = pdal::MeshPtr;
7069
using DimTypeList = std::unique_ptr<pdal::DimTypeList>;
70+
7171
}
7272
}
7373

0 commit comments

Comments
 (0)