foobar2000 SDK  2015-08-03
Data Structures | Public Types | Public Member Functions | Static Public Member Functions
ui_element_impl< TImpl, TInterface >

#include <ui_element.h>

+ Inheritance diagram for ui_element_impl< TImpl, TInterface >:

Data Structures

class  ui_element_instance_impl_helper
 

Public Types

typedef ui_element_instance_impl_helper TInstance
 

Public Member Functions

ui_element_children_enumerator_ptr enumerate_children (ui_element_config::ptr cfg)
 
ui_element_config::ptr get_default_configuration ()
 
bool get_description (pfc::string_base &out)
 
GUID get_guid ()
 
void get_name (pfc::string_base &out)
 
GUID get_subclass ()
 
ui_element_instance::ptr instantiate (HWND parent, ui_element_config::ptr cfg, ui_element_instance_callback::ptr callback)
 

Static Public Member Functions

static TInstance const & instanceGlobals ()
 

Detailed Description

template<typename TImpl, typename TInterface = ui_element>
class ui_element_impl< TImpl, TInterface >

Definition at line 592 of file ui_element.h.

Member Typedef Documentation

template<typename TImpl, typename TInterface = ui_element>
typedef ui_element_instance_impl_helper ui_element_impl< TImpl, TInterface >::TInstance

Definition at line 616 of file ui_element.h.

Member Function Documentation

template<typename TImpl, typename TInterface = ui_element>
ui_element_children_enumerator_ptr ui_element_impl< TImpl, TInterface >::enumerate_children ( ui_element_config::ptr  cfg)
inline

Definition at line 604 of file ui_element.h.

604 {return NULL;}
template<typename TImpl, typename TInterface = ui_element>
ui_element_config::ptr ui_element_impl< TImpl, TInterface >::get_default_configuration ( )
inline

Definition at line 603 of file ui_element.h.

603 { return TImpl::g_get_default_configuration(); }
template<typename TImpl, typename TInterface = ui_element>
bool ui_element_impl< TImpl, TInterface >::get_description ( pfc::string_base out)
inline

Definition at line 605 of file ui_element.h.

605 {out = TImpl::g_get_description(); return true;}
template<typename TImpl, typename TInterface = ui_element>
GUID ui_element_impl< TImpl, TInterface >::get_guid ( )
inline

Definition at line 594 of file ui_element.h.

594 { return TImpl::g_get_guid();}
template<typename TImpl, typename TInterface = ui_element>
void ui_element_impl< TImpl, TInterface >::get_name ( pfc::string_base out)
inline

Definition at line 596 of file ui_element.h.

596 { TImpl::g_get_name(out); }
template<typename TImpl, typename TInterface = ui_element>
GUID ui_element_impl< TImpl, TInterface >::get_subclass ( )
inline

Definition at line 595 of file ui_element.h.

595 { return TImpl::g_get_subclass();}
template<typename TImpl, typename TInterface = ui_element>
static TInstance const& ui_element_impl< TImpl, TInterface >::instanceGlobals ( )
inlinestatic

Definition at line 617 of file ui_element.h.

617 {return *reinterpret_cast<const TInstance*>(NULL);}
ui_element_instance_impl_helper TInstance
Definition: ui_element.h:616
template<typename TImpl, typename TInterface = ui_element>
ui_element_instance::ptr ui_element_impl< TImpl, TInterface >::instantiate ( HWND  parent,
ui_element_config::ptr  cfg,
ui_element_instance_callback::ptr  callback 
)
inline

Definition at line 597 of file ui_element.h.

597  {
598  PFC_ASSERT( cfg->get_guid() == get_guid() );
600  item->initialize_window(parent);
601  return item;
602  }
Special service_impl_t replacement for service classes that also implement ATL/WTL windows...
Definition: misc.h:307
Autopointer class to be used with all services. Manages reference counter calls behind-the-scenes. This assumes that the pointers are valid all the time (can&#39;t point to null). Mainly intended to be used for scenarios where null pointers are not valid and relevant code should crash ASAP if somebody passes invalid pointers around. You want to use service_ptr_t<> rather than service_nnptr_t<> most of the time.
Definition: service.h:51

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