dw::core::Layout::Emitter Class Reference

List of all members.

Public Member Functions

void connectLayout (Receiver *receiver)
void emitCanvasSizeChanged (int width, int ascent, int descent)

Protected Member Functions

bool emitToReceiver (lout::signal::Receiver *receiver, int signalNo, int argc, lout::object::Object **argv)
 A sub class must implement this for a call to a single receiver.

Private Types

enum  { CANVAS_SIZE_CHANGED }


Member Enumeration Documentation

anonymous enum [private]

Enumerator:
CANVAS_SIZE_CHANGED 


Member Function Documentation

void dw::core::Layout::Emitter::connectLayout ( Receiver receiver  )  [inline]

void dw::core::Layout::Emitter::emitCanvasSizeChanged ( int  width,
int  ascent,
int  descent 
)

bool dw::core::Layout::Emitter::emitToReceiver ( lout::signal::Receiver receiver,
int  signalNo,
int  argc,
lout::object::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 lout::misc::assertNotReached(), CANVAS_SIZE_CHANGED, and dw::core::Layout::Receiver::canvasSizeChanged().


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

Generated on Wed Sep 7 02:00:37 2011 for Dillo by  doxygen 1.5.9