ifw-fcf 8.0.2
 
Loading...
Searching...
No Matches
modulatorRpcErrors.hpp
Go to the documentation of this file.
1
7
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 {
28 };
29
30 const std::unordered_map<short, std::string> RPC_ERRORS = {
31 {RPC_ERR_NOT_OP, "RPC Call failed. Not in OP state"},
32 {RPC_ERR_NOT_OP_READY, "Call failed. Not in NOT READY or FAILURE."},
33 {RPC_ERR_NOT_OP_NOTREADY, "Call failed. Not in NOT READY or FAILURE."},
34 {RPC_ERR_LOCAL, "RPC call are not allowed in Local mode"},
35 {RPC_ERR_OUTPUTS_ACTIVE, "RPC call not allowed while outputs are ACTIVE."},
36 {RPC_ERR_OUTPUTS_NOT_ACTIVE, "RPC call not allowed. System is not ACTIVE."},
37 {RPC_ERR_OUTPUTS_NOT_IDLE, "RPC call not allowed. System is not IDLE."},
38 {RPC_ERR_OUTPUTS_FREQ_OUT_OF_RANGE, "Frequency out of range [10..560] Hz"},
39 {RPC_ERR_OUTPUTS_SCALE_OUT_OF_RANGE, "Scale out of range (0..2] Hz"},
40 {RPC_ERR_OUTPUTS_START_IN_PAST, "Start time already passed"}
41
42 };
43
44}
45#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_ERR_OUTPUTS_START_IN_PAST
Definition modulatorRpcErrors.hpp:27
@ RPC_SUCCESS
Definition modulatorRpcErrors.hpp:17
@ RPC_ERR_OUTPUTS_NOT_IDLE
Definition modulatorRpcErrors.hpp:24
@ RPC_ERR_OUTPUTS_NOT_ACTIVE
Definition modulatorRpcErrors.hpp:23
@ RPC_ERR_OUTPUTS_FREQ_OUT_OF_RANGE
Definition modulatorRpcErrors.hpp:25
@ RPC_ERR_OUTPUTS_ACTIVE
Definition modulatorRpcErrors.hpp:22
@ RPC_ERR_OUTPUTS_SCALE_OUT_OF_RANGE
Definition modulatorRpcErrors.hpp:26
@ RPC_ERR_LOCAL
Definition modulatorRpcErrors.hpp:21
@ 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:30