|
Veethree D7 SDK
|
The i420 context class provides lower level access to the 4-20 mA inputs.
This class implements the common i420_context_interface, required by vsdk::io::i420 class. Due to the nature of the lower level access, there can be only one instance of this class in the application.
#include <i420_context.h>
Public Member Functions | |
| analog_result | read (i420_input input) override |
| Read the value of a particular input. | |
Static Public Member Functions | |
| static std::shared_ptr< i420_context_interface > | instance () |
| Access to the only i420_context instance for the class. | |
The i420 context class provides lower level access to the 4-20 mA inputs.
This class implements the common i420_context_interface, required by vsdk::io::i420 class. Due to the nature of the lower level access, there can be only one instance of this class in the application.
|
static |
Access to the only i420_context instance for the class.
|
overridevirtual |
Read the value of a particular input.
| input | The 4-20 mA input, see i420_input. |
Implements vsdk::io::i420_context_interface.