foobar2000 SDK  2015-08-03
Public Member Functions | Private Attributes
callInMainThreadHelper::entryVoid< host_t >

#include <main_thread_callback.h>

+ Inheritance diagram for callInMainThreadHelper::entryVoid< host_t >:

Public Member Functions

 entryVoid (host_t *host, 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

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>
class callInMainThreadHelper::entryVoid< host_t >

Definition at line 117 of file main_thread_callback.h.

Constructor & Destructor Documentation

template<typename host_t >
callInMainThreadHelper::entryVoid< host_t >::entryVoid ( host_t *  host,
killswitch_t  ks 
)
inline

Member Function Documentation

template<typename host_t >
void callInMainThreadHelper::entryVoid< host_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 120 of file main_thread_callback.h.

120  {
122  }
static void callThis(host_t *host, param_t &param)

Field Documentation

template<typename host_t >
host_t* callInMainThreadHelper::entryVoid< host_t >::m_host
private

Definition at line 125 of file main_thread_callback.h.

template<typename host_t >
killswitch_t callInMainThreadHelper::entryVoid< host_t >::m_ks
private

Definition at line 124 of file main_thread_callback.h.


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