#include <string>#include <map>#include <iostream>#include <epicsString.h>#include "asynPortDriver.h"#include "ECLabParams.h"#include "BooleanParams.cpp"#include "IntegerParams.cpp"#include "SingleParams.cpp"#include "BooleanArrayParams.cpp"#include "IntegerArrayParams.cpp"#include "SingleArrayParams.cpp"Go to the source code of this file.
Classes | |
| struct | technique_t |
Typedefs | |
| typedef std::map< int, std::vector< technique_t > > | techniqueMap_t |
Enumerations | |
| enum | ParamType { Single, Boolean, Integer, SingleArray, BooleanArray, IntegerArray } |
Functions | |
| static asynParamType | ECLabToASYNType (ParamType type) |
| static void | addTechParam (asynPortDriver *driver, techniqueMap_t &the_map, const std::string &technique, int addr, const std::string &label, ParamType type, const std::string ¶m, const std::string &desc, int nelem=1) |
| void | setECIntegerParam (asynPortDriver *driver, int addr, int id, epicsInt32 value) |
| void | setECSingleParam (asynPortDriver *driver, int addr, int id, epicsFloat64 value) |
| void | getTechniqueParams (const std::string &technique, int addr, std::vector< TEccParam_t > &values, bool changes_only) |
| void | printParams (std::ostream &os) |
| void | addAllParameters (asynPortDriver *driver) |
Variables | |
| static techniqueMap_t | g_map |
Definition in file ECLabParams.cpp.
| typedef std::map<int, std::vector<technique_t> > techniqueMap_t |
Definition at line 30 of file ECLabParams.cpp.
| enum ParamType |
| Enumerator | |
|---|---|
| Single | |
| Boolean | |
| Integer | |
| SingleArray | |
| BooleanArray | |
| IntegerArray | |
Definition at line 18 of file ECLabParams.cpp.
| void addAllParameters | ( | asynPortDriver * | driver | ) |
Definition at line 150 of file ECLabParams.cpp.
Referenced by ECLabDriver::ECLabDriver().
|
static |
Definition at line 55 of file ECLabParams.cpp.
References ECLabToASYNType(), technique_t::label, t, technique_t::technique, technique_t::type, and technique_t::update.
|
static |
Definition at line 34 of file ECLabParams.cpp.
References Boolean, BooleanArray, Integer, IntegerArray, Single, and SingleArray.
Referenced by addTechParam().
| void getTechniqueParams | ( | const std::string & | technique, |
| int | addr, | ||
| std::vector< TEccParam_t > & | values, | ||
| bool | changes_only | ||
| ) |
Definition at line 111 of file ECLabParams.cpp.
References g_map, t, technique_t::technique, technique_t::update, and technique_t::value.
Referenced by ECLabDriver::writeInt32(), and ECLabDriver::writeOctet().
| void printParams | ( | std::ostream & | os | ) |
Definition at line 133 of file ECLabParams.cpp.
References g_map, technique_t::label, t, technique_t::technique, and technique_t::value.
Referenced by ECLabDriver::report().
| void setECIntegerParam | ( | asynPortDriver * | driver, |
| int | addr, | ||
| int | id, | ||
| epicsInt32 | value | ||
| ) |
Definition at line 78 of file ECLabParams.cpp.
References Boolean, g_map, technique_t::label, t, technique_t::type, technique_t::update, and technique_t::value.
Referenced by ECLabDriver::writeInt32().
| void setECSingleParam | ( | asynPortDriver * | driver, |
| int | addr, | ||
| int | id, | ||
| epicsFloat64 | value | ||
| ) |
Definition at line 98 of file ECLabParams.cpp.
References g_map, technique_t::label, t, technique_t::update, and technique_t::value.
Referenced by ECLabDriver::writeFloat64().
|
static |
Definition at line 32 of file ECLabParams.cpp.
Referenced by getTechniqueParams(), printParams(), setECIntegerParam(), and setECSingleParam().
1.8.5