##// END OF EJS Templates
Wait for the end of an acquisition to validate an operation (3)...
Wait for the end of an acquisition to validate an operation (3) If an operation is to validate, waits the end of the acquisition

File last commit:

r1151:7dc72cc510ff
r1248:7541b71e5b78
Show More
AmdaServer.h
35 lines | 934 B | text/x-c | CLexer
#ifndef SCIQLOP_AMDASERVER_H
#define SCIQLOP_AMDASERVER_H
#include <QLoggingCategory>
#include <memory>
Q_DECLARE_LOGGING_CATEGORY(LOG_AmdaServer)
// Directive used to determine the active AMDA server
#ifndef SCIQLOP_AMDA_SERVER
#define SCIQLOP_AMDA_SERVER "default"
#endif
/**
* @brief The AmdaServer class represents the server used to retrieve AMDA data (singleton).
*
* The server instance is initialized at compile time, as defined by the AMDA_SERVER value.
*/
class AmdaServer {
public:
/// @return the unique instance of the AMDA server
static AmdaServer &instance();
virtual ~AmdaServer() noexcept = default;
/// @return the name of the server
virtual QString name() const = 0;
/// @param properties used to generate url
/// @return the url of the server (used to retrieve data)
virtual QString url(const QVariantHash &properties = {}) const = 0;
};
#endif // SCIQLOP_AMDASERVER_H