Veethree D7 SDK
Loading...
Searching...
No Matches
i420_context.h
Go to the documentation of this file.
1
5#ifndef I420_CONTEXT_H
6#define I420_CONTEXT_H
7
9#include "io_common.h"
10#include <memory>
11
12namespace vsdk::io {
13
21class i420_context : public i420_context_interface {
22public:
27 static std::shared_ptr<i420_context_interface> instance();
28
34 analog_result read(i420_input input) override;
35
36private:
40 i420_context();
41
42 class impl;
43 std::unique_ptr<impl> _impl;
44};
45
46} // namespace vsdk::io
47
48#endif // I420_CONTEXT_H
Common interface for classes providing lower level access to vsdk::io::i420.
Definition i420_context_interface.h:16
analog_result read(i420_input input) override
Read the value of a particular input.
static std::shared_ptr< i420_context_interface > instance()
Access to the only i420_context instance for the class.
i420_input
The sense input names.
Definition i420_common.h:21
4-20 mA Context Interface
Common IO types and structures.
Any entities that belong to the IO library.
io_result< double > analog_result
Analog result type.
Definition io_common.h:67