source: Sophya/trunk/AddOn/TAcq/racquproc.h@ 3610

Last change on this file since 3610 was 3538, checked in by ansari, 17 years ago

This commit was generated by cvs2svn to compensate for changes in r3537,
which included commits to RCS files with non-trunk default branches.

File size: 1007 bytes
Line 
1#ifndef RACQUPROC_H_SEEN
2#define RACQUPROC_H_SEEN
3
4//----------------------------------------------------------------
5// ---- classe de thread de traitememt acquisition BAORadio -----
6// LAL - R. Ansari - Juin/Juillet 2008
7//----------------------------------------------------------------
8
9
10#include "racqumem.h"
11#include <string>
12#include <vector>
13#include <iostream>
14#include "sopnamsp.h"
15#include "zthread.h"
16
17#include "brtypes.h"
18
19using namespace std;
20
21
22//-------------------------------------------------------
23// Classe thread de traitement
24//-------------------------------------------------------
25class DataProc : public ZThread {
26public:
27 DataProc(RAcqMemZoneMgr& mem, string& path, uint_4 nmean=1, uint_4 nmax=100);
28 virtual void run();
29 inline void STOP() { stop_ = true; }
30protected:
31 RAcqMemZoneMgr& memgr;
32 bool stop_;
33 uint_4 nmax_; // Nombre maxi de blocs MemZone traites
34 uint_4 nmean_; // Nombre de blocs pour le calcul des moyennes
35 string path_;
36};
37
38
39#endif
Note: See TracBrowser for help on using the repository browser.