Wt examples 3.1.10
Public Member Functions | Private Member Functions | Private Attributes
DeferredWidget< Function > Class Template Reference

#include <Home.h>

Inheritance diagram for DeferredWidget< Function >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DeferredWidget (Function f)

Private Member Functions

void load ()

Private Attributes

Function f_

Detailed Description

template<typename Function>
class DeferredWidget< Function >

Definition at line 45 of file Home.h.


Constructor & Destructor Documentation

template<typename Function >
DeferredWidget< Function >::DeferredWidget ( Function  f) [inline]

Definition at line 48 of file Home.h.

    : f_(f) { }

Member Function Documentation

template<typename Function >
void DeferredWidget< Function >::load ( ) [inline, private, virtual]

Reimplemented from Wt::WInteractWidget.

Definition at line 52 of file Home.h.

              {
    WContainerWidget::load();
    if (count() == 0)
      addWidget(f_());
  }

Member Data Documentation

template<typename Function >
Function DeferredWidget< Function >::f_ [private]

Definition at line 58 of file Home.h.


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

Generated on Sat Dec 24 2011 for the C++ Web Toolkit (Wt) by doxygen 1.7.4