svcore  1.9
PlayParameters Class Reference

#include <PlayParameters.h>

Inheritance diagram for PlayParameters:
Collaboration diagram for PlayParameters:

List of all members.

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 *)
virtual void toXml (QTextStream &stream, QString indent="", QString extraAttributes="") const
 Stream this exportable object out to XML on a text stream.
virtual QString toXmlString (QString indent="", QString extraAttributes="") const
 Convert this exportable object to XML in a string.

Static Public Member Functions

static QString encodeEntities (QString)
static QString encodeColour (int r, int g, int b)
static int getObjectExportId (const void *)

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.


Constructor & Destructor Documentation

Definition at line 28 of file PlayParameters.h.


Member Function Documentation

virtual bool PlayParameters::isPlayMuted ( ) const [inline, virtual]

Definition at line 30 of file PlayParameters.h.

References m_playMuted.

Referenced by copyFrom().

virtual bool PlayParameters::isPlayAudible ( ) const [inline, virtual]

Definition at line 31 of file PlayParameters.h.

References m_playMuted.

virtual float PlayParameters::getPlayPan ( ) const [inline, virtual]

Definition at line 32 of file PlayParameters.h.

References m_playPan.

Referenced by copyFrom().

virtual float PlayParameters::getPlayGain ( ) const [inline, virtual]

Definition at line 33 of file PlayParameters.h.

References m_playGain.

Referenced by copyFrom().

virtual QString PlayParameters::getPlayClipId ( ) const [inline, virtual]

Definition at line 35 of file PlayParameters.h.

References m_playClipId.

Referenced by copyFrom().

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

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.

void PlayParameters::setPlayMuted ( bool  muted) [virtual, slot]
void PlayParameters::setPlayAudible ( bool  nonMuted) [virtual, slot]

Definition at line 94 of file PlayParameters.cpp.

References setPlayMuted().

Referenced by PlayParameterRepository::addPlayable().

void PlayParameters::setPlayPan ( float  pan) [virtual, slot]

Definition at line 101 of file PlayParameters.cpp.

References m_playPan, playPanChanged(), and playParametersChanged().

void PlayParameters::setPlayGain ( float  gain) [virtual, slot]

Definition at line 111 of file PlayParameters.cpp.

References m_playGain, playGainChanged(), and playParametersChanged().

void PlayParameters::setPlayClipId ( QString  id) [virtual, slot]
void PlayParameters::playMutedChanged ( bool  ) [signal]

Referenced by copyFrom(), and setPlayMuted().

void PlayParameters::playAudibleChanged ( bool  ) [signal]

Referenced by copyFrom(), and setPlayMuted().

void PlayParameters::playPanChanged ( float  ) [signal]

Referenced by copyFrom(), and setPlayPan().

void PlayParameters::playGainChanged ( float  ) [signal]

Referenced by copyFrom(), and setPlayGain().

void PlayParameters::playClipIdChanged ( QString  ) [signal]

Referenced by copyFrom(), and setPlayClipId().

PlayParameters& PlayParameters::operator= ( const PlayParameters ) [private]
QString XmlExportable::toXmlString ( QString  indent = "",
QString  extraAttributes = "" 
) const [virtual, inherited]

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(), and RDFTransformFactoryImpl::getTransforms().

QString XmlExportable::encodeColour ( int  r,
int  g,
int  b 
) [static, inherited]

Definition at line 54 of file XmlExportable.cpp.

int XmlExportable::getObjectExportId ( const void *  object) [static, inherited]

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: