Represents a remote DBus property. More...
#include <propertyproxy.h>
Public Member Functions | |
sigc::signal< void(T_type)> | signal_property_changed () |
void | set_value (T_type t) |
T_type | value () |
Public Member Functions inherited from DBus::PropertyProxyBase | |
std::string | name () const |
Get the name of this propery. More... | |
Variant | variant_value () |
Get the value of this property as a Variant. More... | |
PropertyUpdateType | update_type () const |
sigc::signal< void(Variant)> | signal_generic_property_changed () |
This signal is emitted whenever the property changes. More... | |
void | set_value (Variant value) |
Set the value of this property. More... | |
InterfaceProxy * | interface_name () const |
Static Public Member Functions | |
static std::shared_ptr< PropertyProxy< T_type > > | create (std::string name, PropertyUpdateType update) |
Private Member Functions | |
PropertyProxy (std::string name, PropertyUpdateType update) | |
void | parentUpdated (Variant v) |
Private Attributes | |
sigc::signal< void(T_type)> | m_signal_changed |
Additional Inherited Members | |
Protected Member Functions inherited from DBus::PropertyProxyBase | |
PropertyProxyBase (std::string name, PropertyUpdateType update) | |
~PropertyProxyBase () | |
Represents a remote DBus property.
Properties can be Read, Write, or Readonly.
|
inlineprivate |
|
inlinestatic |
References DBus::PropertyProxyBase::name().
Referenced by DBus::InterfaceProxy::create_property().
|
inlineprivate |
References DBus::PropertyProxy< T_type >::m_signal_changed.
Referenced by DBus::PropertyProxy< T_type >::PropertyProxy().
|
inline |
References DBus::PropertyProxyBase::set_value().
|
inline |
References DBus::PropertyProxy< T_type >::m_signal_changed.
|
inline |
References DBus::PropertyProxyBase::variant_value().
|
private |