foobar2000 SDK  2015-01-14
Public Member Functions | Private Attributes
callInMainThreadHelper::entry< host_t, arg_t >

#include <main_thread_callback.h>

+ Inheritance diagram for callInMainThreadHelper::entry< host_t, arg_t >:

Public Member Functions

 entry (host_t *host, arg_t const &arg, killswitch_t ks)
 
void callback_run ()
 
- Public Member Functions inherited from main_thread_callback
void callback_enqueue ()
 
 FB2K_MAKE_SERVICE_INTERFACE (main_thread_callback, service_base)
 
- Public Member Functions inherited from service_base
template<typename outPtr_t >
bool cast (outPtr_t &outPtr)
 
virtual int service_add_ref ()=0 throw ()
 
virtual bool service_query (service_ptr_t< service_base > &p_out, const GUID &p_guid)
 
template<class T >
bool service_query_t (service_ptr_t< T > &p_out)
 
virtual int service_release ()=0 throw ()
 

Private Attributes

arg_t m_arg
 
host_t * m_host
 
killswitch_t m_ks
 

Additional Inherited Members

- Public Types inherited from service_base
typedef service_base t_interface
 
- Protected Member Functions inherited from service_base
 service_base ()
 
 ~service_base ()
 

Detailed Description

template<typename host_t, typename arg_t>
class callInMainThreadHelper::entry< host_t, arg_t >

Definition at line 88 of file main_thread_callback.h.

Constructor & Destructor Documentation

template<typename host_t , typename arg_t >
callInMainThreadHelper::entry< host_t, arg_t >::entry ( host_t *  host,
arg_t const &  arg,
killswitch_t  ks 
)
inline

Member Function Documentation

template<typename host_t , typename arg_t >
void callInMainThreadHelper::entry< host_t, arg_t >::callback_run ( )
inlinevirtual

Gets called from main app thread. See main_thread_callback_manager description for more info.

Implements main_thread_callback.

Definition at line 91 of file main_thread_callback.h.

Field Documentation

template<typename host_t , typename arg_t >
arg_t callInMainThreadHelper::entry< host_t, arg_t >::m_arg
private

Definition at line 97 of file main_thread_callback.h.

template<typename host_t , typename arg_t >
host_t* callInMainThreadHelper::entry< host_t, arg_t >::m_host
private

Definition at line 96 of file main_thread_callback.h.

template<typename host_t , typename arg_t >
killswitch_t callInMainThreadHelper::entry< host_t, arg_t >::m_ks
private

Definition at line 95 of file main_thread_callback.h.


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