25 #include <libm2k/m2kglobal.hpp> 26 #include <libm2k/utils/enums.hpp> 27 #include <libm2k/utils/utils.hpp> 63 virtual void reset() = 0;
69 virtual void deinitialize() = 0;
76 virtual std::string getUri() = 0;
101 virtual std::vector<libm2k::analog::DMM*> getAllDmm() = 0;
108 virtual std::vector<std::string> getAvailableContextAttributes() = 0;
117 virtual std::string getContextAttributeValue(std::string attr) = 0;
124 virtual std::string getContextDescription() = 0;
131 virtual std::string getSerialNumber() = 0;
138 virtual std::unordered_set<std::string> getAllDevices()
const = 0;
145 virtual void logAllAttributes()
const = 0;
153 virtual M2k* toM2k() = 0;
161 virtual Generic* toGeneric() = 0;
168 virtual unsigned int getDmmCount() = 0;
175 virtual std::string getFirmwareVersion() = 0;
189 virtual struct iio_context *getIioContext() = 0;
196 virtual void setTimeout(
unsigned int timeout) = 0;
202 #endif // CONTEXT_HPP Controls the digital multimeter.
Definition: dmm.hpp:45
Controls the ADALM2000.
Definition: m2k.hpp:54
The version of the backend.
Definition: enums.hpp:261
Controls the IIO context.
Definition: context.hpp:52
Generic M2K enumerations.