Webmaster  |  Imprint 
Platinum
Platinum C++ Framework
Main  |  License  |  Documentation  |  Download  |  Support 

FunctionSlot Class Template Reference

Wraps Function objects so that they can act as slots.

#include <Pt/Function.h>

Inheritance diagram for FunctionSlot:

BasicSlot Slot

List of all members.

Public Member Functions

 FunctionSlot (const Function< R, ARGUMENTS > &func)
 Constructs from callable.
virtual const void * callable () const
 Returns a pointer to the contained callable.
Slotclone () const
 Returns a copy of this objects created by new.
virtual void onConnect (const Connection &c)
 Notifies of connects.
virtual void onDisconnect (const Connection &c)
 Notifies of disconnects.
virtual bool equals (const Slot &slot) const
 Returns true if two slots are equal in value.

template<typename R, typename ARGUMENTS>
class Pt::FunctionSlot< R, ARGUMENTS >

Copyright © 2003-2007 The Pt Development Team
Pt 1.0