Main Page   Class Hierarchy   Alphabetical List   Data Structures   File List   Data Fields   Globals  

emcnmlsize.cc

Go to the documentation of this file.
00001 /*
00002   emcnmlsize.cc
00003 
00004   Prints sizes of EMC classes
00005 
00006   Modification history:
00007 
00008   7-Jan-1998  FMP added a bunch more
00009   */
00010 
00011 extern "C" {
00012 #include <stdio.h>
00013 }
00014 #include "emc.hh"
00015 
00016 int main()
00017 {
00018   printf("sizeof(EMC_AXIS_INIT) = %d\n", sizeof(EMC_AXIS_INIT));
00019 
00020   printf("sizeof(EMC_AXIS_STAT) = %d\n", sizeof(EMC_AXIS_STAT));
00021   printf("sizeof(EMC_TRAJ_STAT) = %d\n", sizeof(EMC_TRAJ_STAT));
00022 
00023   printf("sizeof(EMC_TOOL_STAT) = %d\n", sizeof(EMC_TOOL_STAT));
00024   printf("sizeof(EMC_SPINDLE_STAT) = %d\n", sizeof(EMC_SPINDLE_STAT));
00025   printf("sizeof(EMC_COOLANT_STAT) = %d\n", sizeof(EMC_COOLANT_STAT));
00026   printf("sizeof(EMC_AUX_STAT) = %d\n", sizeof(EMC_AUX_STAT));
00027   printf("sizeof(EMC_LUBE_STAT) = %d\n", sizeof(EMC_LUBE_STAT));
00028 
00029   printf("sizeof(EMC_MOTION_STAT) = %d\n", sizeof(EMC_MOTION_STAT));
00030   printf("sizeof(EMC_IO_STAT) = %d\n", sizeof(EMC_IO_STAT));
00031   printf("sizeof(EMC_TASK_STAT) = %d\n", sizeof(EMC_TASK_STAT));
00032 
00033   printf("sizeof(EMC_STAT) = %d\n", sizeof(EMC_STAT));
00034 
00035   return 0;
00036 }

Generated on Sun Dec 2 15:27:39 2001 for EMC by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001