Krotos Modules 3
Loading...
Searching...
No Matches
krotos::SampleBrowser::Sample Struct Reference

Wrapper object for sample data used by the browser. The Value objects are shared reference objects which their corresponding buttons will listen to. More...

#include <SampleBrowser.h>

Public Member Functions

 Sample (const String &otherName, const String &otherPath, int otherIndex, const Value &otherMuted, const Value &otherSolo)
 Create a sample data object to be used in the browser. Values are reference shared allowing attachment to the UI.
 
 Sample (const Sample &other)
 Copy constructor of sample data to be used in the browser, maintaining shared Value references.
 
Sampleoperator= (const Sample &other)
 

Public Attributes

String name
 
String path
 
int index
 
Value muted
 
Value solo
 

Detailed Description

Wrapper object for sample data used by the browser. The Value objects are shared reference objects which their corresponding buttons will listen to.

Constructor & Destructor Documentation

◆ Sample() [1/2]

krotos::SampleBrowser::Sample::Sample ( const String & otherName,
const String & otherPath,
int otherIndex,
const Value & otherMuted,
const Value & otherSolo )

Create a sample data object to be used in the browser. Values are reference shared allowing attachment to the UI.

◆ Sample() [2/2]

krotos::SampleBrowser::Sample::Sample ( const Sample & other)

Copy constructor of sample data to be used in the browser, maintaining shared Value references.

Member Function Documentation

◆ operator=()

SampleBrowser::Sample & krotos::SampleBrowser::Sample::operator= ( const Sample & other)

Member Data Documentation

◆ index

int krotos::SampleBrowser::Sample::index

◆ muted

Value krotos::SampleBrowser::Sample::muted

◆ name

String krotos::SampleBrowser::Sample::name

◆ path

String krotos::SampleBrowser::Sample::path

◆ solo

Value krotos::SampleBrowser::Sample::solo

The documentation for this struct was generated from the following files: