mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-23 18:17:59 +02:00
rxr: missing packets, stopacquistion lets rxr know to calculate missing packets from last frame caught
This commit is contained in:
@ -77,6 +77,7 @@ class ClientInterface : private virtual slsDetectorDefs {
|
||||
int set_file_name(sls::ServerInterface2 &socket);
|
||||
int set_file_index(sls::ServerInterface2 &socket);
|
||||
int get_frame_index(sls::ServerInterface2 &socket);
|
||||
int get_missing_packets(sls::ServerInterface2 &socket);
|
||||
int get_frames_caught(sls::ServerInterface2 &socket);
|
||||
int enable_file_write(sls::ServerInterface2 &socket);
|
||||
int enable_master_file_write(sls::ServerInterface2 &socket);
|
||||
|
@ -58,6 +58,7 @@ class Implementation : private virtual slsDetectorDefs {
|
||||
//***acquisition count parameters***
|
||||
uint64_t getFramesCaught() const;
|
||||
uint64_t getAcquisitionIndex() const;
|
||||
std::vector<uint64_t> getNumMissingPackets() const;
|
||||
|
||||
//***connection parameters***
|
||||
uint32_t getUDPPortNumber() const;
|
||||
@ -198,6 +199,7 @@ class Implementation : private virtual slsDetectorDefs {
|
||||
|
||||
//***acquisition functions***
|
||||
int startReceiver(std::string& err);
|
||||
void setStoppedFlag(bool stopped);
|
||||
void stopReceiver();
|
||||
void startReadout();
|
||||
void shutDownUDPSockets();
|
||||
@ -291,6 +293,7 @@ class Implementation : private virtual slsDetectorDefs {
|
||||
uint32_t streamingPort;
|
||||
sls::IpAddr streamingSrcIP;
|
||||
std::string additionalJsonHeader;
|
||||
bool stoppedFlag;
|
||||
|
||||
//** class objects ***
|
||||
GeneralData *generalData;
|
||||
|
@ -70,6 +70,9 @@ class Listener : private virtual slsDetectorDefs, public ThreadObject {
|
||||
*/
|
||||
uint64_t GetLastFrameIndexCaught();
|
||||
|
||||
/** Get number of missing packets */
|
||||
uint64_t GetNumMissingPacket(bool stoppedFlag, uint64_t numPackets);
|
||||
|
||||
|
||||
//*** setters ***
|
||||
/**
|
||||
|
Reference in New Issue
Block a user