expect

Configuration

Variable

Default

Tunable

Description

expect

(no default value)

NO

The expected value.

expect_key

false

NO

Whether to expect a key or a value.

tunable

(no default value)

YES

A tunable value.

Input Ports

There are no input ports for this process.

Output Ports

Port name

Data Type

Flags

Description

dummy

_none

(none)

A dummy port.

Pipefile Usage

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

Pipefile block

# ================================================================
process <this-proc>
  :: expect
# The expected value.
  expect = <value>
# Whether to expect a key or a value.
  expect_key = false
# A tunable value.
  tunable = <value>
# ================================================================

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>.dummy
         to   <downstream-proc>.dummy

Class Description

class expect_process : public sprokit::process

A process which checks values.

\process A process which checks values.

\oports

\oport{dummy} A dummy port.

\configs

\config{tunable} A tunable parameter. \config{expect} The expected string. \config{expect_key} Whether to expect a key or value.

Public Functions

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

Constructor.

Parameters:

config – The configuration for the process.

~expect_process()

Destructor.

class priv