ifw-fcf 7.1.4
Loading...
Searching...
No Matches
iodevRpcErrors.hpp
Go to the documentation of this file.
1
8#ifndef DEVMGR_DEVICE_IODEV_RPC_ERRORS_H
9#define DEVMGR_DEVICE_IODEV_RPC_ERRORS_H
10
11#include <unordered_map>
12
13
15
16 enum {
21 };
22
23 const std::unordered_map<short, std::string> RPC_ERRORS = {
24 {RPC_ERR_NOT_OP, "Cannot disable Sensor. Not in OP state"},
25 {RPC_ERR_NOT_OP_READY, "Cannot enable Sensor. Not in READY."},
26 {RPC_ERR_NOT_OP_NOTREADY, "Cannot init Sensor. Not in NOTREADY or FAILURE."}
27 };
28
29}
30#endif // DEVMGR_DEVICE_IODEV_RPC_ERRORS_H
IODev class header file.
Definition iodev.hpp:17
@ RPC_SUCCESS
Definition iodevRpcErrors.hpp:17
@ RPC_ERR_NOT_OP_NOTREADY
Definition iodevRpcErrors.hpp:20
@ RPC_ERR_NOT_OP_READY
Definition iodevRpcErrors.hpp:19
@ RPC_ERR_NOT_OP
Definition iodevRpcErrors.hpp:18
const std::unordered_map< short, std::string > RPC_ERRORS
Definition iodevRpcErrors.hpp:23