DBus::InterfaceAdaptor Class Reference
#include <interface.h>
Public Member Functions | |
InterfaceAdaptor (const std::string &name) | |
Message | dispatch_method (const CallMessage &) |
void | emit_signal (const SignalMessage &) |
Variant * | get_property (const std::string &name) |
void | set_property (const std::string &name, Variant &value) |
virtual IntrospectedInterface * | introspect () const |
Protected Attributes | |
MethodTable | _methods |
PropertyTable | _properties |
Detailed Description
Definition at line 133 of file interface.h.
Constructor & Destructor Documentation
InterfaceAdaptor::InterfaceAdaptor | ( | const std::string & | name | ) |
Definition at line 49 of file interface.cpp.
References DBus::AdaptorBase::_interfaces, and DBus::debug_log.
Member Function Documentation
Message InterfaceAdaptor::dispatch_method | ( | const CallMessage & | msg | ) |
Definition at line 57 of file interface.cpp.
References _methods, DBus::CallMessage::member(), and DBus::Interface::name().
Referenced by DBus::ObjectAdaptor::handle_message().
void InterfaceAdaptor::emit_signal | ( | const SignalMessage & | sig | ) |
Definition at line 72 of file interface.cpp.
References DBus::AdaptorBase::_emit_signal(), DBus::SignalMessage::interface(), and DBus::Interface::name().
Variant * InterfaceAdaptor::get_property | ( | const std::string & | name | ) |
Definition at line 82 of file interface.cpp.
References _properties.
virtual IntrospectedInterface* DBus::InterfaceAdaptor::introspect | ( | ) | const [inline, virtual] |
Reimplemented in DBus::IntrospectableAdaptor, and DBus::PropertiesAdaptor.
Definition at line 147 of file interface.h.
void InterfaceAdaptor::set_property | ( | const std::string & | name, | |
Variant & | value | |||
) |
Definition at line 96 of file interface.cpp.
References _properties, and DBus::Variant::signature().
Referenced by DBus::PropertiesAdaptor::Set().
Member Data Documentation
MethodTable DBus::InterfaceAdaptor::_methods [protected] |
Definition at line 154 of file interface.h.
Referenced by dispatch_method().
PropertyTable DBus::InterfaceAdaptor::_properties [protected] |
Definition at line 155 of file interface.h.
Referenced by get_property(), and set_property().
The documentation for this class was generated from the following files: