#include <processor.h>
◆ ~Processor()
| virtual ape::Processor::~Processor |
( |
| ) |
|
|
inlinevirtual |
Polymorphically destruct this processor
◆ Processor()
| ape::Processor::Processor |
( |
| ) |
|
|
inlineprotected |
◆ close()
| void ape::Processor::close |
( |
| ) |
|
|
inline |
Called just before any destructor is run.
◆ config()
| const IOConfig& ape::Processor::config |
( |
| ) |
const |
|
inline |
Return the configuration this processor is initialized with.
◆ defaultProcess()
| void ape::Processor::defaultProcess |
( |
umatrix< const float > |
inputs, |
|
|
umatrix< float > |
outputs, |
|
|
size_t |
frames |
|
) |
| |
|
inlineprotected |
Copy the number of shared channels from inputs to outputs , clearing any extra outputs in outputs .
- See also
- sharedChannels, clear()
◆ init()
| void ape::Processor::init |
( |
| ) |
|
|
inline |
Called after every constructor in the inheritance chain has run
◆ onEvent()
| virtual Status ape::Processor::onEvent |
( |
Event * |
e | ) |
|
|
inlinevirtual |
◆ process()
| virtual void ape::Processor::process |
( |
umatrix< const float > |
inputs, |
|
|
umatrix< float > |
outputs, |
|
|
size_t |
frames |
|
) |
| |
|
inlineprotectedvirtual |
Callback for processing a buffer switch in real-time.
- Parameters
-
| inputs | Read-only channel data for any inputs into this plugin. |
| outputs | Writable channel data for outputs from this plugin. |
| frames | How many samples to process from inputs and outputs |
◆ processFrames()
| void ape::Processor::processFrames |
( |
umatrix< const float > |
inputs, |
|
|
umatrix< float > |
outputs, |
|
|
size_t |
frames |
|
) |
| |
|
inline |
◆ processingHook()
| virtual void ape::Processor::processingHook |
( |
| ) |
|
|
inlineprotectedvirtual |
◆ setTriggeringChannel()
| void ape::Processor::setTriggeringChannel |
( |
int |
channel | ) |
|
|
inlineprotected |
Request the oscilloscope to trigger on a specific channel (default is the first output channel from the plugin).
- Parameters
-
| channel | 1 equals the first input. 1 + number of inputs equals the first output. |
◆ sharedChannels()
| std::size_t ape::Processor::sharedChannels |
( |
| ) |
const |
|
inlinenoexcept |
Returns the minimum number of shared channels between inputs and outputs.
◆ start()
| virtual void ape::Processor::start |
( |
const IOConfig & |
config | ) |
|
|
inlineprotectedvirtual |
Start processing with a certain configuration. Resources can be allocated here.
◆ stop()
| virtual void ape::Processor::stop |
( |
| ) |
|
|
inlineprotectedvirtual |
Stop processing. Here's a good place to release any large resources.
The documentation for this class was generated from the following file: