fwMCS
8.4.0
|
Functions | |
fwMCS_subscribeExperiment (string experim, dyn_string &exceptionInfo) | |
fwMCS_unsubscribeExperiment (string experim) | |
_fwCreateDPT (string dptName, dyn_string fieldNames, dyn_int fieldTypes, string type, dyn_string &exceptionMessage) | |
bool | _DPTExists (string pattern) |
_setModelData (string newDp, dyn_string dS1, string current) | |
_configureAdditionalDpe (string curDpe, string ramDpe, string magnetSel, string experiment) | |
_getValuesDeviceUnit (string DPT, string current, string ramping, dyn_dyn_string &names, dyn_string &exceptionMessage) | |
_createDeviceUnit (string fwMagnetDP, dyn_dyn_string values) | |
_getDptFieldData (string DPT, dyn_string &dfn) | |
bool | _isSameStructure (dyn_string ds1, dyn_string ds2) |
_getDataType (int typeIn, string &typeOut) | |
This library contains functions and constants needed by the fwMCS -
fwMCS_subscribeExperiment | ( | string | experim, |
dyn_string & | exceptionInfo | ||
) |
fwMCS_unsubscribeExperiment | ( | string | experim | ) |
_fwCreateDPT | ( | string | dptName, |
dyn_string | fieldNames, | ||
dyn_int | fieldTypes, | ||
string | type, | ||
dyn_string & | exceptionMessage | ||
) |
Function used for creating or changing a DPT for the DIP subscription
dptName | input, the name the DPT to create |
fieldNames | input, field names of the DPT |
fieldTypes | input, field types of the DPT |
type | input, specify if the DPT has to be created on changed |
exceptionMessage | output, information about errors |
bool _DPTExists | ( | string | pattern | ) |
Function checks if the given dpt exist
pattern | input, the pattern the DPT to check |
_setModelData | ( | string | newDp, |
dyn_string | dS1, | ||
string | current | ||
) |
Function used for setting the model data
newDp | input, the name the DPT for the model |
dS1 | input, field names of publication |
current | input, name of the current value |
_configureAdditionalDpe | ( | string | curDpe, |
string | ramDpe, | ||
string | magnetSel, | ||
string | experiment | ||
) |
Function used for configuing additional dpe's used in the DU Type
curDpe | input, the name of the current value in the publication |
ramDpe | input, the name of the ramping value in the publication |
magnetSel | input, the name of the selected magnet which is published |
experiment | input, the name of the selected experiment |
_getValuesDeviceUnit | ( | string | DPT, |
string | current, | ||
string | ramping, | ||
dyn_dyn_string & | names, | ||
dyn_string & | exceptionMessage | ||
) |
For a given DTP the function returns the structure with the current and ramping value and their types.
DPT | input, the name of the DPT |
current | input, the name of the current value in the publication |
ramping | input, the name of the ramping value in the publication |
names | output, structure with the current and ramping value and their types |
exceptionMessage | output, information about errors |
_createDeviceUnit | ( | string | fwMagnetDP, |
dyn_dyn_string | values | ||
) |
Function for creating a DU Type for the magnets of an experiment.
fwMagnetDP | input, the name of the DPT for the magnets of an experiment |
values | input, structure with the current and ramping value and their types |
_getDptFieldData | ( | string | DPT, |
dyn_string & | dfn | ||
) |
For a given DTP the function gets the structure with the names of its dpes.
DPT | input, the name of the DPT |
dfn | output, structure with the names of the dpes for the DPT |
bool _isSameStructure | ( | dyn_string | ds1, |
dyn_string | ds2 | ||
) |
Checks if two structures have the same content.
ds1 | input, structure number 1 |
ds2 | input, structure number 2 |
_getDataType | ( | int | typeIn, |
string & | typeOut | ||
) |
Returns the type in a string.
typeIn | input, type in a int |
typeOut | output, type in a string |