foobar2000 SDK  2015-08-03
Public Member Functions | Private Attributes
callInMainThreadHelper::entryFunc

#include <main_thread_callback.h>

+ Inheritance diagram for callInMainThreadHelper::entryFunc:

Public Member Functions

 entryFunc (func_t const &func, 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

func_t m_func
 
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

Definition at line 91 of file main_thread_callback.h.

Constructor & Destructor Documentation

callInMainThreadHelper::entryFunc::entryFunc ( func_t const &  func,
killswitch_t  ks 
)
inline

Member Function Documentation

void callInMainThreadHelper::entryFunc::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 95 of file main_thread_callback.h.

Field Documentation

func_t callInMainThreadHelper::entryFunc::m_func
private

Definition at line 101 of file main_thread_callback.h.

killswitch_t callInMainThreadHelper::entryFunc::m_ks
private

Definition at line 100 of file main_thread_callback.h.


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