DBus::Object Class Reference
#include <object.h>

Public Member Functions | |
| virtual | ~Object () |
| const DBus::Path & | path () const |
| const std::string & | service () const |
| Connection & | conn () |
| 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
| Connection & DBus::Object::conn | ( | ) | [inline] |
Definition at line 77 of file object.h.
References _conn.
Referenced by DBus::ObjectAdaptor::_emit_signal(), DBus::ObjectProxy::_invoke_method(), DBus::ObjectProxy::_invoke_method_noreply(), DBus::ObjectAdaptor::handle_message(), DBus::ObjectProxy::register_obj(), DBus::ObjectAdaptor::register_obj(), DBus::ObjectProxy::unregister_obj(), and DBus::ObjectAdaptor::unregister_obj().
| 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.
| const DBus::Path & DBus::Object::path | ( | ) | const [inline] |
Definition at line 82 of file object.h.
References _path.
Referenced by DBus::ObjectAdaptor::_emit_signal(), DBus::ObjectProxy::_invoke_method(), DBus::ObjectProxy::_invoke_method_noreply(), DBus::ObjectProxy::handle_message(), DBus::IntrospectableAdaptor::Introspect(), DBus::ObjectAdaptor::Private::message_function_stub(), DBus::ObjectProxy::register_obj(), DBus::ObjectAdaptor::register_obj(), DBus::ObjectProxy::unregister_obj(), and DBus::ObjectAdaptor::unregister_obj().
| 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
Connection DBus::Object::_conn [private] |
int DBus::Object::_default_timeout [private] |
Definition at line 71 of file object.h.
Referenced by get_timeout(), and set_timeout().
DBus::Path DBus::Object::_path [private] |
std::string DBus::Object::_service [private] |
The documentation for this class was generated from the following files: