DBus::Slot< R, P > Class Template Reference

#include <util.h>

Inheritance diagram for DBus::Slot< R, P >:
Inheritance graph

Public Member Functions

Slotoperator= (Callback_Base< R, P > *s)
 
operator() (P param) const
 
call (P param) const
 
bool empty () const
 

Private Attributes

RefPtr< Callback_Base< R, P > > _cb
 

Detailed Description

template<class R, class P>
class DBus::Slot< R, P >

Definition at line 225 of file util.h.

Member Function Documentation

◆ call()

template<class R , class P >
R DBus::Slot< R, P >::call ( param) const
inline

Definition at line 248 of file util.h.

References DBus::Slot< R, P >::_cb, and DBus::Slot< R, P >::empty().

◆ empty()

template<class R , class P >
bool DBus::Slot< R, P >::empty ( ) const
inline

Definition at line 260 of file util.h.

References DBus::Slot< R, P >::_cb.

Referenced by DBus::Slot< R, P >::call(), and DBus::Slot< R, P >::operator()().

◆ operator()()

template<class R , class P >
R DBus::Slot< R, P >::operator() ( param) const
inline

Definition at line 236 of file util.h.

References DBus::Slot< R, P >::_cb, and DBus::Slot< R, P >::empty().

◆ operator=()

template<class R , class P >
Slot & DBus::Slot< R, P >::operator= ( Callback_Base< R, P > *  s)
inline

Definition at line 229 of file util.h.

References DBus::Slot< R, P >::_cb.

Member Data Documentation

◆ _cb

template<class R , class P >
RefPtr< Callback_Base<R, P> > DBus::Slot< R, P >::_cb
private

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