2021-10-14 15:54:44 +02:00
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* This file was automatically generated by sdbus-c++-xml2cpp; DO NOT EDIT!
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#ifndef __sdbuscpp__examplemanager_planet1_client_glue_h__proxy__H__
|
|
|
|
|
#define __sdbuscpp__examplemanager_planet1_client_glue_h__proxy__H__
|
|
|
|
|
|
|
|
|
|
#include <sdbus-c++/sdbus-c++.h>
|
|
|
|
|
#include <string>
|
|
|
|
|
#include <tuple>
|
|
|
|
|
|
|
|
|
|
namespace org {
|
|
|
|
|
namespace sdbuscpp {
|
|
|
|
|
namespace ExampleManager {
|
|
|
|
|
|
|
|
|
|
class Planet1_proxy
|
|
|
|
|
{
|
|
|
|
|
public:
|
2024-04-16 22:28:42 +02:00
|
|
|
static constexpr const char* INTERFACE_NAME = "org.sdbuscpp.ExampleManager.Planet1";
|
2021-10-14 15:54:44 +02:00
|
|
|
|
|
|
|
|
protected:
|
|
|
|
|
Planet1_proxy(sdbus::IProxy& proxy)
|
2024-04-19 21:36:45 +02:00
|
|
|
: m_proxy(proxy)
|
2021-10-14 15:54:44 +02:00
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
2023-12-30 18:57:10 +01:00
|
|
|
Planet1_proxy(const Planet1_proxy&) = delete;
|
|
|
|
|
Planet1_proxy& operator=(const Planet1_proxy&) = delete;
|
2024-04-19 21:36:45 +02:00
|
|
|
Planet1_proxy(Planet1_proxy&&) = delete;
|
|
|
|
|
Planet1_proxy& operator=(Planet1_proxy&&) = delete;
|
2023-12-30 18:57:10 +01:00
|
|
|
|
2021-10-14 15:54:44 +02:00
|
|
|
~Planet1_proxy() = default;
|
|
|
|
|
|
2023-12-30 18:57:10 +01:00
|
|
|
void registerProxy()
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
2021-10-14 15:54:44 +02:00
|
|
|
public:
|
|
|
|
|
uint64_t GetPopulation()
|
|
|
|
|
{
|
|
|
|
|
uint64_t result;
|
2024-04-19 21:36:45 +02:00
|
|
|
m_proxy.callMethod("GetPopulation").onInterface(INTERFACE_NAME).storeResultsTo(result);
|
2021-10-14 15:54:44 +02:00
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
std::string Name()
|
|
|
|
|
{
|
2024-04-19 21:36:45 +02:00
|
|
|
return m_proxy.getProperty("Name").onInterface(INTERFACE_NAME).get<std::string>();
|
2021-10-14 15:54:44 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private:
|
2024-04-19 21:36:45 +02:00
|
|
|
sdbus::IProxy& m_proxy;
|
2021-10-14 15:54:44 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
}}} // namespaces
|
|
|
|
|
|
|
|
|
|
#endif
|