23#ifndef H2C_DRUMKITCOMPONENT_H
24#define H2C_DRUMKITCOMPONENT_H
51 void load_from( std::shared_ptr<DrumkitComponent> component );
53 void set_name(
const QString& name );
56 void set_id(
const int id );
74 void set_outs(
int nBufferPos,
float valL,
float valR );
85 QString
toQString(
const QString& sPrefix =
"",
bool bShort =
true )
const override;
QString __name
Name of the DrumkitComponent.
DrumkitComponent(const int id, const QString &name)
void set_name(const QString &name)
Sets the name of the DrumkitComponent __name.
const QString & get_name() const
Access the name of the DrumkitComponent.
static std::shared_ptr< DrumkitComponent > load_from(XMLNode *node)
void set_soloed(bool soloed)
void set_volume(float volume)
void save_to(XMLNode *node)
void set_outs(int nBufferPos, float valL, float valR)
void set_peak_r(float val)
void set_id(const int id)
QString toQString(const QString &sPrefix="", bool bShort=true) const override
Formatted string version for debugging purposes.
float get_out_L(int nBufferPos)
void reset_outs(uint32_t nFrames)
void set_muted(bool active)
void set_peak_l(float val)
float get_out_R(int nBufferPos)
XMLNode is a subclass of QDomNode with read and write values methods.