COOPY » Guide
version 0.6.5
|
00001 #ifndef COOPY_COLMAN 00002 #define COOPY_COLMAN 00003 00004 #include <coopy/Measure.h> 00005 00006 namespace coopy { 00007 namespace cmp { 00008 class ColMan; 00009 } 00010 } 00011 00015 class coopy::cmp::ColMan : public Measure { 00016 public: 00017 const OrderResult& comp; 00018 00019 ColMan(const OrderResult& comp) : comp(comp) { 00020 } 00021 00022 virtual void setup(MeasurePass& pass) { 00023 pass.setSize(pass.a.width(),pass.b.width()); 00024 } 00025 00026 00027 void measure(MeasurePass& pass, int ctrl); 00028 00029 virtual int getCtrlMax() { 00030 return 5; 00031 } 00032 00033 }; 00034 00035 00036 00037 #endif