synthclone  0.3.0
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:
Collaboration diagram for synthclone::Target:

Signals

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

Public Member Functions

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

Protected Member Functions

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

Additional Inherited Members

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

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: