|
using | SlotBusAcquired = sigc::slot< void(const Glib::RefPtr< Gio::DBus::Connection > &, Glib::ustring)> |
| For example, void on_bus_acquired(const Glib::RefPtr<Gio::DBus::Connection>& connection,
const Glib::ustring& name);.
|
|
using | SlotNameAcquired = sigc::slot< void(const Glib::RefPtr< Gio::DBus::Connection > &, Glib::ustring)> |
| For example, void on_name_acquired(const Glib::RefPtr<Gio::DBus::Connection>& connection,
const Glib::ustring& name);.
|
|
using | SlotNameLost = sigc::slot< void(const Glib::RefPtr< Gio::DBus::Connection > &, Glib::ustring)> |
| For example, void on_name_lost(const Glib::RefPtr<Gio::DBus::Connection>& connection,
const Glib::ustring& name);.
|
|
using | SlotNameAppeared = sigc::slot< void(const Glib::RefPtr< Gio::DBus::Connection > &, Glib::ustring, const Glib::ustring &)> |
| For example, void on_name_appeared(const Glib::RefPtr<Gio::DBus::Connection>& connection,
const Glib::ustring& name, const Glib::ustring& name_owner);.
|
|
using | SlotNameVanished = sigc::slot< void(const Glib::RefPtr< Gio::DBus::Connection > &, Glib::ustring)> |
| For example, void on_name_vanished(const Glib::RefPtr<Gio::DBus::Connection>& connection,
const Glib::ustring& name);.
|
|
|
enum class | BusType {
STARTER = -1
,
NONE
,
SYSTEM
,
SESSION
} |
|
enum class | CallFlags {
NONE = 0x0
,
NO_AUTO_START = (1<<0)
,
ALLOW_INTERACTIVE_AUTHORIZATION = (1<<1)
} |
|
enum class | ConnectionFlags {
NONE = 0x0
,
AUTHENTICATION_CLIENT = (1<<0)
,
AUTHENTICATION_SERVER = (1<<1)
,
AUTHENTICATION_ALLOW_ANONYMOUS = (1<<2)
,
MESSAGE_BUS_CONNECTION = (1<<3)
,
DELAY_MESSAGE_PROCESSING = (1<<4)
,
AUTHENTICATION_REQUIRE_SAME_USER = (1<<5)
,
CROSS_NAMESPACE = (1<<6)
} |
|
enum class | SendMessageFlags {
NONE = 0x0
,
PRESERVE_SERIAL = (1<<0)
} |
|
enum class | SignalFlags {
NONE = 0x0
,
NO_MATCH_RULE = (1<<0)
,
MATCH_ARG0_NAMESPACE = (1<<1)
,
MATCH_ARG0_PATH = (1<<2)
} |
|
enum class | SubtreeFlags {
NONE = 0x0
,
DISPATCH_TO_UNENUMERATED_NODES = (1<<0)
} |
|
enum class | PropertyInfoFlags {
NONE = 0x0
,
READABLE = (1<<0)
,
WRITABLE = (1<<1)
} |
|
enum class | MessageType {
INVALID
,
METHOD_CALL
,
METHOD_RETURN
,
ERROR
,
SIGNAL
} |
|
enum class | MessageFlags {
NONE = 0x0
,
NO_REPLY_EXPECTED = (1<<0)
,
NO_AUTO_START = (1<<1)
,
ALLOW_INTERACTIVE_AUTHORIZATION = (1<<2)
} |
|
enum class | MessageHeaderField {
INVALID
,
PATH
,
INTERFACE
,
MEMBER
,
ERROR_NAME
,
REPLY_SERIAL
,
DESTINATION
,
SENDER
,
SIGNATURE
,
NUM_UNIX_FDS
} |
|
enum class | CapabilityFlags {
NONE = 0x0
,
UNIX_FD_PASSING = (1<<0)
} |
|
enum class | BusNameOwnerFlags {
NONE = 0x0
,
ALLOW_REPLACEMENT = (1<<0)
,
REPLACE = (1<<1)
,
DO_NOT_QUEUE = (1<<2)
} |
|
enum class | ProxyFlags {
NONE = 0x0
,
DO_NOT_LOAD_PROPERTIES = (1<<0)
,
DO_NOT_CONNECT_SIGNALS = (1<<1)
,
DO_NOT_AUTO_START = (1<<2)
,
GET_INVALIDATED_PROPERTIES = (1<<3)
,
DO_NOT_AUTO_START_AT_CONSTRUCTION = (1<<4)
,
NO_MATCH_RULE = (1<<5)
} |
|
enum class | BusNameWatcherFlags {
NONE = 0x0
,
AUTO_START = (1<<0)
} |
|
|
CallFlags | operator| (CallFlags lhs, CallFlags rhs) |
|
CallFlags | operator& (CallFlags lhs, CallFlags rhs) |
|
CallFlags | operator^ (CallFlags lhs, CallFlags rhs) |
|
CallFlags | operator~ (CallFlags flags) |
|
CallFlags & | operator|= (CallFlags &lhs, CallFlags rhs) |
|
CallFlags & | operator&= (CallFlags &lhs, CallFlags rhs) |
|
CallFlags & | operator^= (CallFlags &lhs, CallFlags rhs) |
|
ConnectionFlags | operator| (ConnectionFlags lhs, ConnectionFlags rhs) |
|
ConnectionFlags | operator& (ConnectionFlags lhs, ConnectionFlags rhs) |
|
ConnectionFlags | operator^ (ConnectionFlags lhs, ConnectionFlags rhs) |
|
ConnectionFlags | operator~ (ConnectionFlags flags) |
|
ConnectionFlags & | operator|= (ConnectionFlags &lhs, ConnectionFlags rhs) |
|
ConnectionFlags & | operator&= (ConnectionFlags &lhs, ConnectionFlags rhs) |
|
ConnectionFlags & | operator^= (ConnectionFlags &lhs, ConnectionFlags rhs) |
|
SendMessageFlags | operator| (SendMessageFlags lhs, SendMessageFlags rhs) |
|
SendMessageFlags | operator& (SendMessageFlags lhs, SendMessageFlags rhs) |
|
SendMessageFlags | operator^ (SendMessageFlags lhs, SendMessageFlags rhs) |
|
SendMessageFlags | operator~ (SendMessageFlags flags) |
|
SendMessageFlags & | operator|= (SendMessageFlags &lhs, SendMessageFlags rhs) |
|
SendMessageFlags & | operator&= (SendMessageFlags &lhs, SendMessageFlags rhs) |
|
SendMessageFlags & | operator^= (SendMessageFlags &lhs, SendMessageFlags rhs) |
|
SignalFlags | operator| (SignalFlags lhs, SignalFlags rhs) |
|
SignalFlags | operator& (SignalFlags lhs, SignalFlags rhs) |
|
SignalFlags | operator^ (SignalFlags lhs, SignalFlags rhs) |
|
SignalFlags | operator~ (SignalFlags flags) |
|
SignalFlags & | operator|= (SignalFlags &lhs, SignalFlags rhs) |
|
SignalFlags & | operator&= (SignalFlags &lhs, SignalFlags rhs) |
|
SignalFlags & | operator^= (SignalFlags &lhs, SignalFlags rhs) |
|
SubtreeFlags | operator| (SubtreeFlags lhs, SubtreeFlags rhs) |
|
SubtreeFlags | operator& (SubtreeFlags lhs, SubtreeFlags rhs) |
|
SubtreeFlags | operator^ (SubtreeFlags lhs, SubtreeFlags rhs) |
|
SubtreeFlags | operator~ (SubtreeFlags flags) |
|
SubtreeFlags & | operator|= (SubtreeFlags &lhs, SubtreeFlags rhs) |
|
SubtreeFlags & | operator&= (SubtreeFlags &lhs, SubtreeFlags rhs) |
|
SubtreeFlags & | operator^= (SubtreeFlags &lhs, SubtreeFlags rhs) |
|
InterfaceSkeleton::Flags | operator| (InterfaceSkeleton::Flags lhs, InterfaceSkeleton::Flags rhs) |
|
InterfaceSkeleton::Flags | operator& (InterfaceSkeleton::Flags lhs, InterfaceSkeleton::Flags rhs) |
|
InterfaceSkeleton::Flags | operator^ (InterfaceSkeleton::Flags lhs, InterfaceSkeleton::Flags rhs) |
|
InterfaceSkeleton::Flags | operator~ (InterfaceSkeleton::Flags flags) |
|
InterfaceSkeleton::Flags & | operator|= (InterfaceSkeleton::Flags &lhs, InterfaceSkeleton::Flags rhs) |
|
InterfaceSkeleton::Flags & | operator&= (InterfaceSkeleton::Flags &lhs, InterfaceSkeleton::Flags rhs) |
|
InterfaceSkeleton::Flags & | operator^= (InterfaceSkeleton::Flags &lhs, InterfaceSkeleton::Flags rhs) |
|
PropertyInfoFlags | operator| (PropertyInfoFlags lhs, PropertyInfoFlags rhs) |
|
PropertyInfoFlags | operator& (PropertyInfoFlags lhs, PropertyInfoFlags rhs) |
|
PropertyInfoFlags | operator^ (PropertyInfoFlags lhs, PropertyInfoFlags rhs) |
|
PropertyInfoFlags | operator~ (PropertyInfoFlags flags) |
|
PropertyInfoFlags & | operator|= (PropertyInfoFlags &lhs, PropertyInfoFlags rhs) |
|
PropertyInfoFlags & | operator&= (PropertyInfoFlags &lhs, PropertyInfoFlags rhs) |
|
PropertyInfoFlags & | operator^= (PropertyInfoFlags &lhs, PropertyInfoFlags rhs) |
|
MessageFlags | operator| (MessageFlags lhs, MessageFlags rhs) |
|
MessageFlags | operator& (MessageFlags lhs, MessageFlags rhs) |
|
MessageFlags | operator^ (MessageFlags lhs, MessageFlags rhs) |
|
MessageFlags | operator~ (MessageFlags flags) |
|
MessageFlags & | operator|= (MessageFlags &lhs, MessageFlags rhs) |
|
MessageFlags & | operator&= (MessageFlags &lhs, MessageFlags rhs) |
|
MessageFlags & | operator^= (MessageFlags &lhs, MessageFlags rhs) |
|
CapabilityFlags | operator| (CapabilityFlags lhs, CapabilityFlags rhs) |
|
CapabilityFlags | operator& (CapabilityFlags lhs, CapabilityFlags rhs) |
|
CapabilityFlags | operator^ (CapabilityFlags lhs, CapabilityFlags rhs) |
|
CapabilityFlags | operator~ (CapabilityFlags flags) |
|
CapabilityFlags & | operator|= (CapabilityFlags &lhs, CapabilityFlags rhs) |
|
CapabilityFlags & | operator&= (CapabilityFlags &lhs, CapabilityFlags rhs) |
|
CapabilityFlags & | operator^= (CapabilityFlags &lhs, CapabilityFlags rhs) |
|
ObjectManagerClient::Flags | operator| (ObjectManagerClient::Flags lhs, ObjectManagerClient::Flags rhs) |
|
ObjectManagerClient::Flags | operator& (ObjectManagerClient::Flags lhs, ObjectManagerClient::Flags rhs) |
|
ObjectManagerClient::Flags | operator^ (ObjectManagerClient::Flags lhs, ObjectManagerClient::Flags rhs) |
|
ObjectManagerClient::Flags | operator~ (ObjectManagerClient::Flags flags) |
|
ObjectManagerClient::Flags & | operator|= (ObjectManagerClient::Flags &lhs, ObjectManagerClient::Flags rhs) |
|
ObjectManagerClient::Flags & | operator&= (ObjectManagerClient::Flags &lhs, ObjectManagerClient::Flags rhs) |
|
ObjectManagerClient::Flags & | operator^= (ObjectManagerClient::Flags &lhs, ObjectManagerClient::Flags rhs) |
|
BusNameOwnerFlags | operator| (BusNameOwnerFlags lhs, BusNameOwnerFlags rhs) |
|
BusNameOwnerFlags | operator& (BusNameOwnerFlags lhs, BusNameOwnerFlags rhs) |
|
BusNameOwnerFlags | operator^ (BusNameOwnerFlags lhs, BusNameOwnerFlags rhs) |
|
BusNameOwnerFlags | operator~ (BusNameOwnerFlags flags) |
|
BusNameOwnerFlags & | operator|= (BusNameOwnerFlags &lhs, BusNameOwnerFlags rhs) |
|
BusNameOwnerFlags & | operator&= (BusNameOwnerFlags &lhs, BusNameOwnerFlags rhs) |
|
BusNameOwnerFlags & | operator^= (BusNameOwnerFlags &lhs, BusNameOwnerFlags rhs) |
|
guint | own_name (BusType bus_type, const Glib::ustring & name, const SlotBusAcquired &bus_acquired_slot={}, const SlotNameAcquired &name_acquired_slot={}, const SlotNameLost &name_lost_slot={}, BusNameOwnerFlags flags=Gio::DBus::BusNameOwnerFlags::NONE) |
| Starts acquiring name on the bus specified by bus_type and calls name_acquired_slot and name_lost_slot when the name is acquired respectively lost.
|
|
void | unown_name (guint owner_id) |
| Stops owning a name.
|
|
ProxyFlags | operator| (ProxyFlags lhs, ProxyFlags rhs) |
|
ProxyFlags | operator& (ProxyFlags lhs, ProxyFlags rhs) |
|
ProxyFlags | operator^ (ProxyFlags lhs, ProxyFlags rhs) |
|
ProxyFlags | operator~ (ProxyFlags flags) |
|
ProxyFlags & | operator|= (ProxyFlags &lhs, ProxyFlags rhs) |
|
ProxyFlags & | operator&= (ProxyFlags &lhs, ProxyFlags rhs) |
|
ProxyFlags & | operator^= (ProxyFlags &lhs, ProxyFlags rhs) |
|
Server::Flags | operator| (Server::Flags lhs, Server::Flags rhs) |
|
Server::Flags | operator& (Server::Flags lhs, Server::Flags rhs) |
|
Server::Flags | operator^ (Server::Flags lhs, Server::Flags rhs) |
|
Server::Flags | operator~ (Server::Flags flags) |
|
Server::Flags & | operator|= (Server::Flags &lhs, Server::Flags rhs) |
|
Server::Flags & | operator&= (Server::Flags &lhs, Server::Flags rhs) |
|
Server::Flags & | operator^= (Server::Flags &lhs, Server::Flags rhs) |
|
std::string | generate_guid () |
| Generate a D-Bus GUID that can be used with e.g.
|
|
bool | is_guid (const std::string &string) |
| Checks if string is a D-Bus GUID.
|
|
bool | is_name (const Glib::ustring &string) |
| Checks if string is a valid D-Bus bus name (either unique or well-known).
|
|
bool | is_unique_name (const Glib::ustring &string) |
| Checks if string is a valid D-Bus unique bus name.
|
|
bool | is_member_name (const Glib::ustring &string) |
| Checks if string is a valid D-Bus member (e.g.
|
|
bool | is_interface_name (const Glib::ustring &string) |
| Checks if string is a valid D-Bus interface name.
|
|
BusNameWatcherFlags | operator| (BusNameWatcherFlags lhs, BusNameWatcherFlags rhs) |
|
BusNameWatcherFlags | operator& (BusNameWatcherFlags lhs, BusNameWatcherFlags rhs) |
|
BusNameWatcherFlags | operator^ (BusNameWatcherFlags lhs, BusNameWatcherFlags rhs) |
|
BusNameWatcherFlags | operator~ (BusNameWatcherFlags flags) |
|
BusNameWatcherFlags & | operator|= (BusNameWatcherFlags &lhs, BusNameWatcherFlags rhs) |
|
BusNameWatcherFlags & | operator&= (BusNameWatcherFlags &lhs, BusNameWatcherFlags rhs) |
|
BusNameWatcherFlags & | operator^= (BusNameWatcherFlags &lhs, BusNameWatcherFlags rhs) |
|
guint | watch_name (BusType bus_type, const Glib::ustring & name, const SlotNameAppeared &name_appeared_slot={}, const SlotNameVanished &name_vanished_slot={}, BusNameWatcherFlags flags=Gio::DBus::BusNameWatcherFlags::NONE) |
| Starts watching name on the bus specified by bus_type and calls name_appeared_slot and name_vanished_slot when the name is known to have a owner respectively known to lose its owner.
|
|
guint | watch_name (const Glib::RefPtr< Connection > &connection, const Glib::ustring & name, const SlotNameAppeared &name_appeared_slot={}, const SlotNameVanished &name_vanished_slot={}, BusNameWatcherFlags flags=Gio::DBus::BusNameWatcherFlags::NONE) |
| A watch_name() function that takes a Connection instead of a BusType.
|
|
void | unwatch_name (guint watcher_id) |
| Stops watching a name.
|
|