#include <stdexcept>#include <string>#include <iostream>#include <sstream>#include <limits>#include <boost/thread/mutex.hpp>Namespaces | |
| namespace | ark |
Classes | |
| struct | ark::Overflow_Template< T > |
| Raised when an operation could not complete because of no room available in some queue. More... | |
| struct | ark::Underflow |
| Raised when an operation cannot complete because there is not enough data in some queue. More... | |
Defines | |
| #define | DEBUG 1 |
| #define | _SL_UTIL_1(x) #x |
| #define | _SL_UTIL_2(x) _SL_UTIL_1(x) |
| #define | _SL_UTIL _SL_UTIL_2(__LINE__) |
| #define | SOURCE_LOC __FILE__ ":" _SL_UTIL |
| #define | CATCH_AND_REPORT |
| #define | ERR_LOCATION std::string |
| #define | ARK_LOG_THRESHOLD 1 |
Enumerations | |
| enum | { ark::LOG_MIN = 1, ark::LOG_TRACE = 10, ark::LOG_NORMAL = 20, ark::LOG_HIGH = 30, ark::LOG_MAX = 40 } |
Functions | |
| static std::string | ark::_locationParam (ERR_LOCATION l) |
| void | ark::Log (std::string msg, unsigned thresh=1, bool fl=true) |
Variables | |
| const unsigned | ark::ONE_HUNDRED = 100 |
| const unsigned | ark::ONE_THOUSAND = 1000 |
| const unsigned | ark::TEN_THOUSAND = 10000 |
| const unsigned | ark::ONE_HUNDRED_THOUSAND = 100000 |
| const unsigned | ark::ONE_MILLION = 1000000 |
| const unsigned | ark::TEN_MILLION = 10000000 |
| const unsigned | ark::ONE_HUNDRED_MILLION = 100000000 |
| const unsigned | ark::ONE_BILLION = 1000000000 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Value: catch(std::exception& err) { \ std::cerr << "Exception caught : " << err.what() << " : " << SOURCE_LOC << std::endl; \ } \ catch(...) { \ std::cerr << "Exception caught : " << SOURCE_LOC << std::endl; \ } |
|
|
|
|
|
|
|
|
|
1.4.4