![]() |
![]() |
00001 #ifndef HLTConfigCounter_H 00002 #define HLTConfigCounter_H 00003 00004 class HLTConfigCounter { 00005 00006 public: 00007 00008 HLTConfigCounter(): count_(0) {} 00009 00010 long increment() { count_++; return count_; } 00011 long decrement() { count_--; return count_; } 00012 00013 private: 00014 00015 long count_; 00016 00017 }; 00018 00019 #endif