class Part_Move

Move TSE3::Part Command. More...

Full nameTSE3::Cmd::Part_Move
Definition#include <Part.h>
InheritsTSE3::Cmd::Command [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Types

Public Methods


Detailed Description

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:
actionPartInsertAction to perform Command with
partTSE3::Part to move/insert
trackTSE3::Track to insert into
newStartNew TSE3::Part start time (leave as default to maintain original value)
newEndNew 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..