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

TSE3::Cmd::Track_Glue Class Reference

Snip TSE3::Part command. More...

#include <Track.h>

Inheritance diagram for TSE3::Cmd::Track_Glue:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Track_Glue (TSE3::Track *track, TSE3::Clock glueTime)
virtual ~Track_Glue ()

Static Public Member Functions

bool valid (TSE3::Track *track, TSE3::Clock glueTime)

Protected Member Functions

virtual void executeImpl ()
virtual void undoImpl ()

Detailed Description

Snip TSE3::Part command.

Command to glue two TSE3::Part objects in a TSE3::Track.

If there is no TSE3::Part at the specified time or it is not directly adjacent to another , then nothing will happen, and no error will be raised. It is suggested that you check that the command is worthwhile before you perform it. You can use the static valid() method to find out whether this command is valid before performing it.

Author:
Pete Goodliffe
Version:
1.00
See also:
Command


Constructor & Destructor Documentation

TSE3::Cmd::Track_Glue::Track_Glue TSE3::Track track,
TSE3::Clock  glueTime
 

Create a Track_Glue command for the given TSE3::Track at the given time.

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


Member Function Documentation

bool TSE3::Cmd::Track_Glue::valid TSE3::Track track,
TSE3::Clock  glueTime
[static]
 

Returns wether the command for this time is valid.

To be valid, there must be a TSE3::Part at glueTime and it must directly follow another TSE3::Part object with no gap inbetween.

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

Implements TSE3::Cmd::Command.

virtual void TSE3::Cmd::Track_Glue::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:54 2005 for TSE3 by doxygen 1.3.2