Re: [sigc] Proposal for standardization in C++ Library TR2



"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]