#include <SetStartEdgeDelta.h>
Inheritance diagram for Document::SetStartPositionsDelta:
Public Member Functions | |
SetStartPositionsDelta (const unsigned int edge_name) | |
Create command to make the given edge contain the start positions. | |
virtual void | apply (Track::Track &track) |
Create a stack of DocumentDeltas. | |
Protected Attributes | |
unsigned int | m_edge_name |
The name. |
Changes the starting edge, removes old start markers, and adds new start markers.
Definition at line 40 of file SetStartEdgeDelta.h.
Document::SetStartPositionsDelta::SetStartPositionsDelta | ( | const unsigned int | edge_name | ) |
Create command to make the given edge contain the start positions.
edge_name | The name of the edge you wish to make the start edge in the track's path. This edge will contain the Track::StartMarkers, and the edge's end controls the start/finish disk. |
Definition at line 36 of file SetStartEdgeDelta.cpp.
void Document::SetStartPositionsDelta::apply | ( | Track::Track & | track | ) | [virtual] |
Create a stack of DocumentDeltas.
Use only add_to_stack() to change the track, so that changes can be reversed.
track | The track to apply the changes to. |
Implements Document::StackableDelta.
Definition at line 41 of file SetStartEdgeDelta.cpp.
unsigned int Document::SetStartPositionsDelta::m_edge_name [protected] |
Generated at Mon Sep 6 00:41:17 2010 by Doxygen version 1.4.7 for Racer version svn335.