source: Sophya/trunk/SophyaPI/PIext/pawexecut.h@ 2755

Last change on this file since 2755 was 2755, checked in by ansari, 20 years ago

1/ Correction bug trace des lignes ds PINTuple
2/ Ajout methode IsThreadable() (declaration conformite thread separe pour certaines commandes) ds baseexecut.h .cc (plot2d plot3d ...) , ds pawexecut.cc (n/plot ...) et ds cxxexecutor.h .cc (c++exec c++execfrf ...)
3/ Ajout de ZMutex (et ZSync) pour la gestion des commandes threadable - ds les
executeurs et ds servnobjm.h .cc
4/ bug d'execution en thread identifie et corrige ds nobjmgr.h .cc (ajout des
methodes GetObj_P() GetObjAdapter_P() et ReadObj_P()
5/ Ajout de l'appel a ZSync::NOp() pour eviter les warnings 'unused variable zs ...'

Reza 23 Mai 2005

File size: 1.6 KB
Line 
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
16class PAWExecutor : public CmdExecutor {
17public:
18 PAWExecutor(PIACmd* piac, PIStdImgApp* app);
19 virtual ~PAWExecutor();
20 virtual int Execute(string& keyw, vector<string>& args, string& toks);
21 virtual bool IsThreadable(string const & keyw);
22
23protected:
24 void reset(vector<string>& tokens);
25 void n_plot(vector<string>& tokens);
26 void n_proj(vector<string>& tokens);
27 void n_scan(vector<string>& tokens);
28 void n_read(vector<string>& tokens);
29 void n_merge(vector<string>& tokens);
30 void h_integ(vector<string>& tokens);
31 void v_integ(vector<string>& tokens);
32 void v_sort(vector<string>& tokens);
33 void h_deriv(vector<string>& tokens);
34 void v_deriv(vector<string>& tokens);
35 void h_rebin(vector<string>& tokens);
36 void h_cadd(vector<string>& tokens);
37 void h_cmult(vector<string>& tokens);
38 void h_oper(vector<string>& tokens);
39 void h_plot_2d(vector<string>& tokens);
40 void h_put_vec(vector<string>& tokens);
41 void h_get_vec(vector<string>& tokens);
42 void h_copy(vector<string>& tokens);
43 void h_set(string dum,vector<string>& tokens);
44 void h_err(vector<string>& tokens);
45 int_4 decodepawstring(string tokens,string& nameobj
46 ,string& xexp,string& yexp,string& zexp);
47 PIStdImgApp* mApp;
48 static uint_4 autoc_counter_;
49};
50
51#endif
Note: See TracBrowser for help on using the repository browser.