home *** CD-ROM | disk | FTP | other *** search
/ The C Users' Group Library 1994 August / wc-cdrom-cusersgrouplibrary-1994-08.iso / listings / v_10_03 / 1003032a < prev    next >
Text File  |  1992-01-23  |  577b  |  22 lines

  1.  
  2. /****************************************************
  3. * This is the definition of the class, TEST_CLASS.
  4. * It is defined as a typedefed struct.  It possesses
  5. * public data: Test_Name, and public methods:
  6. * init_object, process_data and disp_results.
  7. * This object is compiled into ROM.
  8. ****************************************************/
  9.  
  10. file class.h
  11.  
  12. typedef struct {
  13.  
  14.      char Test_Name[8];
  15.      void (*init_object)  (void);
  16.      void (*process_data) (float *parameters, float *results);
  17.      void (*disp_results) (float *results);
  18.  
  19. } TEST_CLASS;
  20.  
  21.  
  22.