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

ConstMethodSlot Class Template Reference

Wraps ConstMethod objects so that they can act as Slots.

#include <Pt/ConstMethod.h>

Inheritance diagram for ConstMethodSlot:

BasicSlot Slot

List of all members.

Public Member Functions

 ConstMethodSlot (const ConstMethod< R, ClassT, ARGUMENTS > &method)
 Constructs from callable.
Slotclone () const
 Returns a copy of this objects created by new.
virtual const void * callable () const
 Returns a pointer to the contained callable.
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 ClassT, class ARGUMENTS>
class Pt::ConstMethodSlot< R, ClassT, ARGUMENTS >

Copyright © 2003-2007 The Pt Development Team
Pt 1.0