Class FeedbackLoopApplication
java.lang.Object
org.scictrl.csshell.epics.server.application.AbstractApplication
org.scictrl.csshell.epics.server.application.FeedbackLoopApplication
- All Implemented Interfaces:
Application,OnDemandValueProcessor.ValueProvider
FeedbackLoopApplication class.
- Author:
- igor@scictrl.com
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringConstantBREAK_POINTS="breakPoints"static final StringConstantENABLED="enabled"static final StringConstantERROR_SUM="ErrorSum"static final StringConstantINPUT="input"static final StringConstantOUTPUT="output"static final StringConstantOUTPUT_POINTS="outputPoints"static final StringConstantOUTPUT_SET="outputSet"Fields inherited from class org.scictrl.csshell.epics.server.application.AbstractApplication
database, DEFAULT_NAME_DELIMITER, dynamicRecordCreator, LINK_ERROR, LINK_ERROR_STRING, links, log, name, NAME_DELIMITER, nameDelimiter, records -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidConfigures the internals of this application, provides reference to configuration with root inside applications tag.protected voidnotifyRecordChange(String name, boolean alarmOnly) This method is called whenever record value changed for any record, which belongs to this application (it was added to the applicationAbstractApplication.addRecord(String, Record)).Methods inherited from class org.scictrl.csshell.epics.server.application.AbstractApplication
activate, addRecord, addRecordOfCommandProcessor, addRecordOfMemoryValueProcessor, addRecordOfMemoryValueProcessor, addRecordOfMemoryValueProcessor, addRecordOfMemoryValueProcessor, addRecordOfMemoryValueProcessor, addRecordOfMemoryValueProcessor, addRecordOfMemoryValueProcessor, addRecordOfMemoryValueProcessor, addRecordOfMemoryValueProcessor, addRecordOfOnDemandProcessor, addRecordOfOnLinkValueProcessor, configure, connectLinks, createNewStore, fullRecordName, getLinks, getName, getNameDelimiter, getNotNull, getRecord, getRecordErrorSum, getRecordLinkError, getRecordNames, getRecords, getStore, getStore, getValue, initialize, isActivated, isDynamicRecordCreator, log4debug, log4error, log4error, log4info, notifyLinkChange, notifyRecordWrite, processLinkChange, pushDoneCommandProcessor, reconnectLinks, resetOnDemandProcessor, restore, store, toString, updateErrorSum, updateErrorSum, updateLinkError, updateLinkError
-
Field Details
-
ENABLED
ConstantENABLED="enabled"- See Also:
-
ERROR_SUM
ConstantERROR_SUM="ErrorSum"- See Also:
-
OUTPUT_POINTS
ConstantOUTPUT_POINTS="outputPoints"- See Also:
-
BREAK_POINTS
ConstantBREAK_POINTS="breakPoints"- See Also:
-
OUTPUT
ConstantOUTPUT="output"- See Also:
-
OUTPUT_SET
ConstantOUTPUT_SET="outputSet"- See Also:
-
INPUT
ConstantINPUT="input"- See Also:
-
-
Constructor Details
-
FeedbackLoopApplication
public FeedbackLoopApplication()Constructor for FeedbackLoopApplication.
-
-
Method Details
-
configure
public void configure(String name, org.apache.commons.configuration.HierarchicalConfiguration config) Configures the internals of this application, provides reference to configuration with root inside applications tag. Server structure is not yet initialized, so does not have reference to Database, the Database reference will be available during activate call.- Specified by:
configurein interfaceApplication- Overrides:
configurein classAbstractApplication- Parameters:
name- aStringobjectconfig- configuration with room inside application tag.
-
notifyRecordChange
This method is called whenever record value changed for any record, which belongs to this application (it was added to the applicationAbstractApplication.addRecord(String, Record)). Implementation class should override this method to intercept the update.- Overrides:
notifyRecordChangein classAbstractApplication- Parameters:
name- the name of record, that triggered change.alarmOnly- iftruethen only alarm has been changed
-