Package org.epics.pvdata.property
Class PVAlarmFactory
- java.lang.Object
-
- org.epics.pvdata.property.PVAlarmFactory
-
-
Constructor Summary
Constructors Constructor Description PVAlarmFactory()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanattach(PVField pvField)Attempt to attach to the alarm field.static PVAlarmcreate()Create a PVAlarm.voiddetach()Remove attachment to alarm field.voidget(Alarm alarm)Get the alarm values from the attached alarm field and write to the specified Alarm.booleanisAttached()Is this attached to an alarm structure?booleanset(Alarm alarm)Set the alarm.
-
-
-
Method Detail
-
create
public static PVAlarm create()
Create a PVAlarm.- Returns:
- the newly created PVAlarm
-
attach
public boolean attach(PVField pvField)
Description copied from interface:PVAlarmAttempt to attach to the alarm field. The field must either be an alarm field itself or a subfield of the parent of a field named value.
-
detach
public void detach()
Description copied from interface:PVAlarmRemove attachment to alarm field.
-
isAttached
public boolean isAttached()
Description copied from interface:PVAlarmIs this attached to an alarm structure?- Specified by:
isAttachedin interfacePVAlarm- Returns:
- (false,true) is (not, is) attached to an alarm structure
-
get
public void get(Alarm alarm)
Description copied from interface:PVAlarmGet the alarm values from the attached alarm field and write to the specified Alarm.
-
-