Re: [sigc] Proposal for standardization in C++ Library TR2
- From: larsbj gullik net (Lars Gullik Bjønnes)
- To: "Ames Andreas" <Andreas Ames comergo com>
- Cc: libsigc-list gnome org
- Subject: Re: [sigc] Proposal for standardization in C++ Library TR2
- Date: Thu, 28 Jul 2005 14:39:32 +0200
"Ames Andreas" <Andreas Ames comergo com> writes:
| 1 | signal | slot | see above
| --|-------------|--------------------------|--------------------------
| 2 | emitter | receiver/collector | too technoid (unless when
| | | | modelling a transistor;-)
| --|-------------|--------------------------|--------------------------
| 3 | publisher | subscriber | too anthropomorph?
| --|-------------|--------------------------|--------------------------
| 4 | sender | receiver | acceptable?
>
| So I'd vote for 4 (if I had earned voting right anyway;-). It also
| fits quite well to sender.connect(receiver) yielding a connection
| object.
3 might also work...
subscription subs = publisher.subscribe(subscriber);
publisher.publish();
subs.hold(); // holds (block) subscription
subs.cancel(); // cancel subscription
--
Lgb
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]