ExampleConsumer

class ExampleConsumer : public kotekan::Stage

An example consumer stage to print the contents of a buffer.

Buffers

  • in_buf The buffer to process the contents of.

    • Format: any

    • Metadata: any

Public Functions

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

Constructor for the stage Note: you can use the macro STAGE_CONSTRUCTOR(ExampleConsumer) if your constructor does not need additional customisation and you wish to hide the complexity.

virtual ~ExampleConsumer()

Deconstructor - what happens when Kotekan shuts down.

virtual void main_thread() override

Framework managed pthread.