Direct-BT v3.3.0-1-gc2d430c
Direct-BT - Direct Bluetooth Programming.
Classes | Public Types | Public Member Functions | Static Public Member Functions | List of all members
jau::func::free_target_t< R, A > Class Template Referencefinal

func::free_target_t implementation for free functions, identifiable as func::target_type::free via jau::function<R(A...)>::type(). More...

#include <functional.hpp>

Inheritance diagram for jau::func::free_target_t< R, A >:
Collaboration diagram for jau::func::free_target_t< R, A >:

Public Types

typedef delegate_t< R, A... > delegate_type
 

Public Member Functions

 free_target_t (R(*_function)(A...)) noexcept
 
operator() (A... args) override
 
bool operator== (const target_t< R, A... > &rhs) const noexcept override
 
- Public Member Functions inherited from jau::func::target_t< R, A... >
 target_t (const target_t &o) noexcept=default
 
 target_t (target_t &&o) noexcept=default
 
virtual ~target_t () noexcept
 
virtual R operator() (A... args)=0
 
target_toperator= (const target_t &o) noexcept=default
 
target_toperator= (target_t &&o) noexcept=default
 
virtual bool operator== (const target_t< R, A... > &rhs) const noexcept=0
 
constexpr target_type type () const noexcept
 Return the func::target_type of this invocation function wrapper. More...
 

Static Public Member Functions

static delegate_type delegate (R(*function)(A...)) noexcept
 

Additional Inherited Members

- Protected Member Functions inherited from jau::func::target_t< R, A... >
 target_t (target_type ttype_) noexcept
 

Detailed Description

template<typename R, typename... A>
class jau::func::free_target_t< R, A >

func::free_target_t implementation for free functions, identifiable as func::target_type::free via jau::function<R(A...)>::type().

Template Parameters
Rfunction return type
Afunction arguments
See also
Function Overview

Definition at line 881 of file functional.hpp.

Member Typedef Documentation

◆ delegate_type

template<typename R , typename... A>
typedef delegate_t<R, A...> jau::func::free_target_t< R, A >::delegate_type

Definition at line 883 of file functional.hpp.

Constructor & Destructor Documentation

◆ free_target_t()

template<typename R , typename... A>
jau::func::free_target_t< R, A >::free_target_t ( R(*)(A...)  _function)
inlinenoexcept

Definition at line 411 of file functional2.hpp.

Member Function Documentation

◆ delegate()

template<typename R , typename... A>
static delegate_type jau::func::free_target_t< R, A >::delegate ( R(*)(A...)  function)
inlinestaticnoexcept

Definition at line 907 of file functional.hpp.

Here is the caller graph for this function:

◆ operator()()

template<typename R , typename... A>
R jau::func::free_target_t< R, A >::operator() ( A...  args)
inlineoverridevirtual

Implements jau::func::target_t< R, A... >.

Definition at line 415 of file functional2.hpp.

◆ operator==()

template<typename R , typename... A>
bool jau::func::free_target_t< R, A >::operator== ( const target_t< R, A... > &  rhs) const
inlineoverridevirtualnoexcept

Implements jau::func::target_t< R, A... >.

Definition at line 419 of file functional2.hpp.


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