foobar2000 SDK  2015-08-03
Public Types | Public Member Functions | Private Attributes
config_object_notify_impl_simple

#include <config_object_impl.h>

+ Inheritance diagram for config_object_notify_impl_simple:

Public Types

typedef void(* t_func) (const service_ptr_t< config_object > &)
 
- Public Types inherited from service_base
typedef service_base t_interface
 

Public Member Functions

 config_object_notify_impl_simple (const GUID &p_guid, t_func p_func)
 
GUID get_watched_object (t_size p_index)
 
t_size get_watched_object_count ()
 
void on_watched_object_changed (const service_ptr_t< config_object > &p_object)
 
- Public Member Functions inherited from config_object_notify
 FB2K_MAKE_SERVICE_INTERFACE_ENTRYPOINT (config_object_notify)
 
- 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

t_func m_func
 
GUID m_guid
 

Additional Inherited Members

- Protected Member Functions inherited from service_base
 service_base ()
 
 ~service_base ()
 

Detailed Description

Definition at line 156 of file config_object_impl.h.

Member Typedef Documentation

typedef void(* config_object_notify_impl_simple::t_func) (const service_ptr_t< config_object > &)

Definition at line 163 of file config_object_impl.h.

Constructor & Destructor Documentation

config_object_notify_impl_simple::config_object_notify_impl_simple ( const GUID p_guid,
t_func  p_func 
)
inline

Definition at line 165 of file config_object_impl.h.

Member Function Documentation

GUID config_object_notify_impl_simple::get_watched_object ( t_size  p_index)
inlinevirtual

Implements config_object_notify.

Definition at line 160 of file config_object_impl.h.

t_size config_object_notify_impl_simple::get_watched_object_count ( )
inlinevirtual

Implements config_object_notify.

Definition at line 159 of file config_object_impl.h.

159 {return 1;}
void config_object_notify_impl_simple::on_watched_object_changed ( const service_ptr_t< config_object > &  p_object)
inlinevirtual

Implements config_object_notify.

Definition at line 161 of file config_object_impl.h.

Field Documentation

t_func config_object_notify_impl_simple::m_func
private

Definition at line 168 of file config_object_impl.h.

GUID config_object_notify_impl_simple::m_guid
private

Definition at line 167 of file config_object_impl.h.


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