7 #include <asynPortDriver.h>
49 asynParamType mAsynType;
58 std::vector <std::string> mEnumValues, mCriticalValues;
62 std::vector<std::string> parseArray (
struct json_token *tokens,
65 int parseAccessMode (
struct json_token *tokens,
67 int parseMinMax (
struct json_token *tokens,
std::string const & key,
70 int parseValue (
struct json_token *tokens,
std::string & rawValue);
83 int getParam (
int &
value);
84 int getParam (
double &
value);
87 int setParam (
int value);
88 int setParam (
double value);
101 void setEnumValues (std::vector<std::string>
const & values);
133 asynPortDriver *mPortDriver;
153 int fetchParams (std::vector<std::string>
const & params);
Definition: eigerParam.h:44
EigerParam(EigerParamSet *set, std::string const &asynName, asynParamType asynType, sys_t ss=(sys_t) 0, std::string const &name="")
Definition: eigerParam.cpp:307
int fetch(void)
Definition: eigerParam.cpp:699
int get(bool &value)
Definition: eigerParam.cpp:365
void setEnumValues(std::vector< std::string > const &values)
Definition: eigerParam.cpp:359
int getIndex(void)
Definition: eigerParam.cpp:354
int put(bool value, int timeout=DEFAULT_TIMEOUT)
Definition: eigerParam.cpp:759
void setEpsilon(double epsilon)
Definition: eigerParam.cpp:349
Definition: eigerParam.h:131
EigerParam * getByIndex(int index)
Definition: eigerParam.cpp:982
int fetchParams(std::vector< std::string > const ¶ms)
Definition: eigerParam.cpp:1007
RestAPI * getApi(void)
Definition: eigerParam.cpp:968
int fetchAll(void)
Definition: eigerParam.cpp:996
EigerParam * create(std::string const &asynName, asynParamType asynType, sys_t ss=(sys_t) 0, std::string const &name="")
Definition: eigerParam.cpp:952
EigerParamSet(asynPortDriver *portDriver, RestAPI *api, asynUser *user)
Definition: eigerParam.cpp:947
asynPortDriver * getPortDriver(void)
Definition: eigerParam.cpp:963
EigerParam * getByName(std::string const &name)
Definition: eigerParam.cpp:973
asynUser * getUser(void)
Definition: eigerParam.cpp:991
std::map< std::string, EigerParam * > eiger_param_map_t
Definition: eigerParam.h:127
eiger_access_mode_t
Definition: eigerParam.h:25
@ EIGER_ACC_RW
Definition: eigerParam.h:27
@ EIGER_ACC_WO
Definition: eigerParam.h:28
@ EIGER_ACC_RO
Definition: eigerParam.h:26
std::map< int, EigerParam * > eiger_asyn_map_t
Definition: eigerParam.h:128
eiger_param_type_t
Definition: eigerParam.h:13
@ EIGER_P_UNINIT
Definition: eigerParam.h:14
@ EIGER_P_ENUM
Definition: eigerParam.h:20
@ EIGER_P_INT
Definition: eigerParam.h:16
@ EIGER_P_COMMAND
Definition: eigerParam.h:21
@ EIGER_P_BOOL
Definition: eigerParam.h:15
@ EIGER_P_UINT
Definition: eigerParam.h:17
@ EIGER_P_DOUBLE
Definition: eigerParam.h:18
@ EIGER_P_STRING
Definition: eigerParam.h:19
@ string
Definition: NDFileHDF5Layout.h:44
name
Definition: makeDbAndEdl.py:232
list value
Definition: makeDbAndEdl.py:234
sys_t
Definition: restApi.h:20
#define DEFAULT_TIMEOUT
Definition: restApi.h:8
Definition: eigerParam.h:32
double valDouble
Definition: eigerParam.h:37
int valInt
Definition: eigerParam.h:36
bool exists
Definition: eigerParam.h:33