interface.h File Reference

#include <string>
#include <map>
#include "api.h"
#include "util.h"
#include "types.h"
#include "message.h"

Go to the source code of this file.

Classes

struct  DBus::PropertyData
class  DBus::AdaptorBase
class  DBus::ProxyBase
class  DBus::Interface
class  DBus::InterfaceAdaptor
class  DBus::InterfaceProxy

Namespaces

namespace  DBus

Defines

#define register_method(interface, method, callback)
#define bind_property(variable, type, can_read, can_write)
#define connect_signal(interface, signal, callback)

Typedefs

typedef std::map< std::string,
PropertyData > 
DBus::PropertyTable
typedef std::map< std::string,
InterfaceAdaptor * > 
DBus::InterfaceAdaptorTable
typedef std::map< std::string,
InterfaceProxy * > 
DBus::InterfaceProxyTable
typedef std::map< std::string,
Slot< Message, const
CallMessage & > > 
DBus::MethodTable
typedef std::map< std::string,
Slot< void, const
SignalMessage & > > 
DBus::SignalTable


Define Documentation

#define bind_property ( variable,
type,
can_read,
can_write   ) 

Value:

InterfaceAdaptor::_properties[ #variable ].read = can_read; \
    InterfaceAdaptor::_properties[ #variable ].write = can_write; \
    InterfaceAdaptor::_properties[ #variable ].sig = type; \
    variable.bind(InterfaceAdaptor::_properties[ #variable ]);

Definition at line 183 of file interface.h.

#define connect_signal ( interface,
signal,
callback   ) 

Value:

InterfaceProxy::_signals[ #signal ] = \
        new ::DBus::Callback< interface, void, const ::DBus::SignalMessage &>(this, & interface :: callback);

Definition at line 189 of file interface.h.

#define register_method ( interface,
method,
callback   ) 

Value:

InterfaceAdaptor::_methods[ #method ] = \
        new ::DBus::Callback< interface, ::DBus::Message, const ::DBus::CallMessage &>(this, & interface :: callback);

Definition at line 179 of file interface.h.

Referenced by DBus::IntrospectableAdaptor::IntrospectableAdaptor(), and DBus::PropertiesAdaptor::PropertiesAdaptor().


Generated on Wed Jan 12 16:32:42 2011 for libdbus-c++ by  doxygen 1.5.9