Documentation ¶
Index ¶
- Constants
- func DeleteConn(conn *dbus.Conn)
- type Implementer
- type Object
- func (o *Object) ConnectPropertiesChanged(cb func(interfaceName string, changedProperties map[string]dbus.Variant, ...)) (dbusutil.SignalHandlerId, error)
- func (o *Object) ConnectPropertyChanged_(interfaceName, propName string, callback PropChangedCallback) error
- func (o *Object) ConnectSignal_(rule string, sigRule *dbusutil.SignalRule, cb dbusutil.SignalHandlerFunc) (dbusutil.SignalHandlerId, error)
- func (o *Object) GetProperty_(flags dbus.Flags, interfaceName, propName string, value interface{}) error
- func (o *Object) Go_(method string, flags dbus.Flags, ch chan *dbus.Call, args ...interface{}) *dbus.Call
- func (o *Object) InitSignalExt(sigLoop *dbusutil.SignalLoop, ruleAuto bool)
- func (o *Object) Init_(conn *dbus.Conn, serviceName string, path dbus.ObjectPath)
- func (o *Object) Path_() dbus.ObjectPath
- func (o *Object) RemoveAllHandlers()
- func (o *Object) RemoveHandler(handlerId dbusutil.SignalHandlerId)
- func (o *Object) ServiceName_() string
- func (o *Object) SetProperty_(flags dbus.Flags, interfaceName, propName string, value interface{}) error
- type PropBool
- type PropBoolArray
- type PropByte
- type PropByteArray
- type PropChangedCallback
- type PropDouble
- type PropDoubleArray
- type PropInt16
- type PropInt16Array
- type PropInt32
- type PropInt32Array
- type PropInt64
- type PropInt64Array
- type PropObjectPath
- type PropObjectPathArray
- type PropString
- type PropStringArray
- type PropUint16
- type PropUint16Array
- type PropUint32
- type PropUint32Array
- type PropUint64
- type PropUint64Array
Constants ¶
View Source
const ( RemoveAllHandlers = -1 RemovePropertiesChangedHandler = -2 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Implementer ¶
type Object ¶
type Object struct {
// contains filtered or unexported fields
}
func (*Object) ConnectPropertiesChanged ¶
func (*Object) ConnectPropertyChanged_ ¶
func (o *Object) ConnectPropertyChanged_(interfaceName, propName string, callback PropChangedCallback) error
func (*Object) ConnectSignal_ ¶
func (o *Object) ConnectSignal_(rule string, sigRule *dbusutil.SignalRule, cb dbusutil.SignalHandlerFunc) (dbusutil.SignalHandlerId, error)
func (*Object) GetProperty_ ¶
func (*Object) InitSignalExt ¶
func (o *Object) InitSignalExt(sigLoop *dbusutil.SignalLoop, ruleAuto bool)
func (*Object) RemoveAllHandlers ¶
func (o *Object) RemoveAllHandlers()
func (*Object) RemoveHandler ¶
func (o *Object) RemoveHandler(handlerId dbusutil.SignalHandlerId)
func (*Object) ServiceName_ ¶
func (*Object) SetProperty_ ¶
type PropBool ¶
type PropBool struct { Impl Implementer Name string }
func (PropBool) ConnectChanged ¶
type PropBoolArray ¶
type PropBoolArray struct { Impl Implementer Name string }
func (PropBoolArray) ConnectChanged ¶
func (p PropBoolArray) ConnectChanged(cb func(hasValue bool, value []bool)) error
func (PropBoolArray) Get ¶
func (p PropBoolArray) Get(flags dbus.Flags) (value []bool, err error)
func (PropBoolArray) Set ¶
func (p PropBoolArray) Set(flags dbus.Flags, value []bool) error
type PropByte ¶
type PropByte struct { Impl Implementer Name string }
func (PropByte) ConnectChanged ¶
type PropByteArray ¶
type PropByteArray struct { Impl Implementer Name string }
func (PropByteArray) ConnectChanged ¶
func (p PropByteArray) ConnectChanged(cb func(hasValue bool, value []byte)) error
func (PropByteArray) Get ¶
func (p PropByteArray) Get(flags dbus.Flags) (value []byte, err error)
func (PropByteArray) Set ¶
func (p PropByteArray) Set(flags dbus.Flags, value []byte) error
type PropChangedCallback ¶
type PropChangedCallback func(hasValue bool, value interface{})
type PropDouble ¶
type PropDouble struct { Impl Implementer Name string }
func (PropDouble) ConnectChanged ¶
func (p PropDouble) ConnectChanged(cb func(hasValue bool, value float64)) error
func (PropDouble) Get ¶
func (p PropDouble) Get(flags dbus.Flags) (value float64, err error)
func (PropDouble) Set ¶
func (p PropDouble) Set(flags dbus.Flags, value float64) error
type PropDoubleArray ¶
type PropDoubleArray struct { Impl Implementer Name string }
func (PropDoubleArray) ConnectChanged ¶
func (p PropDoubleArray) ConnectChanged(cb func(hasValue bool, value []float64)) error
func (PropDoubleArray) Get ¶
func (p PropDoubleArray) Get(flags dbus.Flags) (value []float64, err error)
func (PropDoubleArray) Set ¶
func (p PropDoubleArray) Set(flags dbus.Flags, value []float64) error
type PropInt16 ¶
type PropInt16 struct { Impl Implementer Name string }
func (PropInt16) ConnectChanged ¶
type PropInt16Array ¶
type PropInt16Array struct { Impl Implementer Name string }
func (PropInt16Array) ConnectChanged ¶
func (p PropInt16Array) ConnectChanged(cb func(hasValue bool, value []int16)) error
func (PropInt16Array) Get ¶
func (p PropInt16Array) Get(flags dbus.Flags) (value []int16, err error)
func (PropInt16Array) Set ¶
func (p PropInt16Array) Set(flags dbus.Flags, value []int16) error
type PropInt32 ¶
type PropInt32 struct { Impl Implementer Name string }
func (PropInt32) ConnectChanged ¶
type PropInt32Array ¶
type PropInt32Array struct { Impl Implementer Name string }
func (PropInt32Array) ConnectChanged ¶
func (p PropInt32Array) ConnectChanged(cb func(hasValue bool, value []int32)) error
func (PropInt32Array) Get ¶
func (p PropInt32Array) Get(flags dbus.Flags) (value []int32, err error)
func (PropInt32Array) Set ¶
func (p PropInt32Array) Set(flags dbus.Flags, value []int32) error
type PropInt64 ¶
type PropInt64 struct { Impl Implementer Name string }
func (PropInt64) ConnectChanged ¶
type PropInt64Array ¶
type PropInt64Array struct { Impl Implementer Name string }
func (PropInt64Array) ConnectChanged ¶
func (p PropInt64Array) ConnectChanged(cb func(hasValue bool, value []int64)) error
func (PropInt64Array) Get ¶
func (p PropInt64Array) Get(flags dbus.Flags) (value []int64, err error)
func (PropInt64Array) Set ¶
func (p PropInt64Array) Set(flags dbus.Flags, value []int64) error
type PropObjectPath ¶
type PropObjectPath struct { Impl Implementer Name string }
func (PropObjectPath) ConnectChanged ¶
func (p PropObjectPath) ConnectChanged(cb func(hasValue bool, value dbus.ObjectPath)) error
func (PropObjectPath) Get ¶
func (p PropObjectPath) Get(flags dbus.Flags) (value dbus.ObjectPath, err error)
func (PropObjectPath) Set ¶
func (p PropObjectPath) Set(flags dbus.Flags, value dbus.ObjectPath) error
type PropObjectPathArray ¶
type PropObjectPathArray struct { Impl Implementer Name string }
func (PropObjectPathArray) ConnectChanged ¶
func (p PropObjectPathArray) ConnectChanged(cb func(hasValue bool, value []dbus.ObjectPath)) error
func (PropObjectPathArray) Get ¶
func (p PropObjectPathArray) Get(flags dbus.Flags) (value []dbus.ObjectPath, err error)
func (PropObjectPathArray) Set ¶
func (p PropObjectPathArray) Set(flags dbus.Flags, value []dbus.ObjectPath) error
type PropString ¶
type PropString struct { Impl Implementer Name string }
func (PropString) ConnectChanged ¶
func (p PropString) ConnectChanged(cb func(hasValue bool, value string)) error
func (PropString) Get ¶
func (p PropString) Get(flags dbus.Flags) (value string, err error)
func (PropString) Set ¶
func (p PropString) Set(flags dbus.Flags, value string) error
type PropStringArray ¶
type PropStringArray struct { Impl Implementer Name string }
func (PropStringArray) ConnectChanged ¶
func (p PropStringArray) ConnectChanged(cb func(hasValue bool, value []string)) error
func (PropStringArray) Get ¶
func (p PropStringArray) Get(flags dbus.Flags) (value []string, err error)
func (PropStringArray) Set ¶
func (p PropStringArray) Set(flags dbus.Flags, value []string) error
type PropUint16 ¶
type PropUint16 struct { Impl Implementer Name string }
func (PropUint16) ConnectChanged ¶
func (p PropUint16) ConnectChanged(cb func(hasValue bool, value uint16)) error
func (PropUint16) Get ¶
func (p PropUint16) Get(flags dbus.Flags) (value uint16, err error)
func (PropUint16) Set ¶
func (p PropUint16) Set(flags dbus.Flags, value uint16) error
type PropUint16Array ¶
type PropUint16Array struct { Impl Implementer Name string }
func (PropUint16Array) ConnectChanged ¶
func (p PropUint16Array) ConnectChanged(cb func(hasValue bool, value []uint16)) error
func (PropUint16Array) Get ¶
func (p PropUint16Array) Get(flags dbus.Flags) (value []uint16, err error)
func (PropUint16Array) Set ¶
func (p PropUint16Array) Set(flags dbus.Flags, value []uint16) error
type PropUint32 ¶
type PropUint32 struct { Impl Implementer Name string }
func (PropUint32) ConnectChanged ¶
func (p PropUint32) ConnectChanged(cb func(hasValue bool, value uint32)) error
func (PropUint32) Get ¶
func (p PropUint32) Get(flags dbus.Flags) (value uint32, err error)
func (PropUint32) Set ¶
func (p PropUint32) Set(flags dbus.Flags, value uint32) error
type PropUint32Array ¶
type PropUint32Array struct { Impl Implementer Name string }
func (PropUint32Array) ConnectChanged ¶
func (p PropUint32Array) ConnectChanged(cb func(hasValue bool, value []uint32)) error
func (PropUint32Array) Get ¶
func (p PropUint32Array) Get(flags dbus.Flags) (value []uint32, err error)
func (PropUint32Array) Set ¶
func (p PropUint32Array) Set(flags dbus.Flags, value []uint32) error
type PropUint64 ¶
type PropUint64 struct { Impl Implementer Name string }
func (PropUint64) ConnectChanged ¶
func (p PropUint64) ConnectChanged(cb func(hasValue bool, value uint64)) error
func (PropUint64) Get ¶
func (p PropUint64) Get(flags dbus.Flags) (value uint64, err error)
func (PropUint64) Set ¶
func (p PropUint64) Set(flags dbus.Flags, value uint64) error
type PropUint64Array ¶
type PropUint64Array struct { Impl Implementer Name string }
func (PropUint64Array) ConnectChanged ¶
func (p PropUint64Array) ConnectChanged(cb func(hasValue bool, value []uint64)) error
func (PropUint64Array) Get ¶
func (p PropUint64Array) Get(flags dbus.Flags) (value []uint64, err error)
func (PropUint64Array) Set ¶
func (p PropUint64Array) Set(flags dbus.Flags, value []uint64) error
Click to show internal directories.
Click to hide internal directories.