svcore  1.9
PlayParameters Class Reference

#include <PlayParameters.h>

Inheritance diagram for PlayParameters:
Collaboration diagram for PlayParameters:

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. 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)
 
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

◆ PlayParameters() [1/2]

PlayParameters::PlayParameters ( )
inline

Definition at line 28 of file PlayParameters.h.

◆ PlayParameters() [2/2]

PlayParameters::PlayParameters ( const PlayParameters )
private

Member Function Documentation

◆ isPlayMuted()

virtual bool PlayParameters::isPlayMuted ( ) const
inlinevirtual

Definition at line 30 of file PlayParameters.h.

References m_playMuted.

Referenced by copyFrom().

◆ isPlayAudible()

virtual bool PlayParameters::isPlayAudible ( ) const
inlinevirtual

Definition at line 31 of file PlayParameters.h.

References m_playMuted.

◆ getPlayPan()

virtual float PlayParameters::getPlayPan ( ) const
inlinevirtual

Definition at line 32 of file PlayParameters.h.

References m_playPan.

Referenced by copyFrom().

◆ getPlayGain()

virtual float PlayParameters::getPlayGain ( ) const
inlinevirtual

Definition at line 33 of file PlayParameters.h.

References m_playGain.

Referenced by copyFrom().

◆ getPlayClipId()

virtual QString PlayParameters::getPlayClipId ( ) const
inlinevirtual

Definition at line 35 of file PlayParameters.h.

References m_playClipId.

Referenced by copyFrom().

◆ copyFrom()

◆ toXml()

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.

◆ setPlayMuted

void PlayParameters::setPlayMuted ( bool  muted)
virtualslot

◆ setPlayAudible

void PlayParameters::setPlayAudible ( bool  nonMuted)
virtualslot

Definition at line 94 of file PlayParameters.cpp.

References setPlayMuted().

Referenced by PlayParameterRepository::addPlayable().

◆ setPlayPan

void PlayParameters::setPlayPan ( float  pan)
virtualslot

Definition at line 101 of file PlayParameters.cpp.

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

◆ setPlayGain

void PlayParameters::setPlayGain ( float  gain)
virtualslot

Definition at line 111 of file PlayParameters.cpp.

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

◆ setPlayClipId

void PlayParameters::setPlayClipId ( QString  id)
virtualslot

◆ playParametersChanged

void PlayParameters::playParametersChanged ( )
signal

◆ playMutedChanged

void PlayParameters::playMutedChanged ( bool  )
signal

Referenced by copyFrom(), and setPlayMuted().

◆ playAudibleChanged

void PlayParameters::playAudibleChanged ( bool  )
signal

Referenced by copyFrom(), and setPlayMuted().

◆ playPanChanged

void PlayParameters::playPanChanged ( float  )
signal

Referenced by copyFrom(), and setPlayPan().

◆ playGainChanged

void PlayParameters::playGainChanged ( float  )
signal

Referenced by copyFrom(), and setPlayGain().

◆ playClipIdChanged

void PlayParameters::playClipIdChanged ( QString  )
signal

Referenced by copyFrom(), and setPlayClipId().

◆ operator=()

PlayParameters& PlayParameters::operator= ( const PlayParameters )
private

◆ toXmlString()

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

◆ encodeEntities()

◆ encodeColour()

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

Definition at line 54 of file XmlExportable.cpp.

◆ getObjectExportId()

int XmlExportable::getObjectExportId ( const void *  object)
staticinherited

Member Data Documentation

◆ m_playMuted

bool PlayParameters::m_playMuted
protected

Definition at line 59 of file PlayParameters.h.

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

◆ m_playPan

float PlayParameters::m_playPan
protected

Definition at line 60 of file PlayParameters.h.

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

◆ m_playGain

float PlayParameters::m_playGain
protected

Definition at line 61 of file PlayParameters.h.

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

◆ m_playClipId

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: