libqi-api  2.8.7.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
qi::TrackWithFallbackTransfo< Proc, T > Struct Template Reference

#include <trackable.hpp>

Public Member Functions

template<typename F >
auto operator() (F &&f) const -> decltype(trackWithFallback(_fallback, std::forward< F >(f), _trackable))
 

Public Attributes

Proc _fallback
 
T * _trackable
 

Detailed Description

template<typename Proc, typename T>
struct qi::TrackWithFallbackTransfo< Proc, T >

A polymorphic transformation that takes a procedure and returns a "tracked with fallback" equivalent. The trackable value must derive from Trackable.

Procedure<void ()> Proc, Trackable T

Definition at line 124 of file trackable.hpp.

Member Function Documentation

template<typename Proc , typename T >
template<typename F >
auto qi::TrackWithFallbackTransfo< Proc, T >::operator() ( F &&  f) const -> decltype( trackWithFallback(_fallback, std::forward<F>(f), _trackable))
inline

Definition at line 132 of file trackable.hpp.

Member Data Documentation

template<typename Proc , typename T >
Proc qi::TrackWithFallbackTransfo< Proc, T >::_fallback

Definition at line 126 of file trackable.hpp.

template<typename Proc , typename T >
T* qi::TrackWithFallbackTransfo< Proc, T >::_trackable

Definition at line 127 of file trackable.hpp.


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