Configuration

Variable

Default

Tunable

Description

output

(no default value)

NO

The path of the file to output to.

Input Ports

Port name

Data Type

Flags

Description

number

integer

_required

Where numbers are read from.

Output Ports

Pipefile Usage

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

Pipefile block

# ================================================================
process <this-proc>
  :: print_number
# The path of the file to output to.
  output = <value>
# ================================================================

Process connections

The following Input ports will need to be set

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

The following Output ports will need to be set

# This process will produce the following output ports

Class Description

class print_number_process : public sprokit::process

A process for printing numbers to a file.

\process Prints numbers to a file.

\iports

\iport{number} The source of numbers to print.

\configs

\config{output} Where to output the numbers.

\reqs

\req The \port{number} port must be connected.

Public Functions

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

Constructor.

Parameters:

config – The configuration for the process.

~print_number_process()

Destructor.

class priv