foobar2000 SDK  2015-01-14
Data Structures | Typedefs | Functions
completion_notify.h File Reference

Go to the source code of this file.

Data Structures

class  completion_notify
 
class  completion_notify_dummy
 
class  completion_notify_impl< t_receiver >
 
class  completion_notify_orphanable
 
class  completion_notify_receiver
 

Typedefs

typedef service_nnptr_t< completion_notifycompletion_notify_nnptr
 
typedef service_nnptr_t< completion_notify_orphanablecompletion_notify_orphanable_nnptr
 
typedef service_ptr_t< completion_notify_orphanablecompletion_notify_orphanable_ptr
 
typedef service_ptr_t< completion_notifycompletion_notify_ptr
 

Functions

template<typename t_receiver >
service_nnptr_t< completion_notify_orphanablecompletion_notify_create (t_receiver *p_receiver, unsigned p_taskid)
 

Typedef Documentation

Definition at line 56 of file completion_notify.h.

Definition at line 57 of file completion_notify.h.

Definition at line 55 of file completion_notify.h.

Definition at line 54 of file completion_notify.h.

Function Documentation

template<typename t_receiver >
service_nnptr_t<completion_notify_orphanable> completion_notify_create ( t_receiver *  p_receiver,
unsigned  p_taskid 
)

Definition at line 48 of file completion_notify.h.

48  {
50  instance->setup(p_receiver,p_taskid);
51  return instance;
52 }
Template implementing reference-counting features of service_base. Intended for dynamic instantiation...
Definition: service_impl.h:4
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'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