mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-22 09:37:59 +02:00
changes for the statistic moved to listener
This commit is contained in:
@ -5,7 +5,6 @@
|
||||
***********************************************/
|
||||
|
||||
#include "File.h"
|
||||
#include "Fifo.h"
|
||||
|
||||
#include <iostream>
|
||||
using namespace std;
|
||||
@ -14,7 +13,7 @@ using namespace std;
|
||||
File::File(int ind, uint32_t maxf, const uint32_t* ppf,
|
||||
int* nd, char* fname, char* fpath, uint64_t* findex,
|
||||
bool* frindexenable, bool* owenable,
|
||||
int* dindex, int* nunits, uint64_t* nf, uint32_t* dr, uint32_t* portno, Fifo*& f):
|
||||
int* dindex, int* nunits, uint64_t* nf, uint32_t* dr, uint32_t* portno):
|
||||
index(ind),
|
||||
maxFramesPerFile(maxf),
|
||||
packetsPerFrame(ppf),
|
||||
@ -29,8 +28,7 @@ File::File(int ind, uint32_t maxf, const uint32_t* ppf,
|
||||
numUnitsPerDetector(nunits),
|
||||
numImages(nf),
|
||||
dynamicRange(dr),
|
||||
udpPortNumber(portno),
|
||||
fifo(f)
|
||||
udpPortNumber(portno)
|
||||
|
||||
{
|
||||
master = index?false:true;
|
||||
@ -91,7 +89,3 @@ void File::SetMaxFramesPerFile(uint32_t maxf) {
|
||||
void File::SetPacketsPerFrame(const uint32_t* ppf) {
|
||||
packetsPerFrame = ppf;
|
||||
}
|
||||
|
||||
void File::SetFifo(Fifo*& f) {
|
||||
fifo = f;
|
||||
}
|
||||
|
Reference in New Issue
Block a user