|
enum | AddPos { ADD_POS_AUTO
, ADD_POS_END
} |
|
|
| MorphPlan (Project &project) |
|
const Index * | index () |
|
Project * | project () |
|
std::string | id () const |
|
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 () const |
|
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 |
|
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 () |
|
|
constexpr static int | N_CONTROL_INPUTS = 4 |
|
◆ clear()
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).
◆ load()
Loads MorphPlan from input stream.
- Returns
- Error::NONE if everything worked, an error otherwise
◆ 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: