SpectMorph
Classes | Public Types | Signals | Public Member Functions | Static Public Member Functions | List of all members
SpectMorph::MorphPlan Class Reference
Inheritance diagram for SpectMorph::MorphPlan:
SpectMorph::Object

Classes

class  ExtraParameters
 

Public Types

enum  AddPos { ADD_POS_AUTO, ADD_POS_END }
 

Signals

void plan_changed ()
 
void index_changed ()
 
void operator_removed (MorphOperator *op)
 
void need_view_rebuild ()
 

Public Member Functions

bool load_index (const std::string &filename)
 
const Indexindex ()
 
void add_operator (MorphOperator *op, AddPos=ADD_POS_END, const std::string &name="", const std::string &id="", bool load_folded=false)
 
const std::vector< MorphOperator * > & operators ()
 
void remove (MorphOperator *op)
 
void move (MorphOperator *op, MorphOperator *op_next)
 
void set_plan_str (const std::string &plan_str)
 
void emit_plan_changed ()
 
void emit_index_changed ()
 
Error save (GenericOut *file, ExtraParameters *params=nullptr) const
 
Error load (GenericIn *in, ExtraParameters *params=nullptr)
 
MorphPlanclone () const
 
- Public Member Functions inherited from SpectMorph::Object
void ref ()
 
void unref ()
 

Static Public Member Functions

static std::string id_chars ()
 
static std::string generate_id ()
 

Member Function Documentation

Error MorphPlan::load ( GenericIn in,
ExtraParameters params = nullptr 
)

Loads MorphPlan from input stream.

Returns
BSE_ERROR_NONE if everything worked, an error otherwise
bool MorphPlan::load_index ( const std::string &  filename)

Sets and loads instrument index to be used.

Returns
true if the instrument index was loaded successfully, false otherwise
const vector< MorphOperator * > & MorphPlan::operators ( )

Get MorphPlan operators.

Returns
a read-only reference to the vector containing the operators.

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