Wt examples  3.3.6
Public Member Functions | Private Member Functions | Private Attributes | List of all members
DeferredWidget< Function > Class Template Reference

#include <Home.h>

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

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

◆ DeferredWidget()

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

Definition at line 48 of file Home.h.

49  : f_(f) { }
Function f_
Definition: Home.h:58

Member Function Documentation

◆ load()

template<typename Function >
void DeferredWidget< Function >::load ( )
inlineprivate

Definition at line 52 of file Home.h.

52  {
53  WContainerWidget::load();
54  if (count() == 0)
55  addWidget(f_());
56  }
Function f_
Definition: Home.h:58

Member Data Documentation

◆ f_

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 Thu Jan 12 2017 for the C++ Web Toolkit (Wt) by doxygen 1.8.13