3D Graphics Programming with QuickDraw 3D

19 Summary of the Error Manager

19 C Summary

19 Data Types

typedef long               TQ3Error;
typedef long               TQ3Warning;
typedef long               TQ3Notice;

19 Error Manager Routines

Registering Error, Warning, and Notice Callback Routines

TQ3Status Q3Error_Register (TQ3ErrorMethod errorPost, long reference);
TQ3Status Q3Warning_Register (TQ3WarningMethod warningPost, long reference);
TQ3Status Q3Notice_Register (TQ3NoticeMethod noticePost, long reference);

Determining Whether an Error is Fatal

TQ3Boolean Q3Error_IsFatalError (
TQ3Error error);

Getting Errors, Warnings, and Notices Directly

TQ3Error Q3Error_Get (TQ3Error *firstError);
TQ3Warning Q3Warning_Get (TQ3Warning *firstWarning);
TQ3Notice Q3Notice_Get (TQ3Notice *firstNotice);

Getting Operating System Errors

OSErr Q3MacintoshError_Get (OSErr *firstMacErr);
int Q3UnixError_Get (int *firstUnixError);

19 Application-Defined Routines

typedef void (*TQ3ErrorMethod) (TQ3Error firstError, 
TQ3Error lastError, 
long reference);
typedef void (*TQ3WarningMethod) (
TQ3Warning firstWarning, 
TQ3Warning lastWarning, 
long reference);
typedef void (*TQ3NoticeMethod) (
TQ3Notice firstNotice, 
TQ3Notice lastNotice, 
long reference);

19 Errors
kQ3ErrorUnixErrorA UNIX operating system error
kQ3ErrorMacintoshErrorA Macintosh Operating System error

19 - C Summary
19 - Data Types
19 - Error Manager Routines
Registering Error, Warning, and Notice Callback Routines
Determining Whether an Error is Fatal
Getting Errors, Warnings, and Notices Directly
Getting Operating System Errors
19 - Application-Defined Routines
19 - Errors

3D Graphics Programming with QuickDraw 3D - 17 OCT 1995

© Apple Computer, Inc.

Let us know what you think of these prototype pages.

Generated with Harlequin WebMaker