Changeset 3958 in Sophya
- Timestamp:
- Mar 3, 2011, 3:20:33 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/AddOn/TAcq/racqumem.cc
r3955 r3958 10 10 /* --Methode-- */ 11 11 RAcqMemZoneMgr::RAcqMemZoneMgr(uint_4 nz, uint_4 np, uint_4 psz) 12 : mex(true), nzones(nz), nfibres(1), npaq(np), paqsz(psz), procpaqsz(0), stop_(false), runstate_(MemZR_Running) 12 : mex(true), nzones(nz), nfibres(1), npaq(np), paqsz(psz), procpaqsz(0), 13 fiber_id(1), stop_(false), runstate_(MemZR_Running) 13 14 { 14 15 Init(); … … 18 19 RAcqMemZoneMgr::RAcqMemZoneMgr(uint_4 nzon, uint_4 nfib, uint_4 npaq, uint_4 paqsz, uint_4 procsz) 19 20 : mex(true), nzones(nzon), nfibres(nfib), npaq(npaq), paqsz(paqsz), procpaqsz(procsz), 20 stop_(false), runstate_(MemZR_Running)21 fiber_id(nfib), stop_(false), runstate_(MemZR_Running) 21 22 { 22 23 Init(); … … 35 36 uint_8 procmzsz = nfibres*npaq*procpaqsz; 36 37 37 38 39 40 41 fiber_id.push_back(0);42 if (procmzsz > 0) procmemzones.push_back(new Byte[procmzsz] );43 }38 for(unsigned int k=0; k<NbZones(); k++) { 39 memzones.push_back(new Byte[mzsz] ); 40 states.push_back(st); 41 auxdatap.push_back(new RAcqMZAuxData ); 42 if (procmzsz > 0) procmemzones.push_back(new Byte[procmzsz] ); 43 } 44 for(size_t k=0; k<NbFibres(); k++) fiber_id[k]=0; 44 45 dummy_=0; 45 46 serial_ = 0; … … 329 330 { 330 331 os << "RAcqMemZoneMgr::Print() NbZones=" << NbZones() << " PaqSize()=" << PaqSize() 331 << " NbPaquets()=" << NbPaquets() << " ZoneSize()=" << ZoneSize() << endl; 332 << " NbPaquets()=" << NbPaquets() << " NbFibres()=" << NbFibres() << " ZoneSize()=" 333 << ZoneSize() << endl; 332 334 if (ProcPaqSize() > 0) 333 335 cout << " ... With Processed Data Zones ProcPaqSize()=" << ProcPaqSize()
Note:
See TracChangeset
for help on using the changeset viewer.