numbers
Configuration
Variable |
Default |
Tunable |
Description |
|---|---|---|---|
end |
100 |
NO |
The value to stop counting at. |
start |
0 |
NO |
The value to start counting at. |
Input Ports
There are no input ports for this process.
Output Ports
Port name |
Data Type |
Flags |
Description |
|---|---|---|---|
number |
integer |
_required |
Where the numbers will be available. |
Pipefile Usage
The following sections describe the blocks needed to use this process in a pipe file.
Pipefile block
# ================================================================
process <this-proc>
:: numbers
# The value to stop counting at.
end = 100
# The value to start counting at.
start = 0
# ================================================================
Process connections
The following Input ports will need to be set
# There are no input port's for this process
The following Output ports will need to be set
# This process will produce the following output ports
connect from <this-proc>.number
to <downstream-proc>.number
Class Description
-
class sprokit::number_process : public sprokit::process
Generates numbers.
Generates numbers.
{number} The generated number.
{start} The first number to use. {end} The last number to use.
{start} must be less than {end}. The {number} output must be connected.
Public Functions
-
number_process(kwiver::vital::config_block_sptr const &config)
Constructor.
- Parameters
config – The configuration for the process.
-
~number_process()
Destructor.
-
class priv
-
number_process(kwiver::vital::config_block_sptr const &config)