Dali 3D User Interface Engine
Namespaces | Functions | Variables
debug.cpp File Reference
#include <dali/integration-api/debug.h>
#include <cstdio>
#include <cstdarg>
#include <cstring>
#include <cstdlib>
#include <sstream>
#include <iomanip>
#include <dali/public-api/common/constants.h>
#include <dali/public-api/math/matrix3.h>
#include <dali/public-api/math/matrix.h>
#include <dali/public-api/math/vector3.h>
#include <dali/public-api/math/vector4.h>
#include <dali/public-api/math/quaternion.h>
#include <dali/internal/event/common/thread-local-storage.h>
Include dependency graph for debug.cpp:

Go to the source code of this file.

Namespaces

namespace  Dali
 The top level DALi namespace.
 
namespace  Dali::anonymous_namespace{debug.cpp}
 
namespace  Dali::Integration
 
namespace  Dali::Integration::Log
 

Functions

std::string Dali::anonymous_namespace{debug.cpp}::Array2DToString (const float *data, unsigned int rows, unsigned int cols, size_t precision, size_t indent)
 Generic function to print out any 2-Dimensional array. More...
 
std::string Dali::Integration::Log::FormatToString (const char *format,...)
 
std::string Dali::Integration::Log::ArgListToString (const char *format, va_list args)
 
void Dali::Integration::Log::LogMessage (enum DebugPriority level, const char *format,...)
 Used by logging macros to log a message along with function/class name. More...
 
void Dali::Integration::Log::InstallLogFunction (const LogFunction &logFunction)
 A log function has to be installed for every thread that wants to use logging. More...
 
void Dali::Integration::Log::UninstallLogFunction ()
 A log function has to be uninstalled for every thread that wants to use logging. More...
 
std::string Dali::Integration::Log::ColorToString (const Vector4 &color)
 Helper method to translate a color to a string. More...
 
std::string Dali::Integration::Log::Vector4ToString (const Vector4 &v, size_t precision=3, size_t indent=0)
 Helper method to translate a vector4 to a string. More...
 
std::string Dali::Integration::Log::Vector3ToString (const Vector3 &v, size_t precision=3, size_t indent=0)
 Helper method to translate a vector4 to a string. More...
 
std::string Dali::Integration::Log::QuaternionToString (const Quaternion &q, size_t precision=3, size_t indent=0)
 Helper method to translate a quaternion to a string. More...
 
std::string Dali::Integration::Log::Matrix3ToString (const Matrix3 &m, size_t precision=3, size_t indent=0)
 Helper method to translate a 3x3 matrix to a string. More...
 
std::string Dali::Integration::Log::MatrixToString (const Matrix &m, size_t precision=3, size_t indent=0)
 Helper method to translate a 4x4 matrix to a string. More...
 

Variables

__thread LogFunction Dali::Integration::Log::gthreadLocalLogFunction = NULL
 
Dali Docs Home
Read more about Dali