DBus Namespace Reference


namespace  Ecore
namespace  Glib


class  Connection
class  Dispatcher
struct  InternalError
class  Message
class  PendingCall
class  Server
class  Timeout
class  Watch
class  Mutex
class  CondVar
struct  Threading
class  Error
struct  ErrorFailed
struct  ErrorNoMemory
struct  ErrorServiceUnknown
struct  ErrorNameHasNoOwner
struct  ErrorNoReply
struct  ErrorIOError
struct  ErrorBadAddress
struct  ErrorNotSupported
struct  ErrorLimitsExceeded
struct  ErrorAccessDenied
struct  ErrorAuthFailed
struct  ErrorNoServer
struct  ErrorTimeout
struct  ErrorNoNetwork
struct  ErrorAddressInUse
struct  ErrorDisconnected
struct  ErrorInvalidArgs
struct  ErrorFileNotFound
struct  ErrorUnknownMethod
struct  ErrorTimedOut
struct  ErrorMatchRuleNotFound
struct  ErrorMatchRuleInvalid
struct  ErrorSpawnExecFailed
struct  ErrorSpawnForkFailed
struct  ErrorSpawnChildExited
struct  ErrorSpawnChildSignaled
struct  ErrorSpawnFailed
struct  ErrorInvalidSignature
struct  ErrorUnixProcessIdUnknown
struct  ErrorSELinuxSecurityContextUnknown
class  BusTimeout
class  BusWatch
class  BusDispatcher
class  DefaultTimeout
class  DefaultWatch
class  DefaultMutex
class  DefaultMainLoop
struct  PropertyData
class  AdaptorBase
class  ProxyBase
class  Interface
class  InterfaceAdaptor
class  InterfaceProxy
struct  IntrospectedArgument
struct  IntrospectedMethod
struct  IntrospectedProperty
struct  IntrospectedInterface
class  IntrospectableAdaptor
class  IntrospectableProxy
class  MessageIter
class  ErrorMessage
class  SignalMessage
class  CallMessage
class  ReturnMessage
class  Object
class  Tag
class  ObjectAdaptor
class  ObjectProxy
class  Pipe
class  PropertyAdaptor
class  PropertiesAdaptor
class  PropertiesProxy
struct  Path
struct  Signature
struct  Invalid
class  Variant
struct  Struct
struct  type
struct  type< Variant >
struct  type< uint8_t >
struct  type< bool >
struct  type< int16_t >
struct  type< uint16_t >
struct  type< int32_t >
struct  type< uint32_t >
struct  type< int64_t >
struct  type< uint64_t >
struct  type< double >
struct  type< std::string >
struct  type< Path >
struct  type< Signature >
struct  type< Invalid >
struct  type< std::vector< E > >
struct  type< std::map< K, V > >
struct  type< Struct< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16 > >
class  RefCnt
class  RefPtrI
class  RefPtr
class  Callback_Base
class  Slot
class  Callback


typedef Slot< bool, const
Message & > 
typedef std::list< ConnectionConnectionList
typedef void(* LogFunction )(const char *format,...)
typedef Mutex *(* MutexNewFn )()
typedef void(* MutexUnlockFn )(Mutex *mx)
typedef bool(* MutexFreeFn )(Mutex *mx)
typedef bool(* MutexLockFn )(Mutex *mx)
typedef CondVar *(* CondVarNewFn )()
typedef void(* CondVarFreeFn )(CondVar *cv)
typedef void(* CondVarWaitFn )(CondVar *cv, Mutex *mx)
typedef bool(* CondVarWaitTimeoutFn )(CondVar *cv, Mutex *mx, int timeout)
typedef void(* CondVarWakeOneFn )(CondVar *cv)
typedef void(* CondVarWakeAllFn )(CondVar *cv)
typedef std::list
< DefaultTimeout * > 
typedef std::list< DefaultWatch * > DefaultWatches
typedef std::map< std::string,
typedef std::map< std::string,
InterfaceAdaptor * > 
typedef std::map< std::string,
InterfaceProxy * > 
typedef std::map< std::string,
Slot< Message, const
CallMessage & > > 
typedef std::map< std::string,
Slot< void, const
SignalMessage & > > 
typedef std::list
< ObjectAdaptor * > 
typedef std::list< std::string > ObjectPathList
typedef std::list< ObjectProxy * > ObjectProxyPList
typedef std::list< ServerServerList


