Kodi Documentation  18.0
Kodi is an open source media player and entertainment hub.
XbmcThreads::InversePredicate< P > Class Template Reference

#include <Helpers.h>

Public Member Functions

 InversePredicate (P predicate_)
 
 InversePredicate (const InversePredicate< P > &other)
 
InversePredicate< P > & operator= (InversePredicate< P > &other)
 
bool operator! () const
 

Detailed Description

template<class P>
class XbmcThreads::InversePredicate< P >

This will create a new predicate from an old predicate P with inverse truth value. This predicate is safe to use in a TightConditionVariable

Constructor & Destructor Documentation

§ InversePredicate() [1/2]

template<class P>
XbmcThreads::InversePredicate< P >::InversePredicate ( predicate_)
inlineexplicit

§ InversePredicate() [2/2]

template<class P>
XbmcThreads::InversePredicate< P >::InversePredicate ( const InversePredicate< P > &  other)
inline

Member Function Documentation

§ operator!()

template<class P>
bool XbmcThreads::InversePredicate< P >::operator! ( ) const
inline

§ operator=()

template<class P>
InversePredicate<P>& XbmcThreads::InversePredicate< P >::operator= ( InversePredicate< P > &  other)
inline

The documentation for this class was generated from the following file: