libkpl
4.1
A Library for Graphical Presentation of Data Sets and Functions
Main Page
Classes
Files
File List
lib
calcjob.h
1
//
2
// C++ Interface: calcjob
3
//
4
// Description:
5
//
6
//
7
// Author: Werner Stille <stille@uni-freiburg.de>, (C) 2015
8
//
9
// Copyright: See COPYING file that comes with this distribution
10
//
11
//
12
#ifndef CALCJOB_H
13
#define CALCJOB_H
14
15
#include <ThreadWeaver/Job>
16
17
using namespace
ThreadWeaver
;
18
24
class
CalcJob
:
public
Job
25
{
26
public
:
36
CalcJob
(
const
double
* x,
double
* values,
37
double
(*func)(
double
,
const
double
*),
const
double
* par,
int
n,
38
QObject
* parent = 0);
40
~
CalcJob
();
41
42
protected
:
44
void
run();
45
const
double
*m_t, *m_par;
46
double
* m_values;
47
double (*m_func)(double,
const
double
*);
48
int
m_n;
49
};
50
51
#endif
ThreadWeaver
CalcJob
Calculation job class.
Definition:
calcjob.h:24
QObject
Generated on Fri Jun 24 2016 19:11:04 for libkpl by
1.8.8