AbstractAssertion
Short summary
This abstract class is for all the assertion classes to ease and unify the callbacks
| Access | Abstract | Final | Extends | Implements |
|---|---|---|---|---|
| INTERNAL | Yes | No | CNM_AbstractObject.Object | IAssertCallBackSetter |
UML Diagram
Parameters
none
Properties
className
Type: CNM_AbstractObject.ClassName
This abstract property returns the class name of the concrete object, …
Methods
assertionWasWrong
- Parameters:
message(AssertMessage): alarm messageadditionalText(Tc2_System.T_MaxString): debugging information
- Return type:
VOID
This method is called if an assertion was FALSE…
getDebugInfo
- Parameters:
caller(Tc2_System.T_MaxString): name of the caller method
- Return type:
Tc2_System.T_MaxString
This method returns a debug info string…
setCallBack
- Parameters:
callBack(IAssertCallBack): the class that must be informed if an assertion is false
- Return type:
VOID
This methods is the setter for the callback class if an assertion was false…
Code
Declaration
{attribute 'reflection'}
FUNCTION_BLOCK INTERNAL ABSTRACT AbstractAssertion EXTENDS CNM_AbstractObject.Object IMPLEMENTS IAssertCallBackSetter
VAR
(* the class that must be informed if an assertion is false *)
callBack :IAssertCallBack;
END_VAR