| 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: | 
|---|
| 18 | PAWExecutor(PIACmd* piac, PIStdImgApp* app); | 
|---|
| 19 | virtual     ~PAWExecutor(); | 
|---|
| 20 | virtual int Execute(string& keyw, vector<string>& args, string& toks); | 
|---|
| 21 | protected: | 
|---|
| 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); | 
|---|
| 26 | void  h_integ(vector<string>& tokens); | 
|---|
| 27 | void  h_deriv(vector<string>& tokens); | 
|---|
| 28 | void  h_rebin(vector<string>& tokens); | 
|---|
| 29 | void  h_cadd(vector<string>& tokens); | 
|---|
| 30 | void  h_cmult(vector<string>& tokens); | 
|---|
| 31 | void  h_oper(vector<string>& tokens); | 
|---|
| 32 | void  h_plot_2d(vector<string>& tokens); | 
|---|
| 33 | void  h_put_vec(vector<string>& tokens); | 
|---|
| 34 | void  h_get_vec(vector<string>& tokens); | 
|---|
| 35 | void  h_copy(vector<string>& tokens); | 
|---|
| 36 | void  h_set(string dum,vector<string>& tokens); | 
|---|
| 37 | void  h_err(vector<string>& tokens); | 
|---|
| 38 | int_4 decodepawstring(string tokens,string& nameobj | 
|---|
| 39 | ,string& xexp,string& yexp,string& zexp); | 
|---|
| 40 | PIStdImgApp* mApp; | 
|---|
| 41 | static uint_4 autoc_counter_; | 
|---|
| 42 | }; | 
|---|
| 43 |  | 
|---|
| 44 | #endif | 
|---|