DBus::PropertyProxy< T_type > Class Template Reference

Represents a remote DBus property. More...

#include <propertyproxy.h>

Inheritance diagram for DBus::PropertyProxy< T_type >:

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...
 
InterfaceProxyinterface_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 ()
 

Detailed Description

template<typename T_type>
class DBus::PropertyProxy< T_type >

Represents a remote DBus property.

Properties can be Read, Write, or Readonly.

Constructor & Destructor Documentation

◆ PropertyProxy()

template<typename T_type >
DBus::PropertyProxy< T_type >::PropertyProxy ( std::string  name,
PropertyUpdateType  update 
)
inlineprivate

Member Function Documentation

◆ create()

template<typename T_type >
static std::shared_ptr<PropertyProxy<T_type> > DBus::PropertyProxy< T_type >::create ( std::string  name,
PropertyUpdateType  update 
)
inlinestatic

◆ parentUpdated()

template<typename T_type >
void DBus::PropertyProxy< T_type >::parentUpdated ( Variant  v)
inlineprivate

◆ set_value()

template<typename T_type >
void DBus::PropertyProxy< T_type >::set_value ( T_type  t)
inline

◆ signal_property_changed()

template<typename T_type >
sigc::signal<void(T_type)> DBus::PropertyProxy< T_type >::signal_property_changed ( )
inline

◆ value()

template<typename T_type >
T_type DBus::PropertyProxy< T_type >::value ( )
inline

Member Data Documentation

◆ m_signal_changed

template<typename T_type >
sigc::signal<void(T_type)> DBus::PropertyProxy< T_type >::m_signal_changed
private

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