Last change
on this file since 3635 was 3635, checked in by ansari, 16 years ago |
Amelioration/ correction diverses, introduction du programme de lecture / traitement multi-thread mcrd.cc - Reza 26/05/2009
|
File size:
1.1 KB
|
Line | |
---|
1 | #ifndef BRPROCA_H_SEEN
|
---|
2 | #define BRPROCA_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 avec 2 voies par frame (donnees brutes)
|
---|
24 | //---------------------------------------------------------------------
|
---|
25 | class BRProcARaw2C : public ZThread {
|
---|
26 | public:
|
---|
27 | BRProcARaw2C(RAcqMemZoneMgr& mem, string& path, uint_4 nmean=1, uint_4 step=1, uint_4 nmax=100);
|
---|
28 | virtual void run();
|
---|
29 | void Stop();
|
---|
30 | inline void STOP() { stop_ = true; }
|
---|
31 | protected:
|
---|
32 | RAcqMemZoneMgr& memgr;
|
---|
33 | bool stop_;
|
---|
34 | uint_4 nmax_; // Nombre maxi de blocs MemZone traites
|
---|
35 | uint_4 step_; // 1/step_ frame traite ds chaque bloc
|
---|
36 | uint_4 nmean_; // Nombre de blocs pour le calcul des moyennes
|
---|
37 | string path_;
|
---|
38 | };
|
---|
39 |
|
---|
40 |
|
---|
41 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.