void DXXAPI _init_threading ()
void DXXAPI _init_threading (MutexNewFn, MutexFreeFn, MutexLockFn, MutexUnlockFn, CondVarNewFn, CondVarFreeFn, CondVarWaitFn, CondVarWaitTimeoutFn, CondVarWakeOneFn, CondVarWakeAllFn)
template<typename K , typename V >
bool dict_has_key (const std::map< K, V > &map, const K &key)
template<typename T >
std::string toString (const T &thing, int w=0, int p=0)
 create std::string from any number


DXXAPI LogFunction debug_log = _debug_log_default
DXXAPI Dispatcherdefault_dispatcher = NULL

Typedef Documentation

typedef void(* DBus::CondVarFreeFn)(CondVar *cv)

Definition at line 241 of file dispatcher.h.

typedef CondVar*(* DBus::CondVarNewFn)()

Definition at line 240 of file dispatcher.h.

typedef void(* DBus::CondVarWaitFn)(CondVar *cv, Mutex *mx)

Definition at line 242 of file dispatcher.h.

typedef bool(* DBus::CondVarWaitTimeoutFn)(CondVar *cv, Mutex *mx, int timeout)

Definition at line 243 of file dispatcher.h.

typedef void(* DBus::CondVarWakeAllFn)(CondVar *cv)

Definition at line 245 of file dispatcher.h.

typedef void(* DBus::CondVarWakeOneFn)(CondVar *cv)

Definition at line 244 of file dispatcher.h.

typedef std::list<Connection> DBus::ConnectionList

Definition at line 41 of file connection.h.

typedef std::list< DefaultTimeout *> DBus::DefaultTimeouts

Definition at line 108 of file eventloop.h.

typedef std::list< DefaultWatch *> DBus::DefaultWatches

Definition at line 172 of file eventloop.h.

typedef std::map<std::string, InterfaceAdaptor *> DBus::InterfaceAdaptorTable

Definition at line 54 of file interface.h.

typedef std::map<std::string, InterfaceProxy *> DBus::InterfaceProxyTable

Definition at line 81 of file interface.h.

typedef void(* DBus::LogFunction)(const char *format,...)

Definition at line 33 of file debug.h.

typedef Slot<bool, const Message &> DBus::MessageSlot

Definition at line 37 of file connection.h.

typedef std::map< std::string, Slot<Message, const CallMessage &> > DBus::MethodTable

Definition at line 131 of file interface.h.

typedef bool(* DBus::MutexFreeFn)(Mutex *mx)

Definition at line 233 of file dispatcher.h.

typedef bool(* DBus::MutexLockFn)(Mutex *mx)

Definition at line 234 of file dispatcher.h.

typedef Mutex*(* DBus::MutexNewFn)()

Definition at line 229 of file dispatcher.h.

typedef void(* DBus::MutexUnlockFn)(Mutex *mx)

Definition at line 230 of file dispatcher.h.

Definition at line 111 of file object.h.

typedef std::list<std::string> DBus::ObjectPathList

Definition at line 114 of file object.h.

typedef std::list<ObjectProxy *> DBus::ObjectProxyPList

Definition at line 198 of file object.h.

typedef std::map<std::string, PropertyData> DBus::PropertyTable

Definition at line 48 of file interface.h.

typedef std::list<Server> DBus::ServerList

Definition at line 39 of file server.h.

typedef std::map< std::string, Slot<void, const SignalMessage &> > DBus::SignalTable

Definition at line 161 of file interface.h.

Function Documentation

void DBus::_init_threading ( MutexNewFn  m1,
MutexFreeFn  m2,
MutexLockFn  m3,
MutexUnlockFn  m4,
CondVarNewFn  c1,
CondVarFreeFn  c2,
CondVarWaitFn  c3,
CondVarWaitTimeoutFn  c4,
CondVarWakeOneFn  c5,
CondVarWakeAllFn  c6 

Definition at line 256 of file dispatcher.cpp.

void DBus::_init_threading (  ) 

Definition at line 247 of file dispatcher.cpp.

References debug_log.

Referenced by DBus::Threading< Mx, Cv >::init().

template<typename K , typename V >
bool DBus::dict_has_key ( const std::map< K, V > &  map,
const K &  key 
) [inline]

Definition at line 144 of file types.h.

template<typename T >
std::string DBus::toString ( const T &  thing,
int  w = 0,
int  p = 0 
) [inline]

create std::string from any number

Definition at line 294 of file util.h.

Referenced by DBus::BusDispatcher::BusDispatcher(), DBus::BusDispatcher::leave(), and DBus::Pipe::Pipe().

Variable Documentation

DBus::LogFunction DBus::debug_log = _debug_log_default

Definition at line 55 of file debug.cpp.

Referenced by DBus::Ecore::BusTimeout::_disable(), DBus::Ecore::BusWatch::_enable(), DBus::Ecore::BusTimeout::_enable(), _init_threading(), DBus::Connection::add_filter(), DBus::Connection::add_match(), DBus::Glib::BusDispatcher::add_timeout(), DBus::BusDispatcher::add_timeout(), DBus::Ecore::BusDispatcher::add_timeout(), DBus::Glib::BusDispatcher::add_watch(), DBus::BusDispatcher::add_watch(), DBus::Ecore::BusDispatcher::add_watch(), DBus::Connection::Connection(), DBus::MessageIter::copy_data(), DBus::Dispatcher::dispatch_pending(), DBus::BusDispatcher::enter(), DBus::PropertiesAdaptor::Get(), DBus::ObjectProxy::handle_message(), DBus::ObjectAdaptor::handle_message(), DBus::InterfaceAdaptor::InterfaceAdaptor(), DBus::InterfaceProxy::InterfaceProxy(), DBus::IntrospectableAdaptor::Introspect(), DBus::ObjectAdaptor::Private::message_function_stub(), DBus::ObjectProxy::register_obj(), DBus::ObjectAdaptor::register_obj(), DBus::Glib::BusDispatcher::rem_timeout(), DBus::BusDispatcher::rem_timeout(), DBus::Ecore::BusDispatcher::rem_timeout(), DBus::Glib::BusDispatcher::rem_watch(), DBus::BusDispatcher::rem_watch(), DBus::Ecore::BusDispatcher::rem_watch(), DBus::Connection::remove_filter(), DBus::Connection::remove_match(), DBus::Connection::request_name(), DBus::Server::Server(), DBus::Object::set_timeout(), DBus::Server::setup(), DBus::Connection::setup(), DBus::BusDispatcher::timeout_expired(), DBus::Ecore::BusTimeout::timeout_handler(), DBus::Glib::BusWatch::toggle(), DBus::Glib::BusTimeout::toggle(), DBus::BusWatch::toggle(), DBus::BusTimeout::toggle(), DBus::Ecore::BusWatch::toggle(), DBus::Ecore::BusTimeout::toggle(), DBus::RefCnt::unref(), DBus::ObjectProxy::unregister_obj(), DBus::ObjectAdaptor::unregister_obj(), watch_check(), watch_dispatch(), DBus::Ecore::BusWatch::watch_dispatch(), watch_prepare(), and DBus::BusDispatcher::watch_ready().