|
Last change
on this file since 3755 was 3537, checked in by ansari, 17 years ago |
|
Ajout du module AddOn/TAcq (programmes test pour acquisition BAORadio) ds cvs sophya (sous-repertoire AddOn/) , Reza 22/10/2008
|
|
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 |
|
|---|
| 19 | using namespace std;
|
|---|
| 20 |
|
|---|
| 21 |
|
|---|
| 22 | //-------------------------------------------------------
|
|---|
| 23 | // Classe thread de traitement
|
|---|
| 24 | //-------------------------------------------------------
|
|---|
| 25 | class DataProc : public ZThread {
|
|---|
| 26 | public:
|
|---|
| 27 | DataProc(RAcqMemZoneMgr& mem, string& path, uint_4 nmean=1, uint_4 nmax=100);
|
|---|
| 28 | virtual void run();
|
|---|
| 29 | inline void STOP() { stop_ = true; }
|
|---|
| 30 | protected:
|
|---|
| 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.