Developer documentation | Axl-2.5.1

axlAbstractProcess.cpp
Go to the documentation of this file.
1 /* axlAbstractProcess.cpp ---
2  *
3  * Author: Bernard Mourrain
4  * Copyright (C) 2011 - Bernard Mourrain, Inria.
5  * Created: Tue Nov 11 16:58:59 2011 (+0100)
6  * Version: $Id$
7  * Last-Updated: Mon Dec 6 15:32:45 2010 (+0100)
8  * By: Meriadeg Perrinel
9  * Update #: 22
10  */
11 
12 /* Commentary:
13  *
14  */
15 
16 /* Change log:
17  *
18  */
19 
20 #include "axlAbstractProcess.h"
21 #include "axlAbstractField.h"
22 
23 #include <dtkCoreSupport/dtkGlobal.h>
24 
25 #include <QtGui>
26 
27 class axlAbstractProcessPrivate
28 {
29 public:
30  QString description;
31  QString identifier;
32 
33 };
34 
35 axlAbstractProcess::axlAbstractProcess(void) : dtkAbstractProcess(), d(new axlAbstractProcessPrivate)
36 {
37 
38 }
39 
41 {
42  delete d;
43 
44  d = NULL;
45 }
46 
48 {
49  return "Generic description of axlAbstractProcess";
50 }
51 
52 QString axlAbstractProcess::identifier(void) const
53 {
54  return "axlAbstractProcess";
55 }
56 
57 void axlAbstractProcess::setDescription(QString description)
58 {
59  d->description = description;
60 }
61 
62 void axlAbstractProcess::setIdentifier(QString identifier)
63 {
64  d->identifier = identifier;
65 }
66 
68 {
69  Q_UNUSED(process);
70 }
71 
74 
78  DTK_DEFAULT_IMPLEMENTATION;
79  return false;
80 }
81 
83 
107 QString axlAbstractProcess::form(void) const
108 {
109  return QString();
110 }
virtual void setDescription(QString description)
virtual bool hasParameters(void)
virtual void copyProcess(axlAbstractProcess *process)
virtual ~axlAbstractProcess(void)
virtual QString description(void) const
virtual void setIdentifier(QString identifier)
virtual QString identifier(void) const
virtual QString form(void) const
Description of the form for the dialog with the process.