Libbarrett
1.2.4
|
00001 /* 00002 * disable_secondary_mode_warning.h 00003 * 00004 * Created on: Dec 14, 2010 00005 * Author: dc 00006 */ 00007 00008 #ifndef BARRETT_THREAD_DISABLE_SECONDARY_MODE_WARNING_H_ 00009 #define BARRETT_THREAD_DISABLE_SECONDARY_MODE_WARNING_H_ 00010 00011 00012 #include <barrett/detail/ca_macro.h> 00013 00014 00015 namespace barrett { 00016 namespace thread{ 00017 00018 00019 class DisableSecondaryModeWarning { 00020 public: 00021 DisableSecondaryModeWarning(); 00022 ~DisableSecondaryModeWarning(); 00023 00024 protected: 00025 bool leaveWarnSwitchOn; 00026 00027 private: 00028 DISALLOW_COPY_AND_ASSIGN(DisableSecondaryModeWarning); 00029 }; 00030 00031 00032 } 00033 } 00034 00035 00036 #endif /* BARRETT_THREAD_DISABLE_SECONDARY_MODE_WARNING_H_ */