Direct-BT  2.3.1
Direct-BT - Direct Bluetooth Programming.
Public Member Functions | List of all members
jau::ClassInvocationFunc< R, C, A > Class Template Reference

#include <function_def.hpp>

Inheritance diagram for jau::ClassInvocationFunc< R, C, A >:
Collaboration diagram for jau::ClassInvocationFunc< R, C, A >:

Public Member Functions

 ClassInvocationFunc (C *_base, R(C::*_member)(A...)) noexcept
 
int getType () const noexcept override
 
InvocationFunc< R, A... > * clone () const noexcept override
 
invoke (A... args) override
 
bool operator== (const InvocationFunc< R, A... > &rhs) const noexcept override
 
bool operator!= (const InvocationFunc< R, A... > &rhs) const noexcept override
 
std::string toString () const override
 
- Public Member Functions inherited from jau::InvocationFunc< R, A... >
 InvocationFunc (const InvocationFunc &o) noexcept=default
 
 InvocationFunc (InvocationFunc &&o) noexcept=default
 
virtual ~InvocationFunc () noexcept
 
InvocationFuncoperator= (const InvocationFunc &o) noexcept=default
 
InvocationFuncoperator= (InvocationFunc &&o) noexcept=default
 
virtual int getType () const noexcept=0
 Poor man's RTTI. More...
 
virtual InvocationFunc< R, A... > * clone () const noexcept=0
 
virtual std::string toString () const=0
 

Additional Inherited Members

- Protected Member Functions inherited from jau::InvocationFunc< R, A... >
 InvocationFunc () noexcept
 

Detailed Description

template<typename R, typename C, typename... A>
class jau::ClassInvocationFunc< R, C, A >

Definition at line 133 of file function_def.hpp.

Constructor & Destructor Documentation

◆ ClassInvocationFunc()

template<typename R , typename C , typename... A>
jau::ClassInvocationFunc< R, C, A >::ClassInvocationFunc ( C *  _base,
R(C::*)(A...)  _member 
)
inlinenoexcept

Definition at line 139 of file function_def.hpp.

Member Function Documentation

◆ clone()

template<typename R , typename C , typename... A>
InvocationFunc<R, A...>* jau::ClassInvocationFunc< R, C, A >::clone ( ) const
inlineoverridenoexcept

Definition at line 145 of file function_def.hpp.

◆ getType()

template<typename R , typename C , typename... A>
int jau::ClassInvocationFunc< R, C, A >::getType ( ) const
inlineoverridenoexcept

Definition at line 143 of file function_def.hpp.

◆ invoke()

template<typename R , typename C , typename... A>
R jau::ClassInvocationFunc< R, C, A >::invoke ( A...  args)
inlineoverridevirtual

Implements jau::InvocationFunc< R, A... >.

Definition at line 147 of file function_def.hpp.

◆ operator!=()

template<typename R , typename C , typename... A>
bool jau::ClassInvocationFunc< R, C, A >::operator!= ( const InvocationFunc< R, A... > &  rhs) const
inlineoverridevirtualnoexcept

Implements jau::InvocationFunc< R, A... >.

Definition at line 163 of file function_def.hpp.

◆ operator==()

template<typename R , typename C , typename... A>
bool jau::ClassInvocationFunc< R, C, A >::operator== ( const InvocationFunc< R, A... > &  rhs) const
inlineoverridevirtualnoexcept

Implements jau::InvocationFunc< R, A... >.

Definition at line 151 of file function_def.hpp.

Here is the call graph for this function:

◆ toString()

template<typename R , typename C , typename... A>
std::string jau::ClassInvocationFunc< R, C, A >::toString ( ) const
inlineoverride

Definition at line 168 of file function_def.hpp.

Here is the call graph for this function:

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