|
enum | AddPos { ADD_POS_AUTO,
ADD_POS_END
} |
|
|
bool | load_index (const std::string &filename) |
|
const Index * | index () |
|
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) |
|
void | load_default () |
|
MorphPlan * | clone () const |
|
void | ref () |
|
void | unref () |
|
template<class... Args, class CbFunction > |
uint64 | connect (Signal< Args... > &signal, const CbFunction &callback) |
|
template<class... Args, class Instance , class Method > |
uint64 | connect (Signal< Args... > &signal, Instance *instance, const Method &method) |
|
void | disconnect (uint64 id) |
|
void | dead_signal (uint64 id) |
|
|
static std::string | id_chars () |
|
static std::string | generate_id () |
|
|
Index | m_index |
|
std::vector< MorphOperator * > | m_operators |
|
std::string | index_filename |
|
bool | in_restore |
|
void MorphPlan::clear |
( |
| ) |
|
|
protected |
Clears MorphPlan, deletes all operators and resets all variables to return to a state that is completely empty (like after creation).
Loads MorphPlan from input stream.
- Returns
- 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
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: