synthclone 0.3.0
Loading...
Searching...
No Matches
samplerjob.h
Go to the documentation of this file.
1/*
2 * libsynthclone - a plugin API for `synthclone`
3 * Copyright (C) 2011 Devin Anderson
4 *
5 * This library is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU Lesser General Public License as published by the
7 * Free Software Foundation; either version 2.1 of the License, or (at your
8 * option) any later version.
9 *
10 * This library is distributed in the hope that it will be useful, but WITHOUT
11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
13 * for more details.
14 *
15 * You should have received a copy of the GNU Lesser General Public License
16 * along with this library; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18 */
19
20#ifndef __SYNTHCLONE_SAMPLERJOB_H__
21#define __SYNTHCLONE_SAMPLERJOB_H__
22
23#include <synthclone/zone.h>
24
25namespace synthclone {
26
30
31 class SamplerJob: public QObject {
32
33 Q_OBJECT
34
35 public:
36
40
46
53
54 virtual Type
55 getType() const = 0;
56
64
65 virtual const Zone *
66 getZone() const = 0;
67
68 protected:
69
78
79 explicit
80 SamplerJob(QObject *parent=0);
81
86
87 virtual
89
90 };
91
92}
93
94#endif
virtual Type getType() const =0
Gets the SamplerJob::Type.
virtual ~SamplerJob()
Destroys a SamplerJob.
SamplerJob(QObject *parent=0)
Constructs a new SamplerJob object.
virtual const Zone * getZone() const =0
Gets the Zone that the Sampler will use to get information for this SamplerJob.
Type
The type of job that will be executed by the Sampler.
Definition samplerjob.h:41
@ TYPE_PLAY_DRY_SAMPLE
Definition samplerjob.h:42
@ TYPE_SAMPLE
Definition samplerjob.h:44
@ TYPE_PLAY_WET_SAMPLE
Definition samplerjob.h:43
Zone objects contains data about how Sample objects should be acquired from a Sampler.
Definition zone.h:37
Definition component.h:26