DBus::Object Class Reference

#include <object.h>

Inheritance diagram for DBus::Object:

List of all members.

Public Member Functions

virtual ~Object ()
const DBus::Pathpath () const
const std::string & service () const
Connectionconn ()
void set_timeout (int new_timeout=-1)
int get_timeout () const

Protected Member Functions

 Object (Connection &conn, const Path &path, const char *service)

Private Member Functions

virtual DXXAPILOCAL bool handle_message (const Message &)=0
virtual DXXAPILOCAL void register_obj ()=0
virtual DXXAPILOCAL void unregister_obj (bool throw_on_error=true)=0

Private Attributes

Connection _conn
DBus::Path _path
std::string _service
int _default_timeout

Detailed Description

Definition at line 40 of file object.h.


Constructor & Destructor Documentation

Object::Object ( Connection conn,
const Path path,
const char *  service 
) [protected]

Definition at line 42 of file object.cpp.

Object::~Object (  )  [virtual]

Definition at line 47 of file object.cpp.


Member Function Documentation

int DBus::Object::get_timeout (  )  const [inline]

Definition at line 92 of file object.h.

References _default_timeout.

Referenced by DBus::ObjectProxy::_invoke_method().

virtual DXXAPILOCAL bool DBus::Object::handle_message ( const Message  )  [private, pure virtual]

Implemented in DBus::ObjectAdaptor, and DBus::ObjectProxy.

virtual DXXAPILOCAL void DBus::Object::register_obj (  )  [private, pure virtual]

Implemented in DBus::ObjectAdaptor, and DBus::ObjectProxy.

const std::string & DBus::Object::service (  )  const [inline]

Definition at line 87 of file object.h.

References _service.

Referenced by DBus::ObjectProxy::_invoke_method(), and DBus::ObjectProxy::_invoke_method_noreply().

void Object::set_timeout ( int  new_timeout = -1  ) 

Definition at line 51 of file object.cpp.

References _default_timeout, and DBus::debug_log.

virtual DXXAPILOCAL void DBus::Object::unregister_obj ( bool  throw_on_error = true  )  [private, pure virtual]

Implemented in DBus::ObjectAdaptor, and DBus::ObjectProxy.


Member Data Documentation

Definition at line 68 of file object.h.

Referenced by conn().

Definition at line 71 of file object.h.

Referenced by get_timeout(), and set_timeout().

Definition at line 69 of file object.h.

Referenced by path().

std::string DBus::Object::_service [private]

Definition at line 70 of file object.h.

Referenced by service().


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