Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
Loading...
Searching...
No Matches
IIxxatInterface.hpp
Go to the documentation of this file.
1#ifndef IV_SRC_COMMS_IXXAT_IIXXATINTERFACE_HPP_
2#define IV_SRC_COMMS_IXXAT_IIXXATINTERFACE_HPP_
3
4#include <ECI/ECI_hwtype.h>
5#include <string>
6
8{
9
11{
12public:
13 [[nodiscard]] virtual IIxxatInterface *clone() const = 0;
14
15 virtual ~IIxxatInterface() = default;
16
17 virtual ECI_RESULT ctrlClose(ECI_CTRL_HDL hCtrl) = 0;
18 virtual ECI_RESULT ctrlOpen(ECI_CTRL_HDL *phCtrl, DWORD dwHwIndex, DWORD dwCtrlIndex,
19 const ECI_CTRL_CONFIG *pStcCtrlConfig) = 0;
20 virtual ECI_RESULT ctrlReceive(ECI_CTRL_HDL hCtrl, DWORD *pdwCount, ECI_CTRL_MESSAGE *pStcMessage,
21 DWORD dwTimeout) = 0;
22 virtual ECI_RESULT ctrlSend(ECI_CTRL_HDL hCtrl, const ECI_CTRL_MESSAGE *pStcMessage, DWORD dwTimeout) = 0;
23 virtual ECI_RESULT ctrlStart(ECI_CTRL_HDL hCtrl) = 0;
24 virtual ECI_RESULT ctrlStop(ECI_CTRL_HDL hCtrl, DWORD dwMode) = 0;
25 virtual ECI_RESULT initialize() = 0;
26 virtual ECI_RESULT reinitialize() = 0;
27 virtual ECI_RESULT release() = 0;
28
29 virtual std::string getErrorString(ECI_RESULT result) = 0;
30 [[nodiscard]] virtual std::string getHardwareName() const = 0;
31 virtual ECI_RESULT getInfo(uint64_t dwHwIndex, ECI_HW_INFO *pStcHwInfo) = 0;
32 virtual ECI_RESULT getStatus(ECI_CTRL_HDL hCtrl, ECI_CTRL_STATUS *pStcStatus) = 0;
33};
34
35}// namespace iv::comms::ixxat
36
37#endif// IV_SRC_COMMS_IXXAT_IIXXATINTERFACE_HPP_
Definition IIxxatInterface.hpp:11
virtual ECI_RESULT release()=0
virtual ECI_RESULT ctrlOpen(ECI_CTRL_HDL *phCtrl, DWORD dwHwIndex, DWORD dwCtrlIndex, const ECI_CTRL_CONFIG *pStcCtrlConfig)=0
virtual ~IIxxatInterface()=default
virtual ECI_RESULT ctrlReceive(ECI_CTRL_HDL hCtrl, DWORD *pdwCount, ECI_CTRL_MESSAGE *pStcMessage, DWORD dwTimeout)=0
virtual ECI_RESULT getInfo(uint64_t dwHwIndex, ECI_HW_INFO *pStcHwInfo)=0
virtual ECI_RESULT getStatus(ECI_CTRL_HDL hCtrl, ECI_CTRL_STATUS *pStcStatus)=0
virtual ECI_RESULT reinitialize()=0
virtual ECI_RESULT ctrlClose(ECI_CTRL_HDL hCtrl)=0
virtual std::string getHardwareName() const =0
virtual ECI_RESULT ctrlStart(ECI_CTRL_HDL hCtrl)=0
virtual std::string getErrorString(ECI_RESULT result)=0
virtual ECI_RESULT ctrlStop(ECI_CTRL_HDL hCtrl, DWORD dwMode)=0
virtual ECI_RESULT ctrlSend(ECI_CTRL_HDL hCtrl, const ECI_CTRL_MESSAGE *pStcMessage, DWORD dwTimeout)=0
virtual ECI_RESULT initialize()=0
virtual IIxxatInterface * clone() const =0
Definition IIxxatInterface.hpp:8