home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.2 (Developer) / NS_dev_3.2.iso / NextDeveloper / Headers / driverkit / IODirectDevice.h < prev    next >
Text File  |  1993-08-06  |  1KB  |  46 lines

  1. /*     Copyright (c) 1993 NeXT Computer, Inc.  All rights reserved. 
  2.  *
  3.  * IODirectDevice class description.
  4.  *
  5.  * HISTORY
  6.  * 08-Jan-93    Doug Mitchell at NeXT
  7.  *      Created. 
  8.  */
  9.  
  10. #import <driverkit/IODevice.h>
  11.  
  12. @interface IODirectDevice : IODevice
  13. {
  14. @private
  15.     IODeviceDescription    *_deviceDescription;
  16.     port_t            _interruptPort;
  17.     void *            _ioThread;
  18.     void *            _archPriv;
  19.     int            _IODirectDevice_reserved[4];
  20. }
  21.  
  22. /*
  23.  * By defintion, all subclasses of this class are of style IO_DirectDevice.
  24.  * Subclasses need not implement this method.
  25.  */
  26. + (IODeviceStyle)deviceStyle;
  27.  
  28. - init;
  29. - free;
  30. - deviceDescription;
  31. - (void)setDeviceDescription:deviceDescription;
  32. - (port_t)interruptPort;
  33. - (IOReturn)attachInterruptPort;
  34. - (IOReturn)startIOThread;
  35. - (IOReturn)startIOThreadWithPriority:(int)priority;
  36. - (IOReturn)startIOThreadWithFixedPriority:(int)priority;
  37. - (IOReturn)waitForInterrupt:(int *)id;
  38. - (void)receiveMsg;
  39. - (void)timeoutOccurred;
  40. - (void)commandRequestOccurred;
  41. - (void)interruptOccurred;
  42. - (void)interruptOccurredAt:(int)localNum;
  43. - (void)otherOccurred:(int)id;
  44.  
  45. @end    /* IODirectDevice */
  46.