SafetySwitchIterator
Short Summary
This class is warpper for the default linked list iterator that implements the ISafetySwitch interface. It can be used to iterate over a linked list that contains objects which contains the ISafetySwitch interface. It passes the method and property calls forward to the actual current object.
| Access | Abstract | Final | Extends | Implements |
|---|---|---|---|---|
| - | No | No | CNM_Collections.ForwardLinkedListIterator | CNM_OpModeHandlingInterfaces.ISafetySwitch |
UML Diagram
Properties
className
Type: CNM_AbstractObject.ClassName
This abstract property returns the class name of the concrete object,…
currentSafetySwitch
Type: CNM_OpModeHandlingInterfaces.ISafetySwitch
isSwitchedOn
Type: BOOL
This property indicates that the unit is enabled and all safety requirements are met.…
Methods
switchOff
- Return type:
VOID
This method disables the unit if not all safety requirements are met. It Should be called only from the safety management.…
switchOn
- Return type:
VOID
This method enables the unit if all safety requirements are met. It Should be called only from the safety management.…
Code
Declaration
FUNCTION_BLOCK SafetySwitchIterator EXTENDS CNM_Collections.ForwardLinkedListIterator IMPLEMENTS CNM_OpModeHandlingInterfaces.ISafetySwitch