29 #ifndef Pt_Connectable_h
30 #define Pt_Connectable_h
33 #include <Pt/Connection.h>
71 virtual void onConnectionOpen(
const Connection& c);
81 virtual void onConnectionClose(
const Connection& c);
84 std::size_t connectionCount()
const
85 {
return _connections.size(); }
106 const std::list<Connection>& connections()
const
107 {
return _connections; }
111 std::list<Connection>& connections()
112 {
return _connections; }
115 void disconnectAll();
119 std::list<Connection> _connections;
Connection Management for Signal and Slot Objects.
Definition: Connectable.h:49
Represents a connection between a Signal/Delegate and a slot.
Definition: Connection.h:90