DBus::ObjectAdaptor Class Reference

#include <object.h>

Inheritance diagram for DBus::ObjectAdaptor:

List of all members.


class  Continuation
struct  Private

Public Member Functions

 ObjectAdaptor (Connection &conn, const Path &path)
 ~ObjectAdaptor ()
const ObjectAdaptorobject () const

Static Public Member Functions

static ObjectAdaptorfrom_path (const Path &path)
static ObjectAdaptorPList from_path_prefix (const std::string &prefix)
static ObjectPathList child_nodes_from_prefix (const std::string &prefix)

Protected Member Functions

void return_later (const Tag *tag)
void return_now (Continuation *ret)
void return_error (Continuation *ret, const Error error)
Continuationfind_continuation (const Tag *tag)

Private Types

typedef std::map< const Tag
*, Continuation * > 

Private Member Functions

void _emit_signal (SignalMessage &)
bool handle_message (const Message &)
void register_obj ()
void unregister_obj (bool throw_on_error=true)

Private Attributes

ContinuationMap _continuations


struct Private

Detailed Description

Definition at line 116 of file object.h.

Member Typedef Documentation

typedef std::map<const Tag *, Continuation *> DBus::ObjectAdaptor::ContinuationMap [private]

Definition at line 174 of file object.h.

Constructor & Destructor Documentation

ObjectAdaptor::ObjectAdaptor ( Connection conn,
const Path path 

Definition at line 159 of file object.cpp.

References register_obj().

ObjectAdaptor::~ObjectAdaptor (  ) 

Definition at line 165 of file object.cpp.

References unregister_obj().

Member Function Documentation

void ObjectAdaptor::_emit_signal ( SignalMessage sig  )  [private, virtual]
ObjectPathList ObjectAdaptor::child_nodes_from_prefix ( const std::string &  prefix  )  [static]

Definition at line 134 of file object.cpp.

References _adaptor_table.

Referenced by DBus::IntrospectableAdaptor::Introspect().

ObjectAdaptor::Continuation * ObjectAdaptor::find_continuation ( const Tag tag  )  [protected]

Definition at line 274 of file object.cpp.

References _continuations.

ObjectAdaptor * ObjectAdaptor::from_path ( const Path path  )  [static]

Definition at line 105 of file object.cpp.

References _adaptor_table.

ObjectAdaptorPList ObjectAdaptor::from_path_prefix ( const std::string &  prefix  )  [static]

Definition at line 115 of file object.cpp.

References _adaptor_table.

const ObjectAdaptor * DBus::ObjectAdaptor::object (  )  const [inline, virtual]

Implements DBus::AdaptorBase.

Definition at line 180 of file object.h.

void ObjectAdaptor::register_obj (  )  [private, virtual]
void ObjectAdaptor::return_later ( const Tag tag  )  [protected]

Definition at line 246 of file object.cpp.

void ObjectAdaptor::unregister_obj ( bool  throw_on_error = true  )  [private, virtual]

Friends And Related Function Documentation

friend struct Private [friend]

Definition at line 177 of file object.h.

Member Data Documentation

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