Coverage Report

Created: 2026-07-25 06:50

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/gdal/apps/gdalpipelinestepruncontext.h
Line
Count
Source
1
/******************************************************************************
2
 *
3
 * Project:  GDAL
4
 * Purpose:  gdal "raster/vector pipeline" subcommand
5
 * Author:   Even Rouault <even dot rouault at spatialys.com>
6
 *
7
 ******************************************************************************
8
 * Copyright (c) 2024, Even Rouault <even dot rouault at spatialys.com>
9
 *
10
 * SPDX-License-Identifier: MIT
11
 ****************************************************************************/
12
13
#ifndef GDALPIPELINESTEPRUNCONTEXT_INCLUDED
14
#define GDALPIPELINESTEPRUNCONTEXT_INCLUDED
15
16
//! @cond Doxygen_Suppress
17
18
#include "cpl_progress.h"
19
20
/************************************************************************/
21
/*                      GDALPipelineStepRunContext                      */
22
/************************************************************************/
23
24
class GDALPipelineStepAlgorithm;
25
26
class GDALPipelineStepRunContext
27
{
28
  public:
29
0
    GDALPipelineStepRunContext() = default;
30
31
    // Progress callback to use during execution of the step
32
    GDALProgressFunc m_pfnProgress = nullptr;
33
    void *m_pProgressData = nullptr;
34
35
    // If there is a step in the pipeline immediately following step to which
36
    // this instance of GDALRasterPipelineStepRunContext is passed, and that
37
    // this next step is usable by the current step (as determined by
38
    // CanHandleNextStep()), then this member will point to this next step.
39
    GDALPipelineStepAlgorithm *m_poNextUsableStep = nullptr;
40
41
  private:
42
    CPL_DISALLOW_COPY_ASSIGN(GDALPipelineStepRunContext)
43
};
44
45
//! @endcond
46
47
#endif