changes for the statistic moved to listener

This commit is contained in:
Dhanya Maliakal
2017-08-18 17:57:31 +02:00
parent d58dd1d035
commit cc5862533e
7 changed files with 13 additions and 79 deletions

View File

@ -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;
}