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);
153 int fetchParams (std::vector<std::string>
const & params);
std::map< std::string, EigerParam * > eiger_param_map_t
Definition: eigerParam.h:127
Definition: eigerParam.h:28
Definition: eigerParam.h:26
Definition: eigerParam.h:27
Base class for asyn port drivers; handles most of the bookkeeping for writing an asyn port driver wit...
Definition: asynPortDriver.h:41
int put(bool value, int timeout=DEFAULT_TIMEOUT)
Definition: eigerParam.cpp:747
Definition: eigerParam.h:18
name
Definition: makeDbAndEdl.py:232
Definition: eigerParam.h:31
int fetchAll(void)
Definition: eigerParam.cpp:984
eiger_access_mode_t
Definition: eigerParam.h:24
list value
Definition: makeDbAndEdl.py:234
Definition: eigerParam.h:19
bool exists
Definition: eigerParam.h:33
RestAPI * getApi(void)
Definition: eigerParam.cpp:956
EigerParam(EigerParamSet *set, std::string const &asynName, asynParamType asynType, sys_t ss=(sys_t) 0, std::string const &name="")
Definition: eigerParam.cpp:305
int fetchParams(std::vector< std::string > const ¶ms)
Definition: eigerParam.cpp:995
double valDouble
Definition: eigerParam.h:37
eiger_param_type_t
Definition: eigerParam.h:12
Definition: eigerParam.h:130
asynUser * getUser(void)
Definition: eigerParam.cpp:979
asynPortDriver * getPortDriver(void)
Definition: eigerParam.cpp:951
Definition: eigerParam.h:21
Definition: eigerParam.h:14
Definition: eigerParam.h:15
int valInt
Definition: eigerParam.h:36
Definition: eigerParam.h:17
void setEnumValues(std::vector< std::string > const &values)
Definition: eigerParam.cpp:357
Definition: eigerParam.h:20
EigerParamSet(asynPortDriver *portDriver, RestAPI *api, asynUser *user)
Definition: eigerParam.cpp:935
int fetch(void)
Definition: eigerParam.cpp:687
void setEpsilon(double epsilon)
Definition: eigerParam.cpp:347
#define DEFAULT_TIMEOUT
Definition: restApi.h:8
Definition: eigerParam.h:43
int getIndex(void)
Definition: eigerParam.cpp:352
Definition: NDFileHDF5Layout.h:42
EigerParam * getByName(std::string const &name)
Definition: eigerParam.cpp:961
EigerParam * create(std::string const &asynName, asynParamType asynType, sys_t ss=(sys_t) 0, std::string const &name="")
Definition: eigerParam.cpp:940
int get(bool &value)
Definition: eigerParam.cpp:363
sys_t
Definition: restApi.h:14
EigerParam * getByIndex(int index)
Definition: eigerParam.cpp:970
Definition: eigerParam.h:16
std::map< int, EigerParam * > eiger_asyn_map_t
Definition: eigerParam.h:128