Functions | |
void | fwUkl1ExceptionHandling_display (dyn_string &exceptionInfo) |
void | fwUkl1ExceptionHandling_setDisplayPanel (const string &panel) |
string | fwUkl1ExceptionHandling_getDisplayPanel () |
void | _fwUkl1ExceptionHandling_display (const string &exceptionTreeName, string sExceptionInfo) |
string | _fwUkl1ExceptionHandling_createTreeBaseNode (shape &exceptionTree, dyn_string &exceptionInfo) |
void | _fwUkl1ExceptionHandling_createTree (shape &exceptionTree, dyn_string &exceptionInfo, string &baseNodeId, string &exceptId) |
|
This creates the exception tree with the given node as a base. A check must have been made that the exception does not already exist in the tree. This function assumes that it does not.
|
|
This creates the base node to be used in the tree for this exception chain. If the base node it wishes to use already exists then this will be returned for the parent ID and no changes are made to it. Otherwise the function creates a node and returns the ID of this node.
|
|
Takes an exception chain in the form of a `|' delimited string and converts this into a tree structure displayed on a PVSS tree shape.
|
|
Opens the panel defined by gsFwUkl1ExceptionHandlingDisplayPanel displaying the exception chain given by exceptionInfo. If the dyn_string is empty no panel is displayed.
Example (...) //Create a dyn_string to hold the exception information. dyn_string exceptionInfo; //Call a function, that could generate an error. thisFunction(exceptionInfo); //If an error has been generated it will be displayed otherwise nothing will occur. fwUkl1ExceptionHandling_display(exceptionInfo); //Note that exception info is now definately empty, for example a call to fwUkl1ExceptionLog_submit() would do nothing. (...) |
|
Returns the full path and name of the panel that is used to display the exception chain by fwUkl1ExceptionHandling_display().
|
|
Sets the panel used to display the exceptionInfo dyn_string given to fwUkl1ExceptionHandling_display().
|