#include <PlayParameters.h>

Inheritance diagram for PlayParameters:
Inheritance graph
Collaboration diagram for PlayParameters:
Collaboration graph

Public Types

enum  { NO_ID = -1 }
 
typedef int ExportId
 

Public Slots

virtual void setPlayMuted (bool muted)
 
virtual void setPlayAudible (bool nonMuted)
 
virtual void setPlayPan (float pan)
 
virtual void setPlayGain (float gain)
 
virtual void setPlayClipId (QString id)
 

Signals

void playParametersChanged ()
 
void playMutedChanged (bool)
 
void playAudibleChanged (bool)
 
void playPanChanged (float)
 
void playGainChanged (float)
 
void playClipIdChanged (QString)
 

Public Member Functions

 PlayParameters ()
 
virtual bool isPlayMuted () const
 
virtual bool isPlayAudible () const
 
virtual float getPlayPan () const
 
virtual float getPlayGain () const
 
virtual QString getPlayClipId () const
 
virtual void copyFrom (const PlayParameters *)
 
void toXml (QTextStream &stream, QString indent="", QString extraAttributes="") const override
 Stream this exportable object out to XML on a text stream. More...
 
ExportId getExportId () const
 Return the numerical export identifier for this object. More...
 
virtual QString toXmlString (QString indent="", QString extraAttributes="") const
 Convert this exportable object to XML in a string. More...
 

Static Public Member Functions

static QString encodeEntities (QString)
 
static QString encodeColour (int r, int g, int b)
 

Protected Attributes

bool m_playMuted
 
float m_playPan
 
float m_playGain
 
QString m_playClipId
 

Private Member Functions

 PlayParameters (const PlayParameters &)
 
PlayParametersoperator= (const PlayParameters &)
 

Detailed Description

Definition at line 23 of file PlayParameters.h.

Member Typedef Documentation

typedef int XmlExportable::ExportId
inherited

Definition at line 33 of file XmlExportable.h.

Member Enumeration Documentation

anonymous enum
inherited
Enumerator
NO_ID 

Definition at line 28 of file XmlExportable.h.

Constructor & Destructor Documentation

PlayParameters::PlayParameters ( )
inline

Definition at line 28 of file PlayParameters.h.

PlayParameters::PlayParameters ( const PlayParameters )
private

Member Function Documentation

virtual bool PlayParameters::isPlayMuted ( ) const
inlinevirtual

Definition at line 30 of file PlayParameters.h.

References m_playMuted.

Referenced by copyFrom().

virtual bool PlayParameters::isPlayAudible ( ) const
inlinevirtual

Definition at line 31 of file PlayParameters.h.

References m_playMuted.

Referenced by PlayParameterRepository::EditCommand::getName().

virtual float PlayParameters::getPlayPan ( ) const
inlinevirtual

Definition at line 32 of file PlayParameters.h.

References m_playPan.

Referenced by copyFrom(), and PlayParameterRepository::EditCommand::getName().

virtual float PlayParameters::getPlayGain ( ) const
inlinevirtual

Definition at line 33 of file PlayParameters.h.

References m_playGain.

Referenced by copyFrom(), and PlayParameterRepository::EditCommand::getName().

void PlayParameters::toXml ( QTextStream &  stream,
QString  indent = "",
QString  extraAttributes = "" 
) const
overridevirtual

Stream this exportable object out to XML on a text stream.

Implements XmlExportable.

Definition at line 56 of file PlayParameters.cpp.

References m_playClipId, m_playGain, m_playMuted, and m_playPan.

Referenced by getPlayClipId().

void PlayParameters::setPlayMuted ( bool  muted)
virtualslot
void PlayParameters::setPlayAudible ( bool  nonMuted)
virtualslot
void PlayParameters::setPlayPan ( float  pan)
virtualslot
void PlayParameters::setPlayGain ( float  gain)
virtualslot
void PlayParameters::setPlayClipId ( QString  id)
virtualslot
void PlayParameters::playParametersChanged ( )
signal
void PlayParameters::playMutedChanged ( bool  )
signal
void PlayParameters::playAudibleChanged ( bool  )
signal
void PlayParameters::playPanChanged ( float  )
signal

Referenced by copyFrom(), getPlayClipId(), and setPlayPan().

void PlayParameters::playGainChanged ( float  )
signal
void PlayParameters::playClipIdChanged ( QString  )
signal
PlayParameters& PlayParameters::operator= ( const PlayParameters )
private
int XmlExportable::getExportId ( ) const
inherited

Return the numerical export identifier for this object.

It's allocated the first time this is called, so objects on which this is never called do not get allocated one.

Definition at line 71 of file XmlExportable.cpp.

References XmlExportable::m_exportId, and mutex.

Referenced by EditableDenseThreeDimensionalModel::toXml(), BasicCompressedDenseThreeDimensionalModel::toXml(), EventSeries::toXml(), ImageModel::toXml(), TextModel::toXml(), Model::toXml(), SparseOneDimensionalModel::toXml(), RegionModel::toXml(), BoxModel::toXml(), SparseTimeValueModel::toXml(), NoteModel::toXml(), and XmlExportable::~XmlExportable().

QString XmlExportable::toXmlString ( QString  indent = "",
QString  extraAttributes = "" 
) const
virtualinherited

Convert this exportable object to XML in a string.

The default implementation calls toXml and returns the result as a string. Do not override this unless you really know what you're doing.

Definition at line 25 of file XmlExportable.cpp.

References XmlExportable::toXml().

Referenced by ModelTransformerFactory::getConfigurationForTransform(), RDFTransformFactoryImpl::getTransforms(), and XmlExportable::~XmlExportable().

QString XmlExportable::encodeColour ( int  r,
int  g,
int  b 
)
staticinherited

Definition at line 54 of file XmlExportable.cpp.

Referenced by XmlExportable::~XmlExportable().

Member Data Documentation

bool PlayParameters::m_playMuted
protected

Definition at line 59 of file PlayParameters.h.

Referenced by copyFrom(), isPlayAudible(), isPlayMuted(), setPlayMuted(), and toXml().

float PlayParameters::m_playPan
protected

Definition at line 60 of file PlayParameters.h.

Referenced by copyFrom(), getPlayPan(), setPlayPan(), and toXml().

float PlayParameters::m_playGain
protected

Definition at line 61 of file PlayParameters.h.

Referenced by copyFrom(), getPlayGain(), setPlayGain(), and toXml().

QString PlayParameters::m_playClipId
protected

Definition at line 62 of file PlayParameters.h.

Referenced by copyFrom(), getPlayClipId(), setPlayClipId(), and toXml().


The documentation for this class was generated from the following files: