papyrus logo

Papyrus::DrawableController Class Reference

DrawableController combines the event handling interface from Controller with the drawable list management of DrawableSet. More...

#include <drawablecontroller.h>

Inheritance diagram for Papyrus::DrawableController:
Inheritance graph
[legend]

List of all members.

Public Types

typedef PapyrusPointer
< DrawableController
pointer

Public Member Functions

virtual ~DrawableController ()

Static Public Member Functions

static pointer create (const Glib::ustring &id=Glib::ustring(), DrawableSet::pointer drawables=DrawableSet::pointer())
static pointer create (DrawableSet::pointer drawables)

Protected Member Functions

 DrawableController (const Glib::ustring &id, DrawableSet::pointer drawables)
virtual void on_drawable_added (Drawable::pointer d)
virtual void on_drawable_removed (Drawable::pointer d)
virtual void on_drawables_cleared ()

Private Member Functions

void on_drawable_added_proxy (Drawable::pointer d)
void on_drawable_removed_proxy (Drawable::pointer d)
void on_drawables_cleared_proxy ()

Detailed Description

DrawableController combines the event handling interface from Controller with the drawable list management of DrawableSet.

Author:
Rick L Vinyard Jr <rvinyard@cs.nmsu.edu>

Member Typedef Documentation


Constructor & Destructor Documentation

Papyrus::DrawableController::DrawableController ( const Glib::ustring &  id,
DrawableSet::pointer  drawables 
) [protected]
Papyrus::DrawableController::~DrawableController (  )  [virtual]

Member Function Documentation

DrawableController::pointer Papyrus::DrawableController::create ( DrawableSet::pointer  drawables  )  [static]
DrawableController::pointer Papyrus::DrawableController::create ( const Glib::ustring &  id = Glib::ustring(),
DrawableSet::pointer  drawables = DrawableSet::pointer() 
) [static]
void Papyrus::DrawableController::on_drawable_added ( Drawable::pointer  d  )  [protected, virtual]

Reimplemented in Papyrus::AffineController.

Referenced by on_drawable_added_proxy().

void Papyrus::DrawableController::on_drawable_added_proxy ( Drawable::pointer  d  )  [private]

References on_drawable_added().

Referenced by DrawableController().

void Papyrus::DrawableController::on_drawable_removed ( Drawable::pointer  d  )  [protected, virtual]

Reimplemented in Papyrus::AffineController.

Referenced by on_drawable_removed_proxy().

void Papyrus::DrawableController::on_drawable_removed_proxy ( Drawable::pointer  d  )  [private]

References on_drawable_removed().

Referenced by DrawableController().

void Papyrus::DrawableController::on_drawables_cleared (  )  [protected, virtual]
void Papyrus::DrawableController::on_drawables_cleared_proxy (  )  [private]

References on_drawables_cleared().

Referenced by DrawableController().


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

Generated on Fri Apr 16 12:41:06 2010 for papyrus by doxygen 1.6.1