#include <Pt/Invokable.h>
Interface for invokable entities. More...
Inherits Callback.
Public Member Functions | |
| virtual | ~Invokable () |
| Default Constructor Does nothing. Does not throw. | |
| virtual void | invoke (As... args) const =0 |
| Invokes the invokable entity with the given arguments. More... | |
Invokable is a type which can be "called" via the invoke() member with a number of arguments, but does not provide a return value. It serves as a base type for other types in the Pt signals/slots framework.
|
pure virtual |
The passed arguments must match the template parameters.
Implemented in Callable< R, A... >, Callable< R, std::tuple_element< Is, Tuple >::type... >, Callable< R, As... >, Callable< void, As... >, Callable< CallT *, Pt::Remoting::Responder & >, Callable< R, As >, Method< R, ClassT, As >, Method< void, C, A1, A2, A3, A4, A5 >, Method< R, ClassT, As... >, Method< void, C >, Method< void, C, A1 >, Method< void, C, A1, A2, A3 >, Method< void, Pt::Signal< As... >, As... >, Method< R, Pt::Delegate< R, As... >, As... >, Method< void, C, A1, A2, A3, A4 >, Method< void, C, Pt::Void, Pt::Void, Pt::Void, Pt::Void, Pt::Void, Pt::Void, Pt::Void, Pt::Void >, Method< void, C, A1, A2 >, Function< R, As >, Function< R, As... >, ConstMethod< R, ClassT, As >, and ConstMethod< R, ClassT, As... >.