const_number
Configuration
Variable |
Default |
Tunable |
Description |
---|---|---|---|
value |
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>
:: const_number
# The value to start counting at.
value = 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 const_number_process : public sprokit::process
Generates constant numbers.
\process Generates constant numbers.
\oports
\oport{number} The number.
\configs
\config{value} The first number to use.
\reqs
\req The \port{number} output must be connected.
Public Functions
-
const_number_process(kwiver::vital::config_block_sptr const &config)
Constructor.
- Parameters:
config – The configuration for the process.
-
~const_number_process()
Destructor.
-
class priv
-
const_number_process(kwiver::vital::config_block_sptr const &config)