constDataCheck

class constDataCheck : public kotekan::Stage

Consumer which verifies constant-value Buffers, useful for verification. Will throw ERROR messages for failed verifications.

Buffers

  • in_buf A kotekan buffer which will be verified, can be any size.

    • Format: Array of ints.

    • Metadata: none

Author

Andre Renard

Param real:

Int Array. Expected real component, will loop through the array on subsequent frames.

Param imag:

Int Array. Expected imag component, will loop through the array on subsequent frames.

Public Functions

constDataCheck(kotekan::Config &config, const std::string &unique_name, kotekan::bufferContainer &buffer_container)

Constructor, also initializes internal variables from config.

~constDataCheck()

Destructor, cleans up local allocs.

virtual void main_thread() override

Primary loop to wait for buffers, verify, lather, rinse and repeat.