Public Member Functions | |
| void | connectActivate (ActivateReceiver *receiver) |
| void | emitActivate (Resource *resource) |
| void | emitEnter (Resource *resource) |
| void | emitLeave (Resource *resource) |
Protected Member Functions | |
| bool | emitToReceiver (lout::signal::Receiver *receiver, int signalNo, int argc, Object **argv) |
| A sub class must implement this for a call to a single receiver. | |
| void dw::core::ui::Resource::ActivateEmitter::connectActivate | ( | ActivateReceiver * | receiver | ) | [inline] |
References lout::signal::Emitter::connect().
Referenced by dw::core::ui::Resource::connectActivate().
| void dw::core::ui::Resource::ActivateEmitter::emitActivate | ( | Resource * | resource | ) |
| void dw::core::ui::Resource::ActivateEmitter::emitEnter | ( | Resource * | resource | ) |
| void dw::core::ui::Resource::ActivateEmitter::emitLeave | ( | Resource * | resource | ) |
| bool dw::core::ui::Resource::ActivateEmitter::emitToReceiver | ( | lout::signal::Receiver * | receiver, | |
| int | signalNo, | |||
| int | argc, | |||
| Object ** | argv | |||
| ) | [protected, virtual] |
A sub class must implement this for a call to a single receiver.
This methods gets the signal in a folded representation, it has to unfold it, and pass it to a single receiver. For boolean signals, the return value of the receiver must be returned, for void signals, the return value is discarded.
Implements lout::signal::Emitter.
References dw::core::ui::Resource::ActivateReceiver::activate(), lout::misc::assertNotReached(), dw::core::ui::Resource::ActivateReceiver::enter(), and dw::core::ui::Resource::ActivateReceiver::leave().
1.5.9