DsValuatorSwitch(3D) — Kubota Pacfic Computer Inc. (\*(Dd)
NAME
DsValuatorSwitch − Enable or disable valuators
SYNOPSIS
C:
void DsValuatorSwitch(switchvalue)
DtSwitch switchvalue;
FORTRAN:
CALL DSVS(SWVAL)
INTEGER∗4 SWVAL
DESCRIPTION
DsValuatorSwitch sets the system valuator switch. The parameter switchvalue specifies whether valuator callbacks are currently allowed to execute.
A valuator is a callback object that depends on input slots. Input slots are entry points for DtReal <REAL∗8> type values. These input slots are the primary interface for connecting input events and values to Dor´
e.
When the value of the valuator switch is DcOff <DCOFF>, all inputs through input slots are blocked. When the value of the valuator switch is DcOn <DCON>, all blocked inputs are flushed. This mechanism allows applications to edit the database without worrying about simultaneous editing by valuators responding to external events.
DEFAULTS
The default DsValuatorSwitch is DcOn <DCON>.
SEE ALSO
DoCallback(3D), DoInputSlot(3D), DsInputValue(3D), DsInqValuatorGroup(3D)
September 02, 1992