Namespaces | |
Ecore | |
Glib | |
Typedefs | |
typedef Slot< bool, const Message & > | MessageSlot |
typedef std::list< Connection > | ConnectionList |
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 * > | DefaultTimeouts |
typedef std::list< DefaultWatch * > | DefaultWatches |
typedef std::map< std::string, PropertyData > | PropertyTable |
typedef std::map< std::string, InterfaceAdaptor * > | InterfaceAdaptorTable |
typedef std::map< std::string, InterfaceProxy * > | InterfaceProxyTable |
typedef std::map< std::string, Slot< Message, const CallMessage & > > | MethodTable |
typedef std::map< std::string, Slot< void, const SignalMessage & > > | SignalTable |
typedef std::list< ObjectAdaptor * > | ObjectAdaptorPList |
typedef std::list< std::string > | ObjectPathList |
typedef std::list< ObjectProxy * > | ObjectProxyPList |
typedef std::list< Server > | ServerList |
Functions | |
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 More... | |
Variables | |
DXXAPI LogFunction | debug_log = _debug_log_default |
DXXAPI Dispatcher * | default_dispatcher = NULL |
Typedef Documentation
◆ CondVarFreeFn
typedef void(* DBus::CondVarFreeFn) (CondVar *cv) |
Definition at line 241 of file dispatcher.h.
◆ CondVarNewFn
typedef CondVar*(* DBus::CondVarNewFn) () |
Definition at line 240 of file dispatcher.h.
◆ CondVarWaitFn
Definition at line 242 of file dispatcher.h.
◆ CondVarWaitTimeoutFn
Definition at line 243 of file dispatcher.h.
◆ CondVarWakeAllFn
typedef void(* DBus::CondVarWakeAllFn) (CondVar *cv) |
Definition at line 245 of file dispatcher.h.
◆ CondVarWakeOneFn
typedef void(* DBus::CondVarWakeOneFn) (CondVar *cv) |
Definition at line 244 of file dispatcher.h.
◆ ConnectionList
typedef std::list<Connection> DBus::ConnectionList |
Definition at line 43 of file connection.h.
◆ DefaultTimeouts
typedef std::list< DefaultTimeout *> DBus::DefaultTimeouts |
Definition at line 108 of file eventloop.h.
◆ DefaultWatches
typedef std::list< DefaultWatch *> DBus::DefaultWatches |
Definition at line 172 of file eventloop.h.
◆ InterfaceAdaptorTable
typedef std::map<std::string, InterfaceAdaptor *> DBus::InterfaceAdaptorTable |
Definition at line 54 of file interface.h.
◆ InterfaceProxyTable
typedef std::map<std::string, InterfaceProxy *> DBus::InterfaceProxyTable |
Definition at line 81 of file interface.h.
◆ LogFunction
◆ MessageSlot
typedef Slot<bool, const Message &> DBus::MessageSlot |
Definition at line 39 of file connection.h.
◆ MethodTable
typedef std::map< std::string, Slot<Message, const CallMessage &> > DBus::MethodTable |
Definition at line 131 of file interface.h.
◆ MutexFreeFn
typedef bool(* DBus::MutexFreeFn) (Mutex *mx) |
Definition at line 233 of file dispatcher.h.
◆ MutexLockFn
typedef bool(* DBus::MutexLockFn) (Mutex *mx) |
Definition at line 234 of file dispatcher.h.
◆ MutexNewFn
typedef Mutex*(* DBus::MutexNewFn) () |
Definition at line 229 of file dispatcher.h.
◆ MutexUnlockFn
typedef void(* DBus::MutexUnlockFn) (Mutex *mx) |
Definition at line 230 of file dispatcher.h.
◆ ObjectAdaptorPList
typedef std::list<ObjectAdaptor *> DBus::ObjectAdaptorPList |
◆ ObjectPathList
typedef std::list<std::string> DBus::ObjectPathList |
◆ ObjectProxyPList
typedef std::list<ObjectProxy *> DBus::ObjectProxyPList |
◆ PropertyTable
typedef std::map<std::string, PropertyData> DBus::PropertyTable |
Definition at line 48 of file interface.h.
◆ ServerList
typedef std::list<Server> DBus::ServerList |
◆ SignalTable
typedef std::map< std::string, Slot<void, const SignalMessage &> > DBus::SignalTable |
Definition at line 161 of file interface.h.
Function Documentation
◆ _init_threading() [1/2]
void DBus::_init_threading | ( | ) |
Definition at line 247 of file dispatcher.cpp.
References debug_log.
Referenced by DBus::Threading< Mx, Cv >::init().
◆ _init_threading() [2/2]
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.
◆ dict_has_key()
|
inline |
◆ toString()
std::string DBus::toString | ( | const T & | thing, |
int | w = 0 , |
||
int | p = 0 |
||
) |
create std::string from any number
Definition at line 297 of file util.h.
Referenced by DBus::BusDispatcher::BusDispatcher(), DBus::BusDispatcher::leave(), and DBus::Pipe::Pipe().
Variable Documentation
◆ debug_log
DBus::LogFunction DBus::debug_log = _debug_log_default |
Definition at line 55 of file debug.cpp.
Referenced by DBus::Ecore::BusTimeout::_disable(), DBus::Ecore::BusTimeout::_enable(), DBus::Ecore::BusWatch::_enable(), _init_threading(), DBus::Connection::add_filter(), DBus::Connection::add_match(), DBus::BusDispatcher::add_timeout(), DBus::Ecore::BusDispatcher::add_timeout(), DBus::Glib::BusDispatcher::add_timeout(), DBus::BusDispatcher::add_watch(), DBus::Ecore::BusDispatcher::add_watch(), DBus::Glib::BusDispatcher::add_watch(), DBus::Connection::Connection(), DBus::MessageIter::copy_data(), DBus::Dispatcher::dispatch_pending(), DBus::BusDispatcher::enter(), DBus::PropertiesAdaptor::Get(), DBus::ObjectAdaptor::handle_message(), DBus::ObjectProxy::handle_message(), DBus::InterfaceAdaptor::InterfaceAdaptor(), DBus::InterfaceProxy::InterfaceProxy(), DBus::IntrospectableAdaptor::Introspect(), DBus::ObjectAdaptor::Private::message_function_stub(), DBus::ObjectAdaptor::register_obj(), DBus::ObjectProxy::register_obj(), DBus::BusDispatcher::rem_timeout(), DBus::Ecore::BusDispatcher::rem_timeout(), DBus::Glib::BusDispatcher::rem_timeout(), DBus::BusDispatcher::rem_watch(), DBus::Ecore::BusDispatcher::rem_watch(), DBus::Glib::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::BusTimeout::toggle(), DBus::Glib::BusTimeout::toggle(), DBus::Ecore::BusTimeout::toggle(), DBus::BusWatch::toggle(), DBus::Ecore::BusWatch::toggle(), DBus::Glib::BusWatch::toggle(), DBus::RefCnt::unref(), DBus::ObjectAdaptor::unregister_obj(), DBus::ObjectProxy::unregister_obj(), watch_check(), DBus::Ecore::BusWatch::watch_dispatch(), watch_dispatch(), watch_prepare(), and DBus::BusDispatcher::watch_ready().
◆ default_dispatcher
DBus::Dispatcher * DBus::default_dispatcher = NULL |
Definition at line 36 of file dispatcher.cpp.
Referenced by DBus::Connection::Connection(), DBus::Server::Server(), and DBus::Connection::setup().