Logo Search packages:      
Sourcecode: ardour version File versions

sigc::slot_base Class Reference
[Slots]

#include <slot_base.h>

Inheritance diagram for sigc::slot_base:

sigc::functor_base sigc::slot0< T_return > sigc::slot1< T_return, T_arg1 > sigc::slot2< T_return, T_arg1, T_arg2 > sigc::slot3< T_return, T_arg1, T_arg2, T_arg3 > sigc::slot4< T_return, T_arg1, T_arg2, T_arg3, T_arg4 > sigc::slot5< T_return, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5 > sigc::slot6< T_return, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6 > sigc::slot7< T_return, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6, T_arg7 >

List of all members.


Detailed Description

Base type for slots. slot_base integrates most of the interface of the derived sigc::slot templates. slots can be connected to signals, be disconnected at some later point (disconnect()) and temporarily be blocked (block(), unblock()). The validity of a slot can be tested with empty().

The internal representation of a sigc::internal::slot_rep derived type is built from slot_base's derivations. set_parent() is used to register a notification callback that is executed when the slot gets invalid. add_destroy_notify_callback() is used by connection objects to add a notification callback that is executed on destruction.

Definition at line 217 of file slot_base.h.


Public Types

typedef
trackable::func_destroy_notify 
func_destroy_notify

Public Member Functions

void add_destroy_notify_callback (void *data, func_destroy_notify func) const
bool block (bool should_block=true)
bool blocked () const
void disconnect ()
bool empty () const
 operator bool () const
void remove_destroy_notify_callback (void *data) const
void set_parent (void *parent, void *(*cleanup)(void *)) const
 slot_base (const slot_base &src)
 slot_base (rep_type *rep)
 slot_base ()
 Constructs an empty slot.
bool unblock ()

Public Attributes

bool blocked_
rep_type * rep_

Protected Member Functions

slot_baseoperator= (const slot_base &src)

Package Attributes

 __pad0__:slot_rep rep_type

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index