sdbus-c++ 1.1.0
High-level C++ D-Bus library based on systemd D-Bus implementation
|
#include <string>
#include <memory>
#include <chrono>
#include <cstdint>
#include <optional>
Go to the source code of this file.
Classes | |
class | sdbus::IConnection |
struct | sdbus::IConnection::PollData |
Functions | |
std::unique_ptr< sdbus::IConnection > | sdbus::createConnection () |
Creates/opens D-Bus system connection. More... | |
std::unique_ptr< sdbus::IConnection > | sdbus::createConnection (const std::string &name) |
Creates/opens D-Bus system connection with a name. More... | |
std::unique_ptr< sdbus::IConnection > | sdbus::createDefaultBusConnection () |
Creates/opens D-Bus user connection when in a user context, and a system connection, otherwise. More... | |
std::unique_ptr< sdbus::IConnection > | sdbus::createDefaultBusConnection (const std::string &name) |
Creates/opens D-Bus user connection with a name when in a user context, and a system connection with a name, otherwise. More... | |
std::unique_ptr< sdbus::IConnection > | sdbus::createSystemBusConnection () |
Creates/opens D-Bus system connection. More... | |
std::unique_ptr< sdbus::IConnection > | sdbus::createSystemBusConnection (const std::string &name) |
Creates/opens D-Bus system connection with a name. More... | |
std::unique_ptr< sdbus::IConnection > | sdbus::createSessionBusConnection () |
Creates/opens D-Bus session connection. More... | |
std::unique_ptr< sdbus::IConnection > | sdbus::createSessionBusConnection (const std::string &name) |
Creates/opens D-Bus session connection with a name. More... | |
std::unique_ptr< sdbus::IConnection > | sdbus::createRemoteSystemBusConnection (const std::string &host) |
Creates/opens D-Bus system connection on a remote host using ssh. More... | |
(C) 2016 - 2017 KISTLER INSTRUMENTE AG, Winterthur, Switzerland (C) 2016 - 2019 Stanislav Angelovic angel.nosp@m.ovic.nosp@m..s@gm.nosp@m.ail..nosp@m.com
Created on: Nov 8, 2016 Project: sdbus-c++ Description: High-level D-Bus IPC C++ library based on sd-bus
This file is part of sdbus-c++.
sdbus-c++ is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 2.1 of the License, or (at your option) any later version.
sdbus-c++ is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with sdbus-c++. If not, see http://www.gnu.org/licenses/.
std::unique_ptr< sdbus::IConnection > sdbus::createConnection | ( | ) |
Creates/opens D-Bus system connection.
sdbus::Error | in case of failure |
std::unique_ptr< sdbus::IConnection > sdbus::createConnection | ( | const std::string & | name | ) |
Creates/opens D-Bus system connection with a name.
[in] | name | Name to request on the connection after its opening |
sdbus::Error | in case of failure |
std::unique_ptr< sdbus::IConnection > sdbus::createDefaultBusConnection | ( | ) |
Creates/opens D-Bus user connection when in a user context, and a system connection, otherwise.
sdbus::Error | in case of failure |
std::unique_ptr< sdbus::IConnection > sdbus::createDefaultBusConnection | ( | const std::string & | name | ) |
Creates/opens D-Bus user connection with a name when in a user context, and a system connection with a name, otherwise.
[in] | name | Name to request on the connection after its opening |
sdbus::Error | in case of failure |
std::unique_ptr< sdbus::IConnection > sdbus::createRemoteSystemBusConnection | ( | const std::string & | host | ) |
Creates/opens D-Bus system connection on a remote host using ssh.
[in] | host | Name of the host to connect |
sdbus::Error | in case of failure |
std::unique_ptr< sdbus::IConnection > sdbus::createSessionBusConnection | ( | ) |
Creates/opens D-Bus session connection.
sdbus::Error | in case of failure |
std::unique_ptr< sdbus::IConnection > sdbus::createSessionBusConnection | ( | const std::string & | name | ) |
Creates/opens D-Bus session connection with a name.
[in] | name | Name to request on the connection after its opening |
sdbus::Error | in case of failure |
std::unique_ptr< sdbus::IConnection > sdbus::createSystemBusConnection | ( | ) |
Creates/opens D-Bus system connection.
sdbus::Error | in case of failure |
std::unique_ptr< sdbus::IConnection > sdbus::createSystemBusConnection | ( | const std::string & | name | ) |
Creates/opens D-Bus system connection with a name.
[in] | name | Name to request on the connection after its opening |
sdbus::Error | in case of failure |