Module cybergrape::component

source ·
Expand description

Defines the Component trait, which was going to be used by each CyberGrape processing module.

This enforces a common interface between modules, so that each module can consume data from the preceding module, process it, and pass new data to the subsequent module in the CyberGrape pipeline.

Enums§

Traits§

  • A stage in the CyberGrape pipeline, which performs a step of the data aggregation, binauralization, or music playback process. All structs that perform a processing step in the CyberGrape system must implement Component, so that they can be integrated into the pipeline.

Functions§

  • Runs the given Component on its own thread. On receiving data of type InData on the input channel, the Component converts them to data of type OutData and sends it to the output channel.