pset_loc_mode(3g) — Subroutines
Name
pset_loc_mode − Sets the operating mode and echo state of a locator device.
Operating States: PHOP, WSOP, ∗, ∗
PHIGS standard function
Syntax
void pset_loc_mode (
Pint wsid, /∗ (I) Workstation identifier ∗/
Pint dev_num, /∗ (I) Locator device number ∗/
Pop_mode mode, /∗ (I) Operating mode ∗/
Pecho_switch echo /∗ (I) Echo switch ∗/
)
Data Structures
typedef enum {
POP_REQ, /∗ request mode ∗/
POP_SAMPLE, /∗ sample mode ∗/
POP_EVENT /∗ event mode ∗/
} Pop_mode;
typedef enum {
PSWITCH_NO_ECHO, /∗ echo disabled ∗/
PSWITCH_ECHO /∗ echo enabled ∗/
} Pecho_switch;
Description
pset_loc_mode sets the specified locator device to the specified operating mode, and sets the echo state of the device as specified. Depending on the specified input operating mode, Digital PHIGS may begin or end an interaction with the device.
Digital PHIGS stores the input device state defined by the operating mode and the echo switch in the workstation state list for the specified choice device. For more information on operating modes, see Input Operating Modes.
See Also
pget_loc
pget_loc3
pinit_loc
pinit_loc3
pinq_marker_rep
preq_loc
preq_loc3
psample_loc
psample_loc3