/* * 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 #include #include namespace org { namespace sdbuscpp { namespace stresstests { namespace celsius { class thermometer_proxy { public: static constexpr const char* INTERFACE_NAME = "org.sdbuscpp.stresstests.celsius.thermometer"; protected: thermometer_proxy(sdbus::IProxy& proxy) : proxy_(proxy) { } ~thermometer_proxy() = default; public: uint32_t getCurrentTemperature() { uint32_t result; proxy_.callMethod("getCurrentTemperature").onInterface(INTERFACE_NAME).storeResultsTo(result); return result; } private: sdbus::IProxy& proxy_; }; }}}} // namespaces #endif