papyrus logo

Papyrus::DrawableSingleContainer Class Reference

This is an interface for an object that contains a single drawable. More...

#include <drawablesinglecontainer.h>

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

List of all members.

Public Member Functions

 DrawableSingleContainer ()
virtual ~DrawableSingleContainer ()
virtual Drawable::pointer child ()
virtual void add (Drawable::pointer new_child=Drawable::pointer())
virtual void clear ()
virtual bool has (Drawable::pointer drawable) const
virtual size_t size () const
virtual bool empty () const
sigc::signal< void,
Drawable::pointer
signal_added ()
sigc::signal< void,
Drawable::pointer
signal_removed ()
sigc::signal< void > signal_cleared ()

Protected Member Functions

virtual void on_child_changed (Drawable::pointer)

Protected Attributes

Drawable::pointer m_child
sigc::signal< void,
Drawable::pointer
m_signal_added
sigc::signal< void,
Drawable::pointer
m_signal_removed
sigc::signal< void > m_signal_cleared
sigc::connection m_child_changed_conn

Private Member Functions

void on_child_changed_proxy (Drawable::weak_pointer)

Detailed Description

This is an interface for an object that contains a single drawable.

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

Constructor & Destructor Documentation

Papyrus::DrawableSingleContainer::DrawableSingleContainer (  ) 
Papyrus::DrawableSingleContainer::~DrawableSingleContainer (  )  [virtual]

Member Function Documentation

void Papyrus::DrawableSingleContainer::add ( Drawable::pointer  new_child = Drawable::pointer()  )  [virtual]
Drawable::pointer Papyrus::DrawableSingleContainer::child (  )  [virtual]

References m_child.

void Papyrus::DrawableSingleContainer::clear (  )  [virtual]
bool Papyrus::DrawableSingleContainer::empty (  )  const [virtual]

References m_child.

bool Papyrus::DrawableSingleContainer::has ( Drawable::pointer  drawable  )  const [virtual]

References m_child.

void Papyrus::DrawableSingleContainer::on_child_changed ( Drawable::pointer  changed  )  [protected, virtual]

Reimplemented in Papyrus::Boxed.

Referenced by on_child_changed_proxy().

void Papyrus::DrawableSingleContainer::on_child_changed_proxy ( Drawable::weak_pointer  weak_changed  )  [private]

References on_child_changed().

Referenced by add().

sigc::signal< void, Drawable::pointer > Papyrus::DrawableSingleContainer::signal_added (  ) 

References m_signal_added.

sigc::signal< void > Papyrus::DrawableSingleContainer::signal_cleared (  ) 

References m_signal_cleared.

sigc::signal< void, Drawable::pointer > Papyrus::DrawableSingleContainer::signal_removed (  ) 

References m_signal_removed.

size_t Papyrus::DrawableSingleContainer::size (  )  const [virtual]

Member Data Documentation

Referenced by add(), and clear().


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

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