PSDUS(3g) — Subroutines
Name
PSDUS − Sets the values specified for the deferral mode and modification mode entries in the workstation state list.
Operating States: PHOP, WSOP, ∗, ∗
PHIGS standard function
Syntax
PSDUS (WKID, DEFMOD, MODMOD)
Argument Data Type Access Description
---------------------------------------------------------------------------
WKID Integer Read Workstation identifier
DEFMOD Integer Read Deferral mode
MODMOD Integer Read Modification mode
---------------------------------------------------------------------------
Constants
Defined Argument Constant Description
---------------------------------------------------------------------------
DEFMOD PASAP Generate images as soon as possible.
PBNIG Generate images before the next
interaction globally, or before a
sample or event input occurs.
PBNIL Generate images before the next
interaction locally, or before a
sample or event input occurs.
PASTI Generate images at some time. The
workstation determines the exact time.
PWAITD The workstation waits to generate
images.
MODMOD PNIVE No immediate visual effect.
PUWOR Update without regeneration.
PUQUM Use quick update methods.
---------------------------------------------------------------------------
Description
PSDUS sets the values specified for the deferral mode and modification mode entries in the workstation state list for the specified workstation. It may delay deferred output, depending on the specified deferral mode value.
The deferral mode governs when visual effects take place. It can be set to one of the following values:
Mode Value Description
---------------------------------------------------------------------------
ASAP As soon as possible. Unless delayed by some outside
influence, Digital PHIGS ensures actions required to achieve
this visual effect are started before it returns control
to the application.
BNIG Before the next interaction globally. Digital PHIGS ensures
that the display on the specified workstation is visually
correct before the next interaction with a logical input
device starts on any workstation. If an interaction has
already started on another workstation, this value
defaults to ASAP.
BNIL Before the next interaction locally. Digital PHIGS ensures
that the display on the specified workstation is visually
correct before the next interaction with a logical input
device starts on this workstation. If an interaction has
already started on another workstation, this value
defaults to ASAP.
ASTI At some time. Digital PHIGS ensures that the display on the
specified workstation becomes visually correct at some
point in time.
WAIT When the application requests it. Digital PHIGS ensures that
the display on the specified workstation becomes visually
correct when the application changes the deferral mode.
The only visual effects that occur in WAIT deferral mode
are those effects required by the modification mode.
---------------------------------------------------------------------------
Deferral mode always applies to visual effects and never to effects on the CSS or on the workstation state list, which are always immediate.
While the application can control what kinds of modifications will be made to the display immediately, modifications do not necessarily make the display correspond exactly to the CSS and the workstation tables. Workstation capabilities affect the ability of the application to specify immediate changes to displays. For example, if new paper is required for a plotter device, an implicit regeneration (equivalent to a call to PRST) is required.
The dynamic modification accepted entries in the workstation description table that have the value IMM cause the action in UQUM modification mode to be the same as that in UWOR mode.
A workstation that does not provide a quick update method for a function does not perform simulation. Unless a function can be performed immediately or can be simulated, the effect is the same as if the modification mode were set to NIVE.
Changes to the modification mode are not retroactive. For example, visual effects that are pending as a result of previous modification (and deferral) mode settings may continue to be deferred, even if the modification mode is changed so that subsequent visual effects take place immediately.
See Also
PQDDUS
PQDUS
PRST
PUWK
DUPWSS