Scroom  0.14
Detail Namespace Reference

Classes

class  ViewData
 

Functions

template<typename T >
void call_delete (T *p)
 
double computeC (double c)
 
template<typename R , typename T >
threadPoolExecute (boost::shared_ptr< T > fn)
 

Function Documentation

◆ call_delete()

template<typename T >
void Detail::call_delete ( T *  p)
16  {
17  delete p;
18  }

◆ computeC()

double Detail::computeC ( double  c)
inline
28 { return c <= 0.03928 ? c / 12.92 : pow((c + 0.055) / 1.055, 2.4); }

Referenced by Color::getContrastingBlackOrWhite().

Here is the caller graph for this function:

◆ threadPoolExecute()

template<typename R , typename T >
R Detail::threadPoolExecute ( boost::shared_ptr< T >  fn)
19  {
20  return (*fn)();
21  }

Referenced by ThreadPool::schedule().

Here is the caller graph for this function: