Scroom 0.14-48-ga0fee447
Loading...
Searching...
No Matches
Detail Namespace Reference

Classes

class  ViewData
 

Functions

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

Function Documentation

◆ call_delete()

template<typename T >
void Detail::call_delete ( T *  p)
16 {
17 delete p;
18 }
PresentationInterfaceStub::Ptr const p
Definition determine-size-test.cc:172

Referenced by AsyncDeleter< T >::operator()().

Here is the caller graph for this function:

◆ computeC()

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

Referenced by Color::getContrastingBlackOrWhite().

Here is the caller graph for this function:

◆ threadPoolExecute()

template<typename R , typename T >
R Detail::threadPoolExecute ( const std::shared_ptr< T > &  fn)
21 {
22 return (*fn)();
23 }