forked from Kistler-Group/sdbus-cpp
44 lines
856 B
C++
44 lines
856 B
C++
|
|
/*
|
|
* This file was automatically generated by sdbus-c++-xml2cpp; DO NOT EDIT!
|
|
*/
|
|
|
|
#ifndef __sdbuscpp__celsius_thermometer_proxy_h__proxy__H__
|
|
#define __sdbuscpp__celsius_thermometer_proxy_h__proxy__H__
|
|
|
|
#include <sdbus-c++/sdbus-c++.h>
|
|
#include <string>
|
|
#include <tuple>
|
|
|
|
namespace org {
|
|
namespace sdbuscpp {
|
|
namespace stresstests {
|
|
namespace celsius {
|
|
|
|
class thermometer_proxy
|
|
{
|
|
public:
|
|
static constexpr const char* interfaceName = "org.sdbuscpp.stresstests.celsius.thermometer";
|
|
|
|
protected:
|
|
thermometer_proxy(sdbus::IProxy& proxy)
|
|
: proxy_(proxy)
|
|
{
|
|
}
|
|
|
|
public:
|
|
uint32_t getCurrentTemperature()
|
|
{
|
|
uint32_t result;
|
|
proxy_.callMethod("getCurrentTemperature").onInterface(interfaceName).storeResultsTo(result);
|
|
return result;
|
|
}
|
|
|
|
private:
|
|
sdbus::IProxy& proxy_;
|
|
};
|
|
|
|
}}}} // namespaces
|
|
|
|
#endif
|