dbus-cxx logo

DBus::PendingCall Class Reference
[DBus Messages]

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

#include <pendingcall.h>

List of all members.

Public Types

typedef DBusCxxPointer
< PendingCall
pointer

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.

Author:
Rick L Vinyard Jr <rvinyard@cs.nmsu.edu>

Member Typedef Documentation

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

Examples:
caller_raw.cpp.


Constructor & Destructor Documentation

DBus::PendingCall::PendingCall ( DBusPendingCall *  cobj = NULL  )  [protected]

References m_cobj, and notify_callback().

Referenced by create().

DBus::PendingCall::PendingCall ( const PendingCall c  )  [protected]

References m_cobj.

DBus::PendingCall::~PendingCall (  )  [virtual]

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 ( const PendingCall other  )  [static]

References PendingCall().

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

References PendingCall().

Referenced by steal_reply().

void DBus::PendingCall::notify_callback ( DBusPendingCall *  pending,
void *  data 
) [static, private]

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 [private]

sigc::signal<void> DBus::PendingCall::m_signal_notify [private]

Referenced by notify_callback(), and signal_notify().


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

Generated on Thu May 28 16:51:32 2009 for dbus-cxx by doxygen 1.5.7.1