Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members

TSE3::Cmd::Part_Move Class Reference

Move TSE3::Part Command. More...

#include <Part.h>

Inheritance diagram for TSE3::Cmd::Part_Move:

Inheritance graph
[legend]
Collaboration diagram for TSE3::Cmd::Part_Move:

Collaboration graph
[legend]
List of all members.

Public Types

enum  PartInsertAction { NoOverlap, Replace, Under }

Public Member Functions

 Part_Move (int action, TSE3::Part *part, TSE3::Track *track, TSE3::Clock newStart=-1, TSE3::Clock newEnd=-1)
virtual ~Part_Move ()

Protected Member Functions

virtual void executeImpl ()
virtual void undoImpl ()

Detailed Description

Move TSE3::Part Command.

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.

Author:
Pete Goodliffe
Version:
3.00
See also:
Command


Member Enumeration Documentation

enum TSE3::Cmd::Part_Move::PartInsertAction
 

This enum type describes how a TSE3::Part should be inserted into a TSE3::Track by the Part_Move Command. The items are:

Enumeration values:
NoOverlap 
Replace 
Under 


Constructor & Destructor Documentation

TSE3::Cmd::Part_Move::Part_Move int  action,
TSE3::Part part,
TSE3::Track track,
TSE3::Clock  newStart = -1,
TSE3::Clock  newEnd = -1
 

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)

virtual TSE3::Cmd::Part_Move::~Part_Move  )  [virtual]
 


Member Function Documentation

virtual void TSE3::Cmd::Part_Move::executeImpl  )  [protected, virtual]
 

May throw a TSE3::PartError if insert fails.

Implements TSE3::Cmd::Command.

virtual void TSE3::Cmd::Part_Move::undoImpl  )  [protected, virtual]
 

Implements TSE3::Cmd::Command.


The documentation for this class was generated from the following file:
Generated on Wed May 25 14:47:39 2005 for TSE3 by doxygen 1.3.2