mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-11 12:27:14 +02:00
in the process of streamer
This commit is contained in:
@ -31,16 +31,16 @@ class Fifo : private virtual slsReceiverDefs {
|
||||
*/
|
||||
~Fifo();
|
||||
|
||||
/**
|
||||
* Pops free address from fifoFree
|
||||
*/
|
||||
void GetNewAddress(char*& address);
|
||||
|
||||
/**
|
||||
* Frees the bound address by pushing into fifoFree
|
||||
*/
|
||||
void FreeAddress(char*& address);
|
||||
|
||||
/**
|
||||
* Pops free address from fifoFree
|
||||
*/
|
||||
void GetNewAddress(char*& address);
|
||||
|
||||
/**
|
||||
* Pushes bound address into fifoBound
|
||||
*/
|
||||
@ -51,6 +51,16 @@ class Fifo : private virtual slsReceiverDefs {
|
||||
*/
|
||||
void PopAddress(char*& address);
|
||||
|
||||
/**
|
||||
* Pushes bound address into fifoStream
|
||||
*/
|
||||
void PushAddressToStream(char*& address);
|
||||
|
||||
/**
|
||||
* Pops bound address from fifoStream to stream data
|
||||
*/
|
||||
void PopAddressToStream(char*& address);
|
||||
|
||||
private:
|
||||
|
||||
/**
|
||||
@ -82,4 +92,6 @@ class Fifo : private virtual slsReceiverDefs {
|
||||
/** Circular Fifo pointing to addresses of freed data in memory */
|
||||
CircularFifo<char>* fifoFree;
|
||||
|
||||
/** Circular Fifo pointing to addresses of to be streamed data in memory */
|
||||
CircularFifo<char>* fifoStream;
|
||||
};
|
||||
|
Reference in New Issue
Block a user