mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-02-01 20:24:56 +01:00
Rx: refactor memory structure and listener (#496)
* gui message doesnt show if it has a '>' symbol in error msg * minor refactoring for readability (size_t calc fifo size) * refactoring listening udp socket code: activated and datastream dont create udp sockets anyway, rc<=- should be discarded in any case * wip * refactoring memory structure access * wip: bugfix write header + data to binary * wip * wip * wip * wip * wip * wip * wip * wip * wip * portRoi no roi effecto on progress * fail at receiver progress, wip * segfaults for char pointer in struct * reference to header to get header and data * refactoring * use const defined for size of header of fifo * updated release notes * refactoring from review: fwrite, static_cast
This commit is contained in:
@@ -28,7 +28,7 @@ class Fifo : private virtual slsDetectorDefs {
|
||||
* @param fifoItemSize size of each fifo item
|
||||
* @param depth fifo depth
|
||||
*/
|
||||
Fifo(int ind, uint32_t fifoItemSize, uint32_t depth);
|
||||
Fifo(int ind, size_t fifoItemSize, uint32_t depth);
|
||||
|
||||
/**
|
||||
* Destructor
|
||||
@@ -82,7 +82,7 @@ class Fifo : private virtual slsDetectorDefs {
|
||||
* Create Fifos, allocate memory & push addresses into fifo
|
||||
* @param fifoItemSize size of each fifo item
|
||||
*/
|
||||
void CreateFifos(uint32_t fifoItemSize);
|
||||
void CreateFifos(size_t fifoItemSize);
|
||||
|
||||
/**
|
||||
* Destroy Fifos and deallocate memory
|
||||
|
||||
Reference in New Issue
Block a user