10 #ifndef FCF_DEVMGR_DEVICE_PIEZO_CONFIG_HPP
11 #define FCF_DEVMGR_DEVICE_PIEZO_CONFIG_HPP
17 #include <yaml-cpp/yaml.h>
19 #include "fcf/common/iComm.hpp"
170 CFG_USER_TO_BIT_INPUT1,
171 CFG_USER_TO_BIT_INPUT2,
172 CFG_USER_TO_BIT_INPUT3,
173 CFG_USER_OFFSET_INPUT1,
174 CFG_USER_OFFSET_INPUT2,
175 CFG_USER_OFFSET_INPUT3,
176 CFG_USER_TO_BIT_OUTPUT1,
177 CFG_USER_TO_BIT_OUTPUT2,
178 CFG_USER_TO_BIT_OUTPUT3,
179 CFG_USER_OFFSET_OUTPUT1,
180 CFG_USER_OFFSET_OUTPUT2,
181 CFG_USER_OFFSET_OUTPUT3,
194 const std::string name);
211 #endif //FCF_DEVMGR_DEVICE_PIEZO_CONFIG_H
constexpr auto RPC_POS
Definition: piezoConfig.hpp:73
constexpr auto CI_STAT_LOCAL
Definition: deviceConfig.hpp:53
PiezoConfig(const std::string filename, const std::string name)
DeviceConfig constructor.
Definition: piezoConfig.cpp:26
constexpr auto CI_STAT_MON_ACT_POS_USR3
Definition: piezoConfig.hpp:113
constexpr auto CI_UPPER_LIMIT3
Definition: piezoConfig.hpp:44
constexpr double DEFAULT_USER_TO_BIT
Definition: piezoConfig.hpp:65
constexpr auto RPC_INIT
Definition: deviceConfig.hpp:43
constexpr auto CI_FULL_RANGE1
Definition: piezoConfig.hpp:33
constexpr auto CI_USER_TO_BIT_INPUT2
Definition: piezoConfig.hpp:46
constexpr int SUBSTATE_INITIALISING
Definition: deviceConfig.hpp:84
constexpr auto CI_USER_OFFSET_INPUT3
Definition: piezoConfig.hpp:50
constexpr auto CI_STAT_ACTUAL_POS_USER
Definition: piezoConfig.hpp:100
constexpr auto CI_USER_TO_BIT_OUTPUT3
Definition: piezoConfig.hpp:53
constexpr auto CI_USER_TO_BIT_OUTPUT1
Definition: piezoConfig.hpp:51
constexpr auto SUBSTATE_NOTREADY_STR
Definition: deviceConfig.hpp:87
constexpr auto CI_USER_TO_BIT_INPUT1
Definition: piezoConfig.hpp:45
constexpr auto CI_UPPER_LIMIT2
Definition: piezoConfig.hpp:43
constexpr auto CI_STAT_ACTUAL_POS_USER2
Definition: piezoConfig.hpp:102
constexpr auto CI_STAT_MON_ACT_POS_BIT1
Definition: piezoConfig.hpp:106
constexpr auto CI_STAT_ACTUAL_POS_BIT1
Definition: piezoConfig.hpp:96
constexpr short SUBSTATE_OP_POS
Definition: piezoConfig.hpp:79
constexpr auto CI_LOWER_LIMIT1
Definition: piezoConfig.hpp:39
constexpr auto CI_STAT_MON_ACT_POS_BIT
Definition: piezoConfig.hpp:105
const std::vector< std::string > cfgMapping
Definition: piezoConfig.hpp:115
constexpr auto CI_USER_OFFSET_OUTPUT2
Definition: piezoConfig.hpp:55
constexpr auto CI_STAT_ACTUAL_POS_USER3
Definition: piezoConfig.hpp:103
constexpr auto CI_USER_OFFSET_INPUT2
Definition: piezoConfig.hpp:49
constexpr short DEFAULT_UPPER_LIMIT
Definition: piezoConfig.hpp:62
constexpr auto CI_STAT_MON_ACT_POS_BIT2
Definition: piezoConfig.hpp:107
constexpr auto RPC_MOVEUSER
Definition: piezoConfig.hpp:75
constexpr auto CI_USER_OFFSET_OUTPUT3
Definition: piezoConfig.hpp:56
constexpr auto CI_STAT_SUBSTATE
Definition: deviceConfig.hpp:50
constexpr auto RPC_DISABLE
Definition: deviceConfig.hpp:45
constexpr auto CI_HOME1
Definition: piezoConfig.hpp:36
constexpr auto CI_MAX_ON
Definition: piezoConfig.hpp:31
constexpr auto CI_STAT_ACTUAL_POS_BIT3
Definition: piezoConfig.hpp:98
constexpr auto CI_STAT_MON_ACT_POS_BIT3
Definition: piezoConfig.hpp:108
constexpr short DEFAULT_FULL_RANGE
Definition: piezoConfig.hpp:60
PiezoHwErrors header file.
constexpr auto CI_STAT_MON_ACT_POS_USR1
Definition: piezoConfig.hpp:111
constexpr auto CI_LOWER_LIMIT2
Definition: piezoConfig.hpp:40
constexpr auto SUBSTATE_OP_POS_STR
Definition: piezoConfig.hpp:82
const std::vector< std::string > rpcMapping
Definition: piezoConfig.hpp:131
constexpr auto RPC_HOME
Definition: piezoConfig.hpp:72
virtual ~PiezoConfig()
DeviceConfig destructor.
Definition: piezoConfig.cpp:115
constexpr auto SUBSTATE_OP_AUTO_STR
Definition: piezoConfig.hpp:83
configSet class header file.
constexpr auto CI_UPPER_LIMIT1
Definition: piezoConfig.hpp:42
constexpr short DEFAULT_LOWER_LIMIT
Definition: piezoConfig.hpp:61
constexpr auto RPC_STOP
Definition: deviceConfig.hpp:46
constexpr auto CI_USER_OFFSET_OUTPUT1
Definition: piezoConfig.hpp:54
constexpr auto CI_STAT_STATE
Definition: deviceConfig.hpp:51
constexpr auto RPC_AUTO
Definition: piezoConfig.hpp:71
constexpr auto CI_USER_TO_BIT_INPUT3
Definition: piezoConfig.hpp:47
constexpr int SUBSTATE_NOTREADY
Definition: deviceConfig.hpp:82
constexpr auto CI_USER_TO_BIT_OUTPUT2
Definition: piezoConfig.hpp:52
DataContext class header file.
constexpr auto CI_FULL_RANGE3
Definition: piezoConfig.hpp:35
constexpr auto SUBSTATE_OP_ERROR_STR
Definition: deviceConfig.hpp:96
constexpr auto SUBSTATE_INITIALISING_STR
Definition: deviceConfig.hpp:88
constexpr auto CI_HOME3
Definition: piezoConfig.hpp:38
constexpr auto CI_STAT_MON_ACT_POS_USR
Definition: piezoConfig.hpp:110
constexpr auto CI_STAT_ACTUAL_POS_BIT
Definition: piezoConfig.hpp:95
constexpr auto CI_LOWER_LIMIT3
Definition: piezoConfig.hpp:41
constexpr short DEFAULT_USER_OFFSET
Definition: piezoConfig.hpp:63
constexpr auto CI_STAT_MON_ACT_POS_USR2
Definition: piezoConfig.hpp:112
constexpr int SUBSTATE_OP_ERROR
Definition: deviceConfig.hpp:93
constexpr auto CI_STAT_ACTUAL_POS_BIT2
Definition: piezoConfig.hpp:97
piezo Configuration class
Definition: piezoConfig.hpp:151
constexpr auto RPC_RESET
Definition: deviceConfig.hpp:47
constexpr bool DEFAULT_NUM_AXIS
Definition: piezoConfig.hpp:59
const std::vector< std::string > statMapping
Definition: piezoConfig.hpp:118
Device Configuration class.
Definition: deviceConfig.hpp:125
constexpr auto RPC_MOVEBITS
Definition: piezoConfig.hpp:74
PiezoRpcErrors header file.
constexpr auto CI_STAT_ERROR_CODE
Definition: deviceConfig.hpp:54
constexpr bool DEFAULT_MAX_ON
Definition: piezoConfig.hpp:58
constexpr int SUBSTATE_ERROR
Definition: deviceConfig.hpp:85
short GetNumAxes() const
Definition: piezoConfig.cpp:119
constexpr auto CI_STAT_ACTUAL_POS_USER1
Definition: piezoConfig.hpp:101
constexpr auto CI_FULL_RANGE2
Definition: piezoConfig.hpp:34
constexpr short SUBSTATE_OP_AUTO
Definition: piezoConfig.hpp:80
constexpr auto CI_USER_OFFSET_INPUT1
Definition: piezoConfig.hpp:48
constexpr auto RPC_ENABLE
Definition: deviceConfig.hpp:44
DeviceConfig class header file.
constexpr auto SUBSTATE_ERROR_STR
Definition: deviceConfig.hpp:90
constexpr short DEFAULT_HOME
Definition: piezoConfig.hpp:64
constexpr auto CI_NUM_AXIS
Definition: piezoConfig.hpp:32
const std::unordered_map< short, std::string > SubstateMap
Definition: piezoConfig.hpp:85
constexpr auto CI_HOME2
Definition: piezoConfig.hpp:37