libqi-api  2.8.7.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Namespaces | Macros | Functions
trackable.hpp File Reference
#include <boost/thread/mutex.hpp>
#include <boost/shared_ptr.hpp>
#include <boost/thread/condition_variable.hpp>
#include <boost/function.hpp>
#include <ka/typetraits.hpp>
#include <qi/macro.hpp>
#include <ka/macroregular.hpp>
#include <qi/log.hpp>
#include <qi/detail/trackable.hxx>

Go to the source code of this file.

Classes

class  qi::TrackableBase
 Common base class to templates Trackable for compile-time detection. More...
 
class  qi::Trackable< T >
 Object tracking by blocking destruction while shared pointers are present. More...
 
class  qi::PointerLockException
 
struct  qi::TrackWithFallbackTransfo< Proc, T >
 
struct  qi::TrackSilentTransfo< T >
 

Namespaces

 qi
 Deprecated in 2.5. Use int8_t from <cstdint>.
 

Macros

#define _QI_TRACKABLE_HPP_
 

Functions

template<typename RF , typename AF >
boost::function< RF > qi::bind (const AF &fun,...)
 
template<typename F , typename ARG0 >
boost::function< F > qi::track (boost::function< F > f, const ARG0 &arg0)
 Wrap given function f with a tracking check on arg0, which must be a weak pointer or a Trackable instance. More...
 
template<typename F , typename ARG0 >
boost::function< F > qi::trackWithFallback (boost::function< void()> onFail, boost::function< F > f, const ARG0 &arg0)
 Wrap given function f with a tracking check on arg0, which must be a weak pointer or a Trackable instance. More...
 
template<typename Proc , typename T >
TrackWithFallbackTransfo
< ka::Decay< Proc >, T > 
qi::trackWithFallbackTransfo (Proc &&fallback, T *t)
 
template<typename T >
TrackSilentTransfo< T > qi::trackSilentTransfo (T *t)
 

Macro Definition Documentation

#define _QI_TRACKABLE_HPP_

Definition at line 10 of file trackable.hpp.