synthclone 0.3.0
Loading...
Searching...
No Matches
synthclone::Target Class Referenceabstract

Component capable of building a patch from a list of Zone objects. More...

#include <synthclone/target.h>

Inheritance diagram for synthclone::Target:
[legend]
Collaboration diagram for synthclone::Target:
[legend]

Signals

void buildWarning (const QString &message)
 Emitted to indicate a warning found during the build process.
Signals inherited from synthclone::Component
void nameChanged (const QString &name)
 Emitted when the Component name is changed.
void progressChanged (float progress)
 Emitted by the Component to indicate progress in whatever operation the Component is performing.
void statusChanged (const QString &status)
 Emitted when the Component object's status changes.

Public Member Functions

virtual void build (const QList< Zone * > &zones)=0
 Builds a patch.
Public Member Functions inherited from synthclone::Component
QString getName () const
 Gets the Component name.

Protected Member Functions

 Target (const QString &name, QObject *parent=0)
 Constructs a new Target object.
virtual ~Target ()
 Destroys a Target object.
Protected Member Functions inherited from synthclone::Component
 Component (const QString &name, QObject *parent=0)
 Constructs a new Component object.
virtual ~Component ()
 Destroys a Component object.

Additional Inherited Members

Public Slots inherited from synthclone::Component
void setName (const QString &name)
 Sets the name of this Component.

Detailed Description

Component capable of building a patch from a list of Zone objects.

Constructor & Destructor Documentation

◆ Target()

synthclone::Target::Target ( const QString & name,
QObject * parent = 0 )
explicitprotected

Constructs a new Target object.

This constructor cannot be called directly; instead, subclasses should call this constructor in their constructors.

Parameters
nameThe initial name for the target.
parentThe parent object of the target.

◆ ~Target()

virtual synthclone::Target::~Target ( )
protectedvirtual

Destroys a Target object.

Member Function Documentation

◆ build()

virtual void synthclone::Target::build ( const QList< Zone * > & zones)
pure virtual

Builds a patch.

Parameters
zonesThe Zone list to use to build the patch.

◆ buildWarning

void synthclone::Target::buildWarning ( const QString & message)
signal

Emitted to indicate a warning found during the build process.

Parameters
messageThe warning message.

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