[463] | 1 | // This may look like C code, but it is really -*- C++ -*-
|
---|
| 2 | // Classe d ajustement pour piapp
|
---|
| 3 | // cmv 98-99
|
---|
| 4 | // CEA-DAPNIA LAL-IN2P3/CNRS
|
---|
| 5 |
|
---|
| 6 | #ifndef PAWEXECUTOR_H_SEEN
|
---|
| 7 | #define PAWEXECUTOR_H_SEEN
|
---|
| 8 |
|
---|
| 9 | #include "machdefs.h"
|
---|
| 10 | #include <string>
|
---|
| 11 | #include <vector>
|
---|
| 12 |
|
---|
| 13 | #include "anydataobj.h"
|
---|
| 14 | #include "piacmd.h"
|
---|
| 15 |
|
---|
| 16 | class PAWExecutor : public CmdExecutor {
|
---|
| 17 | public:
|
---|
[1247] | 18 | PAWExecutor(PIACmd* piac, PIStdImgApp* app);
|
---|
| 19 | virtual ~PAWExecutor();
|
---|
[1268] | 20 | virtual int Execute(string& keyw, vector<string>& args, string& toks);
|
---|
[463] | 21 | protected:
|
---|
[1247] | 22 | void reset(vector<string>& tokens);
|
---|
| 23 | void n_plot(vector<string>& tokens);
|
---|
| 24 | void n_proj(vector<string>& tokens);
|
---|
| 25 | void n_scan(vector<string>& tokens);
|
---|
[2669] | 26 | void n_read(vector<string>& tokens);
|
---|
| 27 | void n_merge(vector<string>& tokens);
|
---|
[1247] | 28 | void h_integ(vector<string>& tokens);
|
---|
[1912] | 29 | void v_integ(vector<string>& tokens);
|
---|
[1247] | 30 | void h_deriv(vector<string>& tokens);
|
---|
[1912] | 31 | void v_deriv(vector<string>& tokens);
|
---|
[1247] | 32 | void h_rebin(vector<string>& tokens);
|
---|
| 33 | void h_cadd(vector<string>& tokens);
|
---|
| 34 | void h_cmult(vector<string>& tokens);
|
---|
| 35 | void h_oper(vector<string>& tokens);
|
---|
| 36 | void h_plot_2d(vector<string>& tokens);
|
---|
| 37 | void h_put_vec(vector<string>& tokens);
|
---|
| 38 | void h_get_vec(vector<string>& tokens);
|
---|
| 39 | void h_copy(vector<string>& tokens);
|
---|
| 40 | void h_set(string dum,vector<string>& tokens);
|
---|
| 41 | void h_err(vector<string>& tokens);
|
---|
| 42 | int_4 decodepawstring(string tokens,string& nameobj
|
---|
| 43 | ,string& xexp,string& yexp,string& zexp);
|
---|
[463] | 44 | PIStdImgApp* mApp;
|
---|
[1035] | 45 | static uint_4 autoc_counter_;
|
---|
[463] | 46 | };
|
---|
| 47 |
|
---|
| 48 | #endif
|
---|