#include "gcp/util/common/Mutex.h"
Go to the source code of this file.
|
#define | IOCOUT(statement) |
|
#define | IOCTOUT(statement) |
|
#define | IOCERR(statement) |
|
Tagged: Sat May 8 08:22:36 PDT 2004
- Author
- Erik Leitch
#define IOCERR |
( |
|
statement | ) |
|
Value:{\
gcp::util::IoLock::lockCerr(); \
std::cerr << statement << std::endl; \
gcp::util::IoLock::unlockCerr(); \
}
#define IOCOUT |
( |
|
statement | ) |
|
Value:{\
gcp::util::IoLock::lockCout(); \
std::cout << statement << std::endl; \
gcp::util::IoLock::unlockCout(); \
}
#define IOCTOUT |
( |
|
statement | ) |
|
Value:{\
gcp::util::TimeVal timeVal;\
timeVal.setToCurrentTime();\
gcp::util::IoLock::lockCout(); \
std::cout << timeVal << ": " << statement << std::endl; \
gcp::util::IoLock::unlockCout(); \
}