49 #ifndef IMS_DIAGNOSTICS_H__
50 #define IMS_DIAGNOSTICS_H__
59 #if defined _WIN32 || defined __CYGWIN__
61 #define DLL_EXPORT __attribute__ ((dllexport))
62 #define DLL_IMPORT __attribute__ ((dllimport))
64 #define DLL_EXPORT __declspec(dllexport) // Note: actually gcc seems to also supports this syntax.
65 #define DLL_IMPORT __declspec(dllimport) // Note: actually gcc seems to also supports this syntax.
70 #define DLL_EXPORT __attribute__ ((visibility ("default")))
71 #define DLL_IMPORT __attribute__ ((visibility ("default")))
72 #define DLL_LOCAL __attribute__ ((visibility ("hidden")))
80 #if defined(_EXPORTING_IMS)
81 #define LIBSPEC DLL_EXPORT
82 #define LIBLOCAL DLL_LOCAL
83 #define EXPIMP_TEMPLATE
84 #elif defined(_STATIC_IMS)
87 #define EXPIMP_TEMPLATE
89 #define LIBSPEC DLL_IMPORT
90 #define LIBLOCAL DLL_LOCAL
91 #define EXPIMP_TEMPLATE extern
207 void DiagnosticsEventSubscribe(
const int message,
IEventHandler* handler);
231 void DiagnosticsEventUnsubscribe(
const int message,
const IEventHandler* handler);
236 bool GetTemperature(
const TARGET& tgt)
const;
253 bool GetLoggedHours(
const TARGET& tgt)
const;
268 bool UpdateDiagnostics();
292 const std::map<MEASURE, Percent>& GetDiagnosticsData()
const;
307 #undef EXPIMP_TEMPLATE
Returns the number of hours logged by the Acousto-Optic Device while powered up.
Definition: Diagnostics.h:118
Returns the number of hours logged by the Synthesiser while powered up.
Definition: Diagnostics.h:116
Indicates to the application that an update of diagnostics data is available to be read...
Definition: Diagnostics.h:122
Interface Class for User Application code to receive and process events from the iMS library...
Received a temperature update from the RF Power Amplifier.
Definition: Diagnostics.h:114
An object representing the overall configuration of an attached iMS System and permits applications t...
Definition: IMSSystem.h:361
The entire API is encapsulated by the iMS namespace.
Definition: Auxiliary.h:95
Classes within this group are used to store information about an iMS System and to Connect / Disconne...
All the different types of events that can be triggered by the Diagnostics class. ...
Definition: Diagnostics.h:106
Provides a mechanism for retrieving diagnostics data about the attached iMS System.
Definition: Diagnostics.h:136
Indicates that the update that was requested has failed to respond with updated results.
Definition: Diagnostics.h:124
Events
List of Events raised by the Diagnostics module.
Definition: Diagnostics.h:110
Interface Class for an Event Handler to be defined in User Code and subscribed to library events...
Definition: IEventHandler.h:146
Received a temperature update from the Acousto-Optic device.
Definition: Diagnostics.h:112
MEASURE
Selects which diagnostics measurement to access.
Definition: Diagnostics.h:177
Returns the number of hours logged by the RF Power Amplifier while powered up.
Definition: Diagnostics.h:120
TARGET
Sets which iMS device to request diagnostics data for.
Definition: Diagnostics.h:164