foobar2000 SDK  2015-01-14
Public Types | Public Member Functions | Private Member Functions
CWindowAutoLifetime< TClass >

#include <misc.h>

+ Inheritance diagram for CWindowAutoLifetime< TClass >:

Public Types

typedef CWindowFixSEH< TClass > TBase
 

Public Member Functions

 CWindowAutoLifetime (HWND parent)
 
template<typename TParam1 >
 CWindowAutoLifetime (HWND parent, const TParam1 &p1)
 
template<typename TParam1 , typename TParam2 >
 CWindowAutoLifetime (HWND parent, const TParam1 &p1, const TParam2 &p2)
 
template<typename TParam1 , typename TParam2 , typename TParam3 >
 CWindowAutoLifetime (HWND parent, const TParam1 &p1, const TParam2 &p2, const TParam3 &p3)
 
template<typename TParam1 , typename TParam2 , typename TParam3 , typename TParam4 >
 CWindowAutoLifetime (HWND parent, const TParam1 &p1, const TParam2 &p2, const TParam3 &p3, const TParam4 &p4)
 
template<typename TParam1 , typename TParam2 , typename TParam3 , typename TParam4 , typename TParam5 >
 CWindowAutoLifetime (HWND parent, const TParam1 &p1, const TParam2 &p2, const TParam3 &p3, const TParam4 &p4, const TParam5 &p5)
 
template<typename TParam1 , typename TParam2 , typename TParam3 , typename TParam4 , typename TParam5 , typename TParam6 >
 CWindowAutoLifetime (HWND parent, const TParam1 &p1, const TParam2 &p2, const TParam3 &p3, const TParam4 &p4, const TParam5 &p5, const TParam6 &p6)
 
- Public Member Functions inherited from CWindowFixSEH< TClass >
BOOL ProcessWindowMessage (HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam, LRESULT &lResult, DWORD dwMsgMapID=0)
 
 TEMPLATE_CONSTRUCTOR_FORWARD_FLOOD (CWindowFixSEH, TClass)
 

Private Member Functions

void Init (HWND parent)
 
void OnFinalMessage (HWND wnd)
 

Detailed Description

template<typename TClass>
class CWindowAutoLifetime< TClass >

Definition at line 105 of file misc.h.

Member Typedef Documentation

template<typename TClass >
typedef CWindowFixSEH<TClass> CWindowAutoLifetime< TClass >::TBase

Definition at line 107 of file misc.h.

Constructor & Destructor Documentation

template<typename TClass >
CWindowAutoLifetime< TClass >::CWindowAutoLifetime ( HWND  parent)
inline

Definition at line 108 of file misc.h.

108 : TBase() {Init(parent);}
void Init(HWND parent)
Definition: misc.h:116
CWindowFixSEH< TClass > TBase
Definition: misc.h:107
template<typename TClass >
template<typename TParam1 >
CWindowAutoLifetime< TClass >::CWindowAutoLifetime ( HWND  parent,
const TParam1 &  p1 
)
inline

Definition at line 109 of file misc.h.

109 : TBase(p1) {Init(parent);}
void Init(HWND parent)
Definition: misc.h:116
CWindowFixSEH< TClass > TBase
Definition: misc.h:107
template<typename TClass >
template<typename TParam1 , typename TParam2 >
CWindowAutoLifetime< TClass >::CWindowAutoLifetime ( HWND  parent,
const TParam1 &  p1,
const TParam2 &  p2 
)
inline

Definition at line 110 of file misc.h.

110 : TBase(p1,p2) {Init(parent);}
void Init(HWND parent)
Definition: misc.h:116
CWindowFixSEH< TClass > TBase
Definition: misc.h:107
template<typename TClass >
template<typename TParam1 , typename TParam2 , typename TParam3 >
CWindowAutoLifetime< TClass >::CWindowAutoLifetime ( HWND  parent,
const TParam1 &  p1,
const TParam2 &  p2,
const TParam3 &  p3 
)
inline

Definition at line 111 of file misc.h.

111 : TBase(p1,p2,p3) {Init(parent);}
void Init(HWND parent)
Definition: misc.h:116
CWindowFixSEH< TClass > TBase
Definition: misc.h:107
template<typename TClass >
template<typename TParam1 , typename TParam2 , typename TParam3 , typename TParam4 >
CWindowAutoLifetime< TClass >::CWindowAutoLifetime ( HWND  parent,
const TParam1 &  p1,
const TParam2 &  p2,
const TParam3 &  p3,
const TParam4 &  p4 
)
inline

Definition at line 112 of file misc.h.

112 : TBase(p1,p2,p3,p4) {Init(parent);}
void Init(HWND parent)
Definition: misc.h:116
CWindowFixSEH< TClass > TBase
Definition: misc.h:107
template<typename TClass >
template<typename TParam1 , typename TParam2 , typename TParam3 , typename TParam4 , typename TParam5 >
CWindowAutoLifetime< TClass >::CWindowAutoLifetime ( HWND  parent,
const TParam1 &  p1,
const TParam2 &  p2,
const TParam3 &  p3,
const TParam4 &  p4,
const TParam5 &  p5 
)
inline

Definition at line 113 of file misc.h.

113 : TBase(p1,p2,p3,p4,p5) {Init(parent);}
void Init(HWND parent)
Definition: misc.h:116
CWindowFixSEH< TClass > TBase
Definition: misc.h:107
template<typename TClass >
template<typename TParam1 , typename TParam2 , typename TParam3 , typename TParam4 , typename TParam5 , typename TParam6 >
CWindowAutoLifetime< TClass >::CWindowAutoLifetime ( HWND  parent,
const TParam1 &  p1,
const TParam2 &  p2,
const TParam3 &  p3,
const TParam4 &  p4,
const TParam5 &  p5,
const TParam6 &  p6 
)
inline

Definition at line 114 of file misc.h.

114 : TBase(p1,p2,p3,p4,p5,p6) {Init(parent);}
void Init(HWND parent)
Definition: misc.h:116
CWindowFixSEH< TClass > TBase
Definition: misc.h:107

Member Function Documentation

template<typename TClass >
void CWindowAutoLifetime< TClass >::Init ( HWND  parent)
inlineprivate

Definition at line 116 of file misc.h.

116 {WIN32_OP(this->Create(parent) != NULL);}
template<typename TClass >
void CWindowAutoLifetime< TClass >::OnFinalMessage ( HWND  wnd)
inlineprivate

Definition at line 117 of file misc.h.

117 {PFC_ASSERT_NO_EXCEPTION( TBase::OnFinalMessage(wnd) ); PFC_ASSERT_NO_EXCEPTION(delete this);}

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