|
ape
0.5.0
Audio Programming Environment
|
Go to the documentation of this file.
14 template<std::
size_t Size>
54 abort(
"Index out of range for Plot");
65 abort(
"Index out of range for Plot");
79 constexpr std::size_t
size() const noexcept
86 std::vector<value_type> values;
APE_SharedInterface & getInterface()
Acquire the low-level C API.
Proxy & operator[](std::size_t index)
Writable access to an element in the plot.
Definition: plot.h:49
Fixed buffer of Plot::value_type elements that is plotted in the UI.
Definition: plot.h:15
constexpr std::size_t size() const noexcept
Returns the Size
Definition: plot.h:79
Base traits class for all classes that are displayed in the GUI.
Definition: baselib.h:62
void abort(const char *reason)
Terminate the script (not the host application!) safely, with a reason. All resources will automatica...
~Plot()
Destroys a plot.
Definition: plot.h:41
Plot(std::string name)
Create a plot with a name .
Definition: plot.h:32
value_type Proxy
Assignable value to update the plot
Definition: plot.h:26
const value_type * data() const noexcept
Read-only access to the underlying buffer
Definition: plot.h:71
Definition: audiofile.h:7
double value_type
The type of value being plotted
Definition: plot.h:22