casacore
Loading...
Searching...
No Matches
casa
Utilities
CASATask.h
Go to the documentation of this file.
1
// # CasaTask.h:
2
// # Copyright (C) 2005
3
// # Associated Universities, Inc. Washington DC, USA.
4
// #
5
// # This library is free software; you can redistribute it and/or modify it
6
// # under the terms of the GNU Library General Public License as published by
7
// # the Free Software Foundation; either version 2 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 Library General Public
13
// # License for more details.
14
// #
15
// # You should have received a copy of the GNU Library General Public License
16
// # along with this library; if not, write to the Free Software Foundation,
17
// # Inc., 675 Massachusetts Ave, Cambridge, MA 02139, USA.
18
// #
19
// # Correspondence concerning AIPS++ should be addressed as follows:
20
// # Internet email: casa-feedback@nrao.edu.
21
// # Postal address: AIPS++ Project Office
22
// # National Radio Astronomy Observatory
23
// # 520 Edgemont Road
24
// # Charlottesville, VA 22903-2475 USA
25
26
#ifndef _CASA_TASK_H
27
#define _CASA_TASK_H
28
29
#include <casacore/casa/aips.h>
30
#include <casacore/casa/Containers/Record.h>
31
#include <casacore/casa/Containers/RecordField.h>
32
33
namespace
casacore
{
// # NAMESPACE CASACORE - BEGIN
34
35
// <summary>Task interface</summary>
36
37
// <use visibility=export>
38
39
// <reviewed reviewer="" date="yyyy/mm/dd" tests="" demos="">
40
// </reviewed>
41
42
// <prerequisite>
43
// <li> SomeClass
44
// <li> SomeOtherClass
45
// <li> some concept
46
// </prerequisite>
47
//
48
// <etymology>
49
// </etymology>
50
//
51
// <synopsis>
52
// </synopsis>
53
//
54
// <example>
55
// </example>
56
//
57
// <motivation>
58
// </motivation>
59
//
60
// <templating arg=T>
61
// <li>
62
// <li>
63
// </templating>
64
//
65
// <thrown>
66
// <li>
67
// <li>
68
// </thrown>
69
//
70
// <todo asof="yyyy/mm/dd">
71
// <li> add this feature
72
// <li> fix this bug
73
// <li> start discussion of this possible extension
74
// </todo>
75
76
class
CASATask
{
77
public
:
78
CASATask
(
const
Record
¶ms) :
pset
(params) {}
79
CASATask
(
const
RecordDesc
&desc) {
pset
=
Record
(desc); }
80
virtual
~CASATask
() {}
81
82
Record
getParams
()
const
{
return
pset
; }
83
void
setParams
(
const
Record
¶ms) {
pset
= params; }
84
85
private
:
86
CASATask
();
87
88
Record
pset
;
89
};
90
91
}
// namespace casacore
92
93
#endif
casacore::CASATask::CASATask
CASATask(const Record ¶ms)
Definition
CASATask.h:78
casacore::CASATask::~CASATask
virtual ~CASATask()
Definition
CASATask.h:80
casacore::CASATask::CASATask
CASATask(const RecordDesc &desc)
Definition
CASATask.h:79
casacore::CASATask::pset
Record pset
Definition
CASATask.h:88
casacore::CASATask::setParams
void setParams(const Record ¶ms)
Definition
CASATask.h:83
casacore::CASATask::getParams
Record getParams() const
Definition
CASATask.h:82
casacore::CASATask::CASATask
CASATask()
casacore::RecordDesc
Definition
RecordDesc.h:99
casacore::Record
Record()
casacore
For temporary backward namespace compatibility, use casa as alias for casacore.
Definition
mainpage.dox:28
Generated by
1.15.0