Logo Search packages:      
Sourcecode: rosegarden version File versions  Download package

Rosegarden Namespace Reference


Detailed Description

Command that handles undo on a single Segment by brute-force, saving the affected area of the Segment before the execute() and then restoring it on unexecute(). Subclass this with your own implementation.

This class implements execute() and unexecute(); in order to create a working subclass, you should normally put the code you would otherwise have put in execute() into modifySegment().

Definitions of colours to be used throughout the Rosegarden GUI.

They're in this file not so much to allow them to be easily changed, as to ensure a certain amount of consistency between colours for different functions that might end up being seen at the same time.

Miscellaneous constants


Classes

class  AbstractSet
class  AccidentalTable
class  AnalysisHelper
class  AudioBussMixer
class  AudioCache
class  AudioConfigurationPage
class  AudioDevice
class  AudioFile
class  AudioFileManager
class  AudioFileReader
class  AudioFileWriter
class  AudioInstrumentMixer
class  AudioLevel
class  AudioListItem
class  AudioListView
class  AudioManagerDialog
class  AudioPlayQueue
class  AudioPlugin
struct  AudioPluginClipboard
class  AudioPluginDialog
class  AudioPluginInstance
class  AudioPluginManager
class  AudioThread
class  Audit
class  BasicQuantizer
class  Buss
class  BWFAudioFile
class  ChannelPressure
class  ChordLabel
struct  Chunk
class  Clef
class  Clipboard
class  Colour
class  ColourConfigurationPage
class  ColourMap
class  Composition
class  CompositionObserver
class  CompositionTimeSliceAdapter
class  Configuration
class  ConfigurationPage
class  ConfigureDialog
class  ConfigureDialogBase
class  ControlBlock
class  Controllable
class  Controller
class  ControlParameter
class  DataBlockFile
class  DataBlockRepository
class  Device
class  DocumentConfiguration
class  DocumentConfigureDialog
class  DocumentMetaConfigurationPage
class  DummyDriver
struct  eqstring
class  Equation
class  Event
class  EventSelection
class  Exception
class  ExternalTransport
struct  FaderDescription
class  GeneralConfigurationPage
class  GenericChord
class  GUIPalette
class  hash_char
class  hash_string
struct  hashstring
class  HorizontalLayoutEngine
class  Indication
class  Instrument
class  Key
class  KeyPressure
class  LatencyConfigurationPage
class  LayoutEngine
class  LegatoQuantizer
struct  LevelInfo
class  MappedAudioBuss
class  MappedAudioFader
class  MappedAudioInput
class  MappedComposition
class  MappedConnectableObject
class  MappedDevice
class  MappedEvent
class  MappedInstrument
class  MappedObject
class  MappedPluginPort
class  MappedPluginSlot
class  MappedRealTime
class  MappedStudio
class  Marker
class  MatrixConfigurationPage
class  MidiBank
class  MidiDevice
class  MidiEvent
struct  MidiEventCmp
class  MidiFile
class  MidiKeyMapping
class  MidiMetronome
class  MidiPitchLabel
class  MidiProgram
class  MIDIValueOutOfRange
class  MutexLock
class  NotationConfigurationPage
class  NotationQuantizer
class  Note
class  NoteOffEvent
class  NoteOffQueue
class  PeakFile
class  PeakFileManager
class  Pitch
class  PitchBend
class  PlayableAudioFile
class  PluginContainer
class  PluginControl
class  PluginFactory
class  PluginIdentifier
class  PluginPort
class  PluginPortInstance
class  Profiler
class  Profiles
class  ProgramChange
class  PropertyDefn
class  PropertyDefn< Bool >
class  PropertyDefn< Int >
class  PropertyDefn< RealTimeT >
class  PropertyDefn< String >
class  PropertyDefn< UInt >
class  PropertyMap
class  PropertyName
struct  PropertyNameHash
struct  PropertyNamesEqual
class  PropertyStore
class  PropertyStoreBase
class  Quantizer
struct  RealTime
class  RecordableAudioFile
class  RecordIn
class  RefreshStatus
class  RefreshStatusArray
class  RIFFAudioFile
class  RingBuffer
class  RingBufferPool
class  RosegardenTransportDialog
class  RulerScale
class  RunnablePluginInstance
class  Scavenger
class  ScavengerArrayWrapper
class  ScriptInterface
class  ScriptRep
class  Segment
class  SegmentDataItem
class  SegmentHelper
class  SegmentMatrixHelper
class  SegmentNotationHelper
class  SegmentObserver
class  SegmentPerformanceHelper
class  SegmentRefreshStatus
class  SegmentSelection
class  SequenceManager
class  SequencerConfigurationPage
class  SequencerDataBlock
class  SF2PatchExtractor
class  SimpleRulerScale
class  SnapGrid
class  SoftSynthDevice
class  SoundDriver
class  SoundDriverFactory
class  SoundFile
class  Staff
class  StaffObserver
class  Studio
class  StudioControl
class  SystemExclusive
class  TabbedConfigurationPage
class  TempoSelection
class  Text
class  TimeSignature
class  TimeSignatureSelection
class  Track
class  TrackHeader
struct  TrackInfo
struct  TriggerSegmentCmp
class  TriggerSegmentRec
class  UnusedAudioSelectionDialog
class  VerticalLayoutEngine
class  ViewElement
class  ViewElementComparator
class  ViewElementList
class  WAVAudioFile
class  XmlExportable

Namespaces

namespace  Marks
 !! This would be better as a class, these days

Typedefs

typedef std::string Accidental
typedef unsigned int AudioFileId
typedef std::vector< AudioFile * >
::const_iterator 
AudioFileManagerIterator
typedef std::vector< MidiBank > BankList
typedef unsigned int BussId
typedef std::vector< Buss * > BussList
typedef GenericChord< Event,
Segment, true > 
Chord
typedef std::string ChordType
typedef std::vector
< PluginControl * >::iterator 
ControlIterator
typedef std::vector< QHBox * >
::iterator 
ControlLineIterator
typedef std::vector
< ControlParameter > 
ControlList
typedef unsigned int DeviceId
typedef std::vector< Device * > DeviceList
typedef std::vector< Device * >
::const_iterator 
DeviceListConstIterator
typedef std::vector< Device * >
::iterator 
DeviceListIterator
typedef std::list< int > DurationList
typedef unsigned char FileByte
typedef GenericChord< Event,
CompositionTimeSliceAdapter,
false > 
GlobalChord
typedef unsigned int InstrumentId
typedef std::vector< Instrument * > InstrumentList
typedef std::vector
< MidiKeyMapping > 
KeyMappingList
typedef std::vector< float > LevelList
typedef std::multiset
< MappedEvent
*, MappedEvent::MappedEventCmp >
::iterator 
MappedCompositionIterator
typedef std::vector
< Rosegarden::MappedInstrument * >
::const_iterator 
MappedDeviceConstIterator
typedef std::vector
< Rosegarden::MappedInstrument * >
::iterator 
MappedDeviceIterator
typedef int MappedObjectId
typedef std::vector
< MappedObjectId > 
MappedObjectIdList
typedef QString MappedObjectProperty
typedef std::vector
< MappedObjectProperty > 
MappedObjectPropertyList
typedef float MappedObjectValue
typedef std::vector
< MappedObjectValue > 
MappedObjectValueList
typedef std::string Mark
typedef unsigned char MidiByte
typedef std::vector< MidiByte > MidiByteList
typedef std::map< unsigned int,
std::vector< MidiEvent * > > 
MidiComposition
typedef std::pair
< Rosegarden::MidiByte,
Rosegarden::MidiByte > 
MidiControlPair
typedef unsigned int MidiFilter
typedef std::vector< MidiEvent * >
::iterator 
MidiTrackIterator
typedef std::vector
< PlayableAudioFile * > 
PlayableAudioFileList
typedef std::vector
< AudioPluginInstance * >
::iterator 
PluginInstanceIterator
typedef std::vector
< AudioPlugin * >::iterator 
PluginIterator
typedef float PortData
typedef std::vector
< PluginPortInstance * >
::iterator 
PortInstanceIterator
typedef std::vector
< PluginPort * >::iterator 
PortIterator
typedef std::vector< MidiProgram > ProgramList
typedef PropertyMap::value_type PropertyPair
typedef std::map< unsigned int,
std::pair< Colour, std::string >
, std::less< unsigned int > > 
RCMap
typedef std::vector< RecordIn * > RecordInList
typedef std::vector
< RunnablePluginInstance * > 
RunnablePluginInstances
typedef std::pair< RealTime,
RealTime > 
SplitPointPair
typedef std::vector< std::pair
< MidiByte, MidiByte >
>::const_iterator 
StaticControllerConstIterator
typedef std::vector< std::pair
< MidiByte, MidiByte >
>::iterator 
StaticControllerIterator
typedef std::vector< std::pair
< MidiByte, MidiByte > > 
StaticControllers
typedef std::vector< std::string > StringList
typedef int tempoT
typedef long timeT
typedef unsigned int TrackId
typedef unsigned int TriggerSegmentId

Enumerations

enum  AudioFileType {
  UNKNOWN, WAV, BWF, AIFF,
  MP3
}
enum  PortDirection { ReadOnly, WriteOnly, Duplex }
enum  PropertyPattern {
  FlatPattern, AlternatingPattern, CrescendoPattern, DecrescendoPattern,
  RingingPattern
}
enum  PropertyType {
  Int, String, Bool, RealTimeT,
  UInt
}
enum  RecordStatus { RECORD_OFF, RECORD_ON }
enum  SoundDriverStatus { NO_DRIVER = 0x00, AUDIO_OK = 0x01, MIDI_OK = 0x02, VERSION_OK = 0x04 }
enum  TransportSyncStatus { TRANSPORT_OFF, TRANSPORT_MASTER, TRANSPORT_SLAVE }

Functions

void breakpoint ()
static void denormalKill (float *buffer, int size)
static QString durationToString (Rosegarden::Composition &comp, Rosegarden::timeT absTime, Rosegarden::timeT duration, Rosegarden::RealTime rt)
static float flushToZero (volatile float f)
static unsigned long gcd (unsigned long a, unsigned long b)
bool get__Bool (Event *e, const PropertyName &name, bool &ref)
bool get__Bool (Event *e, const PropertyName &name)
bool get__Int (Event *e, const PropertyName &name, long &ref)
long get__Int (Event *e, const PropertyName &name)
bool get__String (Event *e, const PropertyName &name, std::string &ref)
std::string get__String (Event *e, const PropertyName &name)
static MidiByte getByte (const Event &e, const PropertyName &name)
Colour getCombinationColour (const Colour &input1, const Colour &input2)
static const LevelList & getPreviewLevelCache (int levels)
static float iec_dB_to_fader (float db)
static float iec_fader_to_dB (float def)
static unsigned int instrumentId2Index (InstrumentId id)
bool isPersistent__Bool (Event *e, const PropertyName &name)
static QPixmap loadIcon (const char *name)
std::string operator+ (const std::string &s, const PropertyName &n)
bool operator< (const Rosegarden::MidiEvent &a, const Rosegarden::MidiEvent &b)
bool operator< (const MappedEvent &a, const MappedEvent &b)
bool operator< (const ViewElement &a, const ViewElement &b)
bool operator< (const Event &a, const Event &b)
bool operator< (const ControlParameter &a, const ControlParameter &b)
QDataStream & operator<< (QDataStream &dS, const MappedRealTime &mRT)
QDataStream & operator<< (QDataStream &dS, MappedRealTime *mRT)
QDataStream & operator<< (QDataStream &dS, const MappedInstrument &mI)
QDataStream & operator<< (QDataStream &dS, MappedInstrument *mI)
QDataStream & operator<< (QDataStream &dS, const MappedEvent &mE)
QDataStream & operator<< (QDataStream &dS, MappedEvent *mE)
QDataStream & operator<< (QDataStream &dS, const MappedDevice &mD)
QDataStream & operator<< (QDataStream &dS, MappedDevice *mD)
QDataStream & operator<< (QDataStream &dS, const MappedComposition &mC)
QDataStream & operator<< (QDataStream &dS, MappedComposition *mC)
std::ostream & operator<< (std::ostream &out, const RealTime &rt)
std::ostream & operator<< (std::ostream &out, const PropertyName &n)
std::ostream & operator<< (std::ostream &out, PropertyStoreBase &e)
QDataStream & operator>> (QDataStream &dS, MappedRealTime &mRT)
QDataStream & operator>> (QDataStream &dS, MappedRealTime *mRT)
QDataStream & operator>> (QDataStream &dS, MappedInstrument &mI)
QDataStream & operator>> (QDataStream &dS, MappedInstrument *mI)
QDataStream & operator>> (QDataStream &dS, MappedEvent &mE)
QDataStream & operator>> (QDataStream &dS, MappedEvent *mE)
QDataStream & operator>> (QDataStream &dS, MappedDevice &mD)
QDataStream & operator>> (QDataStream &dS, MappedDevice *mD)
QDataStream & operator>> (QDataStream &dS, MappedComposition &mC)
QDataStream & operator>> (QDataStream &dS, MappedComposition *mC)
void setMaybe__Int (Event *e, const PropertyName &name, long value)
void setMaybe__String (Event *e, const PropertyName &name, const std::string &value)

Variables

static pthread_mutex_t _audioFileManagerLock
static int _runtimeSegmentId = 0
const std::string AUDIO_BWF_ID = "bext"
const std::string AUDIO_BWF_PEAK_ID = "levl"
const std::string AUDIO_FORMAT_ID = "fmt "
const std::string AUDIO_RIFF_ID = "RIFF"
const std::string AUDIO_WAVE_ID = "WAVE"
const InstrumentId AudioInstrumentBase = 1000
const unsigned int AudioInstrumentCount = 16
static const timeT basePPQ = 960
static const FaderDescription faderTypes []
const char *const GeneralOptionsConfigGroup = "General Options"
static const PropertyName IndicationDurationPropertyName = "indicationduration"
const char *const LatencyOptionsConfigGroup = "Latency Options"
const MidiByte MIDI_ACTIVE_SENSING = 0xFE
const MidiByte MIDI_CHANNEL_NUM_MASK = 0x0F
const MidiByte MIDI_CHANNEL_PREFIX = 0x20
const MidiByte MIDI_CHANNEL_PREFIX_OR_PORT = 0x21
const MidiByte MIDI_CHNL_AFTERTOUCH = 0xD0
const MidiByte MIDI_CONTINUE = 0xFB
const MidiByte MIDI_CONTROLLER_ALL_NOTES_OFF = 0x7B
const MidiByte MIDI_CONTROLLER_ATTACK = 0x49
const MidiByte MIDI_CONTROLLER_BANK_LSB = 0x20
const MidiByte MIDI_CONTROLLER_BANK_MSB = 0x00
const MidiByte MIDI_CONTROLLER_CHORUS = 0x5D
const MidiByte MIDI_CONTROLLER_FILTER = 0x4A
const MidiByte MIDI_CONTROLLER_LOCAL = 0x7A
const MidiByte MIDI_CONTROLLER_MODULATION = 0x01
const MidiByte MIDI_CONTROLLER_NRPN_1 = 0x62
const MidiByte MIDI_CONTROLLER_NRPN_2 = 0x63
const MidiByte MIDI_CONTROLLER_PAN = 0x0A
const MidiByte MIDI_CONTROLLER_RELEASE = 0x48
const MidiByte MIDI_CONTROLLER_RESET = 0x79
const MidiByte MIDI_CONTROLLER_RESONANCE = 0x47
const MidiByte MIDI_CONTROLLER_REVERB = 0x5B
const MidiByte MIDI_CONTROLLER_RPN_1 = 0x64
const MidiByte MIDI_CONTROLLER_RPN_2 = 0x65
const MidiByte MIDI_CONTROLLER_SOUNDS_OFF = 0x78
const MidiByte MIDI_CONTROLLER_SUSTAIN = 0x40
const MidiByte MIDI_CONTROLLER_VOLUME = 0x07
const MidiByte MIDI_COPYRIGHT_NOTICE = 0x02
const MidiByte MIDI_CTRL_CHANGE = 0xB0
const MidiByte MIDI_CUE_POINT = 0x07
const MidiByte MIDI_END_OF_EXCLUSIVE = 0xF7
const MidiByte MIDI_END_OF_TRACK = 0x2F
const std::string MIDI_FILE_HEADER = "MThd"
const MidiByte MIDI_FILE_META_EVENT = 0xFF
const MidiByte MIDI_INSTRUMENT_NAME = 0x04
const MidiByte MIDI_KEY_SIGNATURE = 0x59
const MidiByte MIDI_LYRIC = 0x05
const MidiByte MIDI_MESSAGE_TYPE_MASK = 0xF0
const MidiByte MIDI_MMC_DEFERRED_PLAY = 0x03
const MidiByte MIDI_MMC_EJECT = 0x0A
const MidiByte MIDI_MMC_FAST_FORWARD = 0x04
const MidiByte MIDI_MMC_LOCATE = 0x44
const MidiByte MIDI_MMC_PAUSE = 0x08
const MidiByte MIDI_MMC_PLAY = 0x02
const MidiByte MIDI_MMC_RECORD_EXIT = 0x07
const MidiByte MIDI_MMC_RECORD_PAUSE = 0x08
const MidiByte MIDI_MMC_RECORD_STROBE = 0x06
const MidiByte MIDI_MMC_REWIND = 0x05
const MidiByte MIDI_MMC_STOP = 0x01
const MidiByte MIDI_NOTE_OFF = 0x80
const MidiByte MIDI_NOTE_ON = 0x90
const MidiByte MIDI_PERCUSSION_CHANNEL = 9
const MidiByte MIDI_PITCH_BEND = 0xE0
const MidiByte MIDI_POLY_AFTERTOUCH = 0xA0
const MidiByte MIDI_PROG_CHANGE = 0xC0
const MidiByte MIDI_SELECT_CHNL_MODE = 0xB0
const MidiByte MIDI_SEQUENCE_NUMBER = 0x00
const MidiByte MIDI_SEQUENCER_SPECIFIC = 0x7F
const MidiByte MIDI_SET_TEMPO = 0x51
const MidiByte MIDI_SMPTE_OFFSET = 0x54
const MidiByte MIDI_SONG_POSITION_PTR = 0xF2
const MidiByte MIDI_SONG_SELECT = 0xF3
const MidiByte MIDI_START = 0xFA
const MidiByte MIDI_STATUS_BYTE_MASK = 0x80
const MidiByte MIDI_STOP = 0xFC
const MidiByte MIDI_SYSEX_NON_RT = 0x7E
const MidiByte MIDI_SYSEX_NONCOMMERCIAL = 0x7D
const MidiByte MIDI_SYSEX_RT = 0x7F
const MidiByte MIDI_SYSEX_RT_COMMAND = 0x06
const MidiByte MIDI_SYSEX_RT_RESPONSE = 0x07
const MidiByte MIDI_SYSTEM_EXCLUSIVE = 0xF0
const MidiByte MIDI_SYSTEM_RESET = 0xFF
const MidiByte MIDI_TC_QUARTER_FRAME = 0xF1
const MidiByte MIDI_TEXT_EVENT = 0x01
const MidiByte MIDI_TEXT_MARKER = 0x06
const MidiByte MIDI_TIME_SIGNATURE = 0x58
const MidiByte MIDI_TIMING_CLOCK = 0xF8
const std::string MIDI_TRACK_HEADER = "MTrk"
const MidiByte MIDI_TRACK_NAME = 0x03
const MidiByte MIDI_TUNE_REQUEST = 0xF6
const InstrumentId MidiInstrumentBase = 2000
const MidiByte MidiMaxValue = 127
const MidiByte MidiMidValue = 64
const MidiByte MidiMinValue = 0
const int MIN_SUBORDERING = SHRT_MIN
static std::string multibyte
const char *const NotationViewConfigGroup = "Notation Options"
static QString notes []
static std::map< int, LevelList > previewLevelCache
static std::string s1
const float SAMPLE_MAX_16BIT = (float)(0xffff/2)
const float SAMPLE_MAX_24BIT = (float)(0xffffff/2)
const float SAMPLE_MAX_8BIT = (float)(0xff)
const char *const SequencerOptionsConfigGroup = "Sequencer Options"
const InstrumentId SoftSynthInstrumentBase = 10000
const unsigned int SoftSynthInstrumentCount = 24
const InstrumentId SystemInstrumentBase = 0


Generated by  Doxygen 1.6.0   Back to index