mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-25 15:50:03 +02:00
minor
This commit is contained in:
parent
3e0f618fbe
commit
50d049539e
@ -3,14 +3,14 @@
|
|||||||
|
|
||||||
/***********************************************
|
/***********************************************
|
||||||
* @file UDPInterface.h
|
* @file UDPInterface.h
|
||||||
* @short base class with all the functions for a receiver, set/get parameters, start/stop etc.
|
* @short Base class with all the functions for the UDP inteface of the receiver
|
||||||
***********************************************/
|
***********************************************/
|
||||||
/**
|
/**
|
||||||
* \mainpage Base class with all the functions for a receiver, set/get parameters, start/stop etc.
|
* \mainpage Base class with all the functions for the UDP inteface of the receiver
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @short base class with all the functions for a receiver, set/get parameters, start/stop etc.
|
* @short Base class with all the functions for the UDP inteface of the receiver
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
@ -21,19 +21,14 @@
|
|||||||
#include "utilities.h"
|
#include "utilities.h"
|
||||||
#include "logger.h"
|
#include "logger.h"
|
||||||
|
|
||||||
/*
|
|
||||||
void print_not_implemented(string method_name){
|
|
||||||
std::cout << "[WARNING] Method " << method_name << " not implemented!" << std::endl;
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
|
|
||||||
class UDPInterface {
|
class UDPInterface {
|
||||||
|
|
||||||
/* abstract class that defines the public interface of an sls detector data receiver.
|
/* abstract class that defines the UDP interface of an sls detector data receiver.
|
||||||
*
|
*
|
||||||
* Use the factory method slsReceiverBase::create() to get an instance:
|
* Use the factory method UDPInterface::create() to get an instance:
|
||||||
*
|
*
|
||||||
* slsReceiverBase *receiver = slsReceiverBase::create()
|
* UDPInterface *udp_interface = UDPInterface::create()
|
||||||
*
|
*
|
||||||
* supported sequence of method-calls:
|
* supported sequence of method-calls:
|
||||||
*
|
*
|
||||||
@ -80,7 +75,7 @@ class UDPInterface {
|
|||||||
static UDPInterface *create(string receiver_type = "standard");
|
static UDPInterface *create(string receiver_type = "standard");
|
||||||
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -384,10 +379,10 @@ public:
|
|||||||
*/
|
*/
|
||||||
virtual void registerCallBackRawDataReady(void (*func)(int, char*, int, FILE*, char*, void*),void *arg) = 0;
|
virtual void registerCallBackRawDataReady(void (*func)(int, char*, int, FILE*, char*, void*),void *arg) = 0;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif /* #ifndef SLSRECEIVERBASE_H */
|
#endif /* #ifndef UDPINTERFACE_H */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user