Functions | |
void | lbCondDb_init () |
void | lbCondDb_subscribeCmnd () |
void | lbCondDb_createDPTcmd () |
lbCondDb_subscribeSrv () | |
void | lbCondDb_createDPTfolders () |
void | lbCondDb_createDPT_XML () |
void | lbCondDb_createDPTcond () |
void | lbCondDb_createDPTrun () |
void | lbCondDb_createDPTFwConditionsInfo () |
int | lbCondDb_getCondDBnodes (dyn_string &folders, dyn_string &conditions) |
int | lbCondDb_getCondDBsrv_status () |
string | lbCondDB_getParent (string folder_path) |
string | lbCondDB_getFolderName (string path) |
string | lbCondDb_validateFolder (string fldr) |
bool | lbCondDb_addCondition (string cond_name, string fldr_name, dyn_string parameters, int type, int timeUp, dyn_int params_type, dyn_int params_value, string &error) |
bool | lbCondDb_createCondition (string cond_name, string fldr_name, dyn_string parameters, int type, int timeUp, dyn_int params_type, dyn_int params_value, string &error) |
string | lbCondDb_getXMLCondition (string condName) |
void | lbCondDb_stopCondition (string condName) |
void | lbCondDb_startCondition (string condName) |
dyn_string | lbCondDb_getLocalCond () |
int | getLastPos (string or, string sch) |
string | translate_type (string dp) |
string | translate_format (string dp) |
|
This function creates a condition. Returns false when a condition can not be added, true in any other case. The requested function parameters:
|
|
Creates the data point used to store de XML string of a selected condition.
|
|
Creates the datapoint needed to subscribe de DIM command.
|
|
Creates the DPT used to recive the data of the Conditions service.
|
|
creates the DPT used to recive the data of the Folder service.
|
|
Creates de DPT used to store the information about a defined condition.
|
|
Creates de data point used to received the Run Number service data.
|
|
Gets all the availables nodes in the conditions database: the folders and the existing conditions in those folders. If no errors this function returns 0, -1 in any other case.
|
|
Returns the status of the CondDB server. This is a DIM Server wich publishes the available nodes in the Conditions database. If the server is not running is not posible to get the existing nodes. If no errors this function returns 0, -1 in any other case.
|
|
Returns the last name in a folder path.
|
|
Gets all the conditions defined localy.
|
|
Returns the path to a given folder, folder ser or condition.
|
|
Generates the XML object that represent the given condition name.
|
|
This function create the needed data points and subscribes the necesary comands and services.
|
|
Starts the update of the condition with name condName.
|
|
Stops the condition wht the name condName
|
|
Subscribe to the comand which sends the conditions to the DIM server.
|
|
Subscribe the PVSS client to two DIM services, one wich publishes the folder of the condDB and the other wich publish the conditions names stored in the condDB.
|
|
Validates if the given folder path is a right one to create a new condition. If everything is ok it returns an empty string, in any other case, the funcion returns an error message explaining the cause of the failure.
|