3 #ifndef SPECTMORPH_MORPH_PLAN_HH
4 #define SPECTMORPH_MORPH_PLAN_HH
7 #include "smmorphoperator.hh"
10 #include "smsignal.hh"
23 virtual std::string section() = 0;
24 virtual void save (
OutFile& out_file) = 0;
25 virtual void handle_event (
InFile& ifile) = 0;
28 constexpr
static int N_CONTROL_INPUTS = 4;
33 std::vector<MorphOperator *> m_operators;
48 std::string id()
const;
55 void add_operator (
MorphOperator *op, AddPos = ADD_POS_END,
const std::string& name =
"",
const std::string&
id =
"",
bool load_folded =
false);
56 const std::vector<MorphOperator *>&
operators()
const;
60 void set_plan_str (
const std::string& plan_str);
61 void emit_plan_changed();
62 void emit_index_changed();
71 static std::string id_chars();
72 static std::string generate_id();
Definition: smutils.hh:102
Generic Input Stream.
Definition: smgenericin.hh:18
Generic Output Stream.
Definition: smgenericout.hh:18
Class to read SpectMorph binary data.
Definition: sminfile.hh:27
Definition: smindex.hh:20
Definition: smmorphoperator.hh:27
Definition: smmorphplan.hh:18
const std::vector< MorphOperator * > & operators() const
Definition: smmorphplan.cc:392
void clear()
Definition: smmorphplan.cc:41
Error load(GenericIn *in, ExtraParameters *params=nullptr)
Definition: smmorphplan.cc:330
Definition: smoutfile.hh:19
Definition: smproject.hh:67
Definition: smsignal.hh:35
Definition: smsignal.hh:150