OpenPose  1.7.0
The first real-time multi-person system to jointly detect human body, hand, facial, and foot keypoints
errorAndLog.hpp File Reference
#include <sstream>
#include <string>
#include <vector>
#include <openpose/core/macros.hpp>
#include <openpose/utilities/enumClasses.hpp>

Go to the source code of this file.

Namespaces

 op
 
 op::ConfigureError
 
 op::ConfigureLog
 

Functions

OP_API void op::setMainThread ()
 
OP_API std::string op::getThreadId ()
 
OP_API bool op::getIfInMainThreadOrEmpty ()
 
OP_API bool op::getIfNotInMainThreadOrEmpty ()
 
template<typename T >
std::string op::tToString (const T &message)
 
OP_API void op::error (const std::string &message, const int line=-1, const std::string &function="", const std::string &file="")
 
template<typename T >
void op::error (const T &message, const int line=-1, const std::string &function="", const std::string &file="")
 
OP_API void op::checkWorkerErrors ()
 
OP_API void op::errorWorker (const std::string &message, const int line=-1, const std::string &function="", const std::string &file="")
 
template<typename T >
void op::errorWorker (const T &message, const int line=-1, const std::string &function="", const std::string &file="")
 
OP_API void op::errorDestructor (const std::string &message, const int line=-1, const std::string &function="", const std::string &file="")
 
template<typename T >
void op::errorDestructor (const T &message, const int line=-1, const std::string &function="", const std::string &file="")
 
OP_API void op::opLog (const std::string &message, const Priority priority=Priority::Max, const int line=-1, const std::string &function="", const std::string &file="")
 
template<typename T >
void op::opLog (const T &message, const Priority priority=Priority::Max, const int line=-1, const std::string &function="", const std::string &file="")
 
template<typename T >
void op::opLogIfDebug (const T &message, const Priority priority=Priority::Max, const int line=-1, const std::string &function="", const std::string &file="")
 
OP_API std::vector< ErrorMode > op::ConfigureError::getErrorModes ()
 
OP_API void op::ConfigureError::setErrorModes (const std::vector< ErrorMode > &errorModes)
 
OP_API Priority op::ConfigureLog::getPriorityThreshold ()
 
OP_API const std::vector< LogMode > & op::ConfigureLog::getLogModes ()
 
OP_API void op::ConfigureLog::setPriorityThreshold (const Priority priorityThreshold)
 
OP_API void op::ConfigureLog::setLogModes (const std::vector< LogMode > &loggingModes)