Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

INQUIRE WORKSTATION STATE TABLE PLUS LENGTHS(3P+)  —  Kubota Pacfic Computer Inc. (29 February 1991)

NAME

INQUIRE WORKSTATION STATE TABLE PLUS LENGTHS − inquire the lengths of the extended workstation state tables for a specified workstation type

SYNOPSIS

C Syntax

void
pinq_ws_st_table_plus ( type, error_ind, lengths )
Pinttype;workstation type
Pint∗error_ind;OUT error indicator
Pws_tables_plus∗lengths; OUT lengths of the workstation tables

Required PHIGS Operating States

(PHOP, ∗, ∗, ∗)

DESCRIPTION

Purpose

INQUIRE WORKSTATION STATE TABLE PLUS LENGTHS inquires the lengths of the extended workstation state tables for a specified workstation type. 

C Input Parameters

typeThe workstation type in question. 

C Output Parameters

error_ind
A pointer to the location to store the error number of any error detected by this function.

lengths
A pointer to a Pws_tables_plus structure which returns the lengths of the workstation’s tables. Pws_tables_plus is defined in phigs.h as follows:

typedef struct {
Pintline_bundles;/∗ polyline tables ∗/
Pintmark_bundles; /∗ polymarker tables ∗/
Pinttext_bundles; /∗ text tables ∗/
Pintint_bundles;/∗ interior tables ∗/
Pintedge_bundles; /∗ edge tables ∗/
Pintpat_reps;/∗ pattern tables ∗/
Pintcolr_reps;/∗ colour tables ∗/
Pintview_reps;/∗ view tables ∗/
Pintdcue_rep;/∗ depth cue tables ∗/
Pintlight_src_rep; /∗ light source tables ∗/
Pintcolr_map_rep; /∗ colour mapping tables ∗/
} Pws_tables_plus;

Execution

If the inquired information is available, the error indicator is returned as zero and values are returned in the output parameters. 

If the inquired information is not available, the values returned in the output parameters are undefined and the error indicator is set to one of the below error numbers to indicate the reason for nonavailability. 

Since this is an inquiry function, ERROR HANDLING is not invoked when an error is detected by this function. 

ERRORS

002Ignoring function, function requires state (PHOP, ∗, ∗, ∗)

051Ignoring function, this information unavailable for this workstation type

052Ignoring function, workstation type not recognized by the implementation

059Ignoring function, the specified workstation does not have output capability (i.e. the workstation category is neither OUTPUT, OUTIN, nor MO)

062Ignoring function, this information is not available for this MO workstation type

SEE ALSO

INQUIRE WORKSTATION STATE TABLE LENGTHS (3P)
PHIGS WORKSTATION DESCRIPTION TABLE (7P)

September 02, 1992

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026