Invokable< ARGUMENTS > Class Template Referenceabstract

#include <Pt/Invokable.h>

Interface for invokable entities. More...

Inherited by Callable< R >, Callable< void, ARGUMENTS >, and Callable< R, ARGUMENTS >.

Public Member Functions

virtual ~Invokable ()
 Default Constructor Does nothing. Does not throw.
 
virtual void invoke (ARGUMENTS) const =0
 Invokes the invokable entity with the given arguments. More...
 

Detailed Description

template<typename ARGUMENTS>
class Pt::Invokable< ARGUMENTS >

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.

Member Function Documentation