dbus-cxx logo
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Private Member Functions | Private Attributes | List of all members
DBus::PendingCall Class Reference

Monitors an asynchronous call, emitting a signal when a response is received. More...

#include <pendingcall.h>

Public Types

typedef DBusCxxPointer
< PendingCall

Public Member Functions

virtual ~PendingCall ()
PendingCalloperator= (const PendingCall &other)
void cancel ()
bool completed ()
Message::pointer steal_reply ()
void block ()
sigc::signal< void > signal_notify ()
DBusPendingCall * cobj ()

Static Public Member Functions

static pointer create (DBusPendingCall *cobj=NULL)
static pointer create (const PendingCall &)

Protected Member Functions

 PendingCall (DBusPendingCall *cobj=NULL)
 PendingCall (const PendingCall &)

Static Private Member Functions

static void notify_callback (DBusPendingCall *pending, void *data)

Private Attributes

DBusPendingCall * m_cobj
sigc::signal< void > m_signal_notify

Detailed Description

Monitors an asynchronous call, emitting a signal when a response is received.

Rick L Vinyard Jr rviny.nosp@m.ard@.nosp@m.cs.nm.nosp@m.su.e.nosp@m.du

Member Typedef Documentation

typedef DBusCxxPointer<PendingCall> DBus::PendingCall::pointer

Constructor & Destructor Documentation

DBus::PendingCall::PendingCall ( DBusPendingCall *  cobj = NULL)

References create(), m_cobj, and notify_callback().

Referenced by create().

DBus::PendingCall::PendingCall ( const PendingCall c)

References m_cobj.

DBus::PendingCall::~PendingCall ( )

References m_cobj.

Member Function Documentation

void DBus::PendingCall::block ( )

References m_cobj.

void DBus::PendingCall::cancel ( )

References m_cobj.

DBusPendingCall* DBus::PendingCall::cobj ( )
bool DBus::PendingCall::completed ( )

References m_cobj.

PendingCall::pointer DBus::PendingCall::create ( DBusPendingCall *  cobj = NULL)

References PendingCall().

Referenced by PendingCall(), and steal_reply().

PendingCall::pointer DBus::PendingCall::create ( const PendingCall other)

References PendingCall().

void DBus::PendingCall::notify_callback ( DBusPendingCall *  pending,
void *  data 

References m_signal_notify.

Referenced by PendingCall().

PendingCall & DBus::PendingCall::operator= ( const PendingCall other)

References m_cobj.

sigc::signal< void > DBus::PendingCall::signal_notify ( )

References m_signal_notify.

Message::pointer DBus::PendingCall::steal_reply ( )

References create(), and m_cobj.

Member Data Documentation

DBusPendingCall* DBus::PendingCall::m_cobj
sigc::signal<void> DBus::PendingCall::m_signal_notify

Referenced by notify_callback(), and signal_notify().

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

Generated on Sat Sep 21 2013 17:22:40 for dbus-cxx by doxygen