|
|
Command to move a TSE3::Part's from it's current position (which may be in a TSE3::Track or not - in which case the TSE3::Part is being 'inserted') to another position in a (possibly different) TSE3::Track.
See also: Command
| enum PartInsertAction { NoOverlap, Replace, Under } | PartInsertAction |
This enum type describes how a TSE3::Part should be inserted into a TSE3::Track by the Part_Move Command. The items are:
| Part_Move (int action,
TSE3::Part *part,
TSE3::Track *track,
TSE3::Clock newStart = -1,
TSE3::Clock newEnd = -1)
| Part_Move |
To create this command specify the Part object to alter and the new information.
Parameters:
| action | PartInsertAction to perform Command with |
| part | TSE3::Part to move/insert |
| track | TSE3::Track to insert into |
| newStart | New TSE3::Part start time (leave as default to maintain original value) |
| newEnd | New TSE3::Part end time (leave as default to maintain original Part length) |
| ~Part_Move ()
| ~Part_Move |
[virtual]
| void executeImpl ()
| executeImpl |
[protected virtual]
May throw a TSE3::PartError if insert fails.
Reimplemented from Command for internal purposes..
| void undoImpl ()
| undoImpl |
[protected virtual]
Reimplemented from Command for internal purposes..