sdbus-c++ 2.1.0
High-level C++ D-Bus library based on systemd D-Bus implementation
Loading...
Searching...
No Matches
sdbus::Properties_proxy Class Referenceabstract

Public Member Functions

sdbus::Variant Get (const InterfaceName &interfaceName, const PropertyName &propertyName)
 
sdbus::Variant Get (std::string_view interfaceName, std::string_view propertyName)
 
template<typename _Function >
PendingAsyncCall GetAsync (const InterfaceName &interfaceName, const PropertyName &propertyName, _Function &&callback)
 
template<typename _Function >
Slot GetAsync (const InterfaceName &interfaceName, const PropertyName &propertyName, _Function &&callback, return_slot_t)
 
template<typename _Function >
PendingAsyncCall GetAsync (std::string_view interfaceName, std::string_view propertyName, _Function &&callback)
 
template<typename _Function >
Slot GetAsync (std::string_view interfaceName, std::string_view propertyName, _Function &&callback, return_slot_t)
 
std::future< sdbus::VariantGetAsync (const InterfaceName &interfaceName, const PropertyName &propertyName, with_future_t)
 
std::future< sdbus::VariantGetAsync (std::string_view interfaceName, std::string_view propertyName, with_future_t)
 
void Set (const InterfaceName &interfaceName, const PropertyName &propertyName, const sdbus::Variant &value)
 
void Set (std::string_view interfaceName, const std::string_view propertyName, const sdbus::Variant &value)
 
void Set (const InterfaceName &interfaceName, const PropertyName &propertyName, const sdbus::Variant &value, dont_expect_reply_t)
 
void Set (std::string_view interfaceName, const std::string_view propertyName, const sdbus::Variant &value, dont_expect_reply_t)
 
template<typename _Function >
PendingAsyncCall SetAsync (const InterfaceName &interfaceName, const PropertyName &propertyName, const sdbus::Variant &value, _Function &&callback)
 
template<typename _Function >
PendingAsyncCall SetAsync (const InterfaceName &interfaceName, const PropertyName &propertyName, const sdbus::Variant &value, _Function &&callback, return_slot_t)
 
template<typename _Function >
PendingAsyncCall SetAsync (std::string_view interfaceName, std::string_view propertyName, const sdbus::Variant &value, _Function &&callback)
 
template<typename _Function >
PendingAsyncCall SetAsync (std::string_view interfaceName, std::string_view propertyName, const sdbus::Variant &value, _Function &&callback, return_slot_t)
 
std::future< void > SetAsync (const InterfaceName &interfaceName, const PropertyName &propertyName, const sdbus::Variant &value, with_future_t)
 
std::future< void > SetAsync (std::string_view interfaceName, std::string_view propertyName, const sdbus::Variant &value, with_future_t)
 
std::map< PropertyName, sdbus::VariantGetAll (const InterfaceName &interfaceName)
 
std::map< PropertyName, sdbus::VariantGetAll (std::string_view interfaceName)
 
template<typename _Function >
PendingAsyncCall GetAllAsync (const InterfaceName &interfaceName, _Function &&callback)
 
template<typename _Function >
PendingAsyncCall GetAllAsync (const InterfaceName &interfaceName, _Function &&callback, return_slot_t)
 
template<typename _Function >
PendingAsyncCall GetAllAsync (std::string_view interfaceName, _Function &&callback)
 
template<typename _Function >
PendingAsyncCall GetAllAsync (std::string_view interfaceName, _Function &&callback, return_slot_t)
 
std::future< std::map< PropertyName, sdbus::Variant > > GetAllAsync (const InterfaceName &interfaceName, with_future_t)
 
std::future< std::map< PropertyName, sdbus::Variant > > GetAllAsync (std::string_view interfaceName, with_future_t)
 

Protected Member Functions

 Properties_proxy (sdbus::IProxy &proxy)
 
 Properties_proxy (const Properties_proxy &)=delete
 
Properties_proxyoperator= (const Properties_proxy &)=delete
 
 Properties_proxy (Properties_proxy &&)=delete
 
Properties_proxyoperator= (Properties_proxy &&)=delete
 
void registerProxy ()
 
virtual void onPropertiesChanged (const InterfaceName &interfaceName, const std::map< PropertyName, sdbus::Variant > &changedProperties, const std::vector< PropertyName > &invalidatedProperties)=0
 

The documentation for this class was generated from the following file: