eXpress “1.5”
|
00001 00010 #ifndef __express__directiondetector__ 00011 #define __express__directiondetector__ 00012 00013 #include <cstring> 00014 00015 class Fragment; 00016 00029 class DirectionDetector { 00034 size_t _num_fr; 00039 size_t _num_rf; 00044 size_t _num_f; 00049 size_t _num_r; 00050 00051 public: 00055 DirectionDetector(); 00061 void add_fragment(Fragment* f); 00067 bool report_if_improper_direction(); 00068 }; 00069 00070 #endif /* defined(__express__directiondetector__) */