Configuration

Variable

Default

Tunable

Description

offset

0

NO

The offset from the first datum to use as the output.

skip

1

NO

The number of inputs to skip for each output.

Input Ports

Port name

Data Type

Flags

Description

input

_flow_dependent/tag

_required

A stream with extra data at regular intervals.

Output Ports

Port name

Data Type

Flags

Description

output

_flow_dependent/tag

_required

The input stream sampled at regular intervals.

Pipefile Usage

The following sections describe the blocks needed to use this process in a pipe file.

Pipefile block

# ================================================================
process <this-proc>
  :: skip
# The offset from the first datum to use as the output.
  offset = 0
# The number of inputs to skip for each output.
  skip = 1
# ================================================================

Process connections

The following Input ports will need to be set

# This process will consume the following input ports
connect from <this-proc>.input
         to   <upstream-proc>.input

The following Output ports will need to be set

# This process will produce the following output ports
connect from <this-proc>.output
         to   <downstream-proc>.output

Class Description

class skip_process : public sprokit::process

Generates numbers.

\process Generates numbers.

\iports

\iport{input} A stream with extra data at regular intervals.

\oports

\oport{output} The input stream sampled at regular intervals.

\configs

\config{skip} The number of inputs to skip for each output. \config{offset} The offset from the first datum to use for the output.

\reqs

\req \key{offset} must be less than \key{skip}.

Public Functions

skip_process(kwiver::vital::config_block_sptr const &config)

Constructor.

Parameters:

config – The configuration for the process.

~skip_process()

Destructor.

class priv