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

TSE3::App::Modified Class Reference

TSE3::Song modified status monitor More...

#include <Modified.h>

Inheritance diagram for TSE3::App::Modified:

Inheritance graph
[legend]
Collaboration diagram for TSE3::App::Modified:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Modified (TSE3::Song *song=0)
TSE3::Songsong () const
void setSong (TSE3::Song *song)
bool modified () const
void setModified (bool modified=true)
virtual void Song_InfoAltered (Song *)
virtual void Song_FromAltered (Song *, Clock)
virtual void Song_ToAltered (Song *, Clock)
virtual void Song_TrackInserted (Song *, Track *)
virtual void Song_TrackRemoved (Song *, Track *, size_t)
virtual void Track_TitleAltered (Track *)
virtual void Track_PartInserted (Track *, Part *)
virtual void Track_PartRemoved (Track *, Part *)
virtual void Part_StartAltered (Part *, Clock)
virtual void Part_EndAltered (Part *, Clock)
virtual void Part_RepeatAltered (Part *, Clock)
virtual void Part_PhraseAltered (Part *, Phrase *)
virtual void PhraseList_Inserted (PhraseList *, Phrase *)
virtual void PhraseList_Removed (PhraseList *, Phrase *)
virtual void MidiParams_Altered (MidiParams *, int)
virtual void DisplayParams_Altered (DisplayParams *)
virtual void EventTrack_EventAltered (EventTrack< Flag > *, size_t)
virtual void EventTrack_EventInserted (EventTrack< Flag > *, size_t)
virtual void EventTrack_EventErased (EventTrack< Flag > *, size_t)
virtual void EventTrack_EventAltered (EventTrack< TimeSig > *)
virtual void EventTrack_EventInserted (EventTrack< TimeSig > *)
virtual void EventTrack_EventErased (EventTrack< TimeSig > *)
virtual void EventTrack_EventAltered (EventTrack< Tempo > *)
virtual void EventTrack_EventInserted (EventTrack< Tempo > *)
virtual void EventTrack_EventErased (EventTrack< Tempo > *)
void MidiFilter_Altered (MidiFilter *, int)

Detailed Description

TSE3::Song modified status monitor

Listens to a TSE3::Song and all its subcomponents, and works out whether it has been 'modified' at all.

You can change which TSE3::Song is monitored at any time.

Author:
Pete Goodliffe
Version:
1.00
See also:
TSE3


Constructor & Destructor Documentation

TSE3::App::Modified::Modified TSE3::Song song = 0  ) 
 

Create a Modified object for the specified TSE3::Song. If no song is specified then this will return false from modified until a TSE3::Song is set with setSong.

Parameters:
song TSE3::Song to monitor at first.


Member Function Documentation

TSE3::Song* TSE3::App::Modified::song  )  const [inline]
 

Returns the TSE3::Song currently being monitored, or zero if no song is being monitored.

Returns:
TSE3::Song being monitored
See also:
setSong

void TSE3::App::Modified::setSong TSE3::Song song  ) 
 

Sets the TSE3::Song currently being monitored. This will clear the return value of modified if it is currently true.

See also:
song

bool TSE3::App::Modified::modified  )  const [inline]
 

Returns whether or not the TSE3::Song has been modified.

Returns:
Whether the TSE3::Song has been modified.
See also:
setModified

void TSE3::App::Modified::setModified bool  modified = true  ) 
 

Causes the modified status to be set. If necessary, this will emit a Modified_Changed notification.

Parameters:
m New modified status
See also:
modified

virtual void TSE3::App::Modified::Song_InfoAltered Song  )  [virtual]
 

Reimplemented from TSE3::SongListener.

virtual void TSE3::App::Modified::Song_FromAltered Song ,
Clock 
[virtual]
 

Reimplemented from TSE3::SongListener.

virtual void TSE3::App::Modified::Song_ToAltered Song ,
Clock 
[virtual]
 

Reimplemented from TSE3::SongListener.

virtual void TSE3::App::Modified::Song_TrackInserted Song ,
Track
[virtual]
 

Reimplemented from TSE3::SongListener.

virtual void TSE3::App::Modified::Song_TrackRemoved Song ,
Track ,
size_t 
[virtual]
 

Reimplemented from TSE3::SongListener.

virtual void TSE3::App::Modified::Track_TitleAltered Track  )  [virtual]
 

Reimplemented from TSE3::TrackListener.

virtual void TSE3::App::Modified::Track_PartInserted Track ,
Part
[virtual]
 

Reimplemented from TSE3::TrackListener.

virtual void TSE3::App::Modified::Track_PartRemoved Track ,
Part
[virtual]
 

Reimplemented from TSE3::TrackListener.

virtual void TSE3::App::Modified::Part_StartAltered Part ,
Clock 
[virtual]
 

Reimplemented from TSE3::PartListener.

virtual void TSE3::App::Modified::Part_EndAltered Part ,
Clock 
[virtual]
 

Reimplemented from TSE3::PartListener.

virtual void TSE3::App::Modified::Part_RepeatAltered Part ,
Clock 
[virtual]
 

Reimplemented from TSE3::PartListener.

virtual void TSE3::App::Modified::Part_PhraseAltered Part ,
Phrase
[virtual]
 

Reimplemented from TSE3::PartListener.

virtual void TSE3::App::Modified::PhraseList_Inserted PhraseList ,
Phrase
[virtual]
 

Reimplemented from TSE3::PhraseListListener.

virtual void TSE3::App::Modified::PhraseList_Removed PhraseList ,
Phrase
[virtual]
 

Reimplemented from TSE3::PhraseListListener.

virtual void TSE3::App::Modified::MidiParams_Altered MidiParams ,
int 
[virtual]
 

Reimplemented from TSE3::MidiParamsListener.

virtual void TSE3::App::Modified::DisplayParams_Altered DisplayParams  )  [virtual]
 

Reimplemented from TSE3::DisplayParamsListener.

virtual void TSE3::App::Modified::EventTrack_EventAltered EventTrack< Flag > *  ,
size_t 
[virtual]
 

virtual void TSE3::App::Modified::EventTrack_EventInserted EventTrack< Flag > *  ,
size_t 
[virtual]
 

virtual void TSE3::App::Modified::EventTrack_EventErased EventTrack< Flag > *  ,
size_t 
[virtual]
 

virtual void TSE3::App::Modified::EventTrack_EventAltered EventTrack< TimeSig > *   )  [virtual]
 

virtual void TSE3::App::Modified::EventTrack_EventInserted EventTrack< TimeSig > *   )  [virtual]
 

virtual void TSE3::App::Modified::EventTrack_EventErased EventTrack< TimeSig > *   )  [virtual]
 

virtual void TSE3::App::Modified::EventTrack_EventAltered EventTrack< Tempo > *   )  [virtual]
 

virtual void TSE3::App::Modified::EventTrack_EventInserted EventTrack< Tempo > *   )  [virtual]
 

virtual void TSE3::App::Modified::EventTrack_EventErased EventTrack< Tempo > *   )  [virtual]
 

void TSE3::App::Modified::MidiFilter_Altered MidiFilter ,
int 
[virtual]
 

Reimplemented from TSE3::MidiFilterListener.


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