PLCnext API Documentation
22.9.0.33
|
Classes | |
class | Arp::delegate< R(A...)> |
This class represents a delegate, that is a compound of an object reference and a member function pointer. The generic type of a delegate just depends on the signature of the (member) function pointer but not on the type of the object on which the member function pointer is invoked. More... | |
Functions | |
template<class R , class ... A> | |
delegate< R(A...)> | Arp::make_delegate (R(*const function_ptr)(A...)) noexcept |
Creates a delegate from a static function. More... | |
template<class C , class R , class ... A> | |
delegate< R(A...)> | Arp::make_delegate (C *const pObject, R(C::*const pMethod)(A...)) noexcept |
Creates a delegate from a member function and object pointer. More... | |
template<class C , class R , class ... A> | |
delegate< R(A...)> | Arp::make_delegate (C const *const pObject, R(C::*const pMethod)(A...) const) noexcept |
Creates a delegate from a member function and object pointer. More... | |
template<class C , class R , class ... A> | |
delegate< R(A...)> | Arp::make_delegate (C &object, R(C::*const pMethod)(A...)) noexcept |
Creates a delegate from a const member function and const object reference. More... | |
template<class C , class R , class ... A> | |
delegate< R(A...)> | Arp::make_delegate (const C &object, R(C::*const pMethod)(A...) const) noexcept |
Creates a delegate from a const member function and const object reference. More... | |
template<class R , class ... A> | |
delegate< R(A...)> | Arp::make_delegate (std::function< R(A...)> &&f) noexcept |
Creates a delegate from a lambda expression or std::function . More... | |
template<class R , class ... A> | |
delegate< R(A...)> | Arp::make_delegate (const std::function< R(A...)> &f) noexcept |
Creates a delegate from a lambda expression or std::function . More... | |
|
inlinenoexcept |
Creates a delegate from a const member function and const object reference.
pMethod | The member function to invoke. |
object | The object to invoke the member function on. |
|
inlinenoexcept |
Creates a delegate from a member function and object pointer.
pMethod | The member function to invoke. |
pObject | The object pointer to invoke the member function on. |
|
inlinenoexcept |
Creates a delegate from a member function and object pointer.
pMethod | The member function to invoke. |
pObject | The object pointer to invoke the member function on. |
|
inlinenoexcept |
Creates a delegate from a const member function and const object reference.
pMethod | The member function to invoke. |
object | The object to invoke the member function on. |
|
inlinenoexcept |
Creates a delegate from a lambda expression or std::function
.
f | The function to invoke. |
|
inlinenoexcept |
Creates a delegate from a static function.
function_ptr | The static function to invoke. |
|
inlinenoexcept |
Creates a delegate from a lambda expression or std::function
.
f | The function to invoke. |