ifw-fcf 7.1.4
Loading...
Searching...
No Matches
modulatorRpcErrors.hpp
Go to the documentation of this file.
1
8#ifndef FCF_DEVMGR_DEVICE_MODULATOR_RPC_ERRORS_H
9#define FCF_DEVMGR_DEVICE_MODULATOR_RPC_ERRORS_H
10
11#include <unordered_map>
12
13
15
16 enum {
23 RPC_ERR_LOCAL = -6
24 };
25
26 const std::unordered_map<short, std::string> RPC_ERRORS = {
27 {RPC_ERR_NOT_OP, "Cannot disable modulator. Not in OP state"},
28 {RPC_ERR_NOT_OP_READY, "Cannot enable modulator. Not in READY or FAILURE."},
29 {RPC_ERR_STILL_OPENNING , "Not allowed to close the modulator while it is still openning"},
30 {RPC_ERR_STILL_CLOSING, "Not allowed to open the modulator while it is still closing"},
31 {RPC_ERR_LOCAL, "RPC calls are not allowed in Local mode"},
32 };
33
34}
35#endif // FCF_DEVMGR_DEVICE_MODULATOR_RPC_ERRORS_H
Modulator class source file.
Definition modulator.hpp:17
@ RPC_ERR_NOT_OP
Definition modulatorRpcErrors.hpp:18
@ RPC_SUCCESS
Definition modulatorRpcErrors.hpp:17
@ RPC_ERR_STILL_OPENNING
Definition modulatorRpcErrors.hpp:21
@ RPC_ERR_LOCAL
Definition modulatorRpcErrors.hpp:23
@ RPC_ERR_STILL_CLOSING
Definition modulatorRpcErrors.hpp:22
@ RPC_ERR_NOT_OP_NOTREADY
Definition modulatorRpcErrors.hpp:20
@ RPC_ERR_NOT_OP_READY
Definition modulatorRpcErrors.hpp:19
const std::unordered_map< short, std::string > RPC_ERRORS
Definition modulatorRpcErrors.hpp:26