object_manager

package
v0.0.0-...-77ac5d6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 28, 2023 License: GPL-3.0 Imports: 7 Imported by: 18

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InterfaceObjectManager

type InterfaceObjectManager struct{}

func (*InterfaceObjectManager) ConnectInterfacesAdded

func (v *InterfaceObjectManager) ConnectInterfacesAdded(cb func(object_path dbus.ObjectPath, interfaces_and_properties map[string]map[string]dbus.Variant)) (dbusutil.SignalHandlerId, error)

func (*InterfaceObjectManager) ConnectInterfacesRemoved

func (v *InterfaceObjectManager) ConnectInterfacesRemoved(cb func(object_path dbus.ObjectPath, interfaces []string)) (dbusutil.SignalHandlerId, error)

func (*InterfaceObjectManager) GetInterfaceName_

func (*InterfaceObjectManager) GetInterfaceName_() string

func (*InterfaceObjectManager) GetManagedObjects

func (v *InterfaceObjectManager) GetManagedObjects(flags dbus.Flags) (object_paths_interfaces_and_properties map[dbus.ObjectPath]map[string]map[string]dbus.Variant, err error)

func (*InterfaceObjectManager) GetObject_

func (v *InterfaceObjectManager) GetObject_() *proxy.ImplObject

func (*InterfaceObjectManager) GoGetManagedObjects

func (v *InterfaceObjectManager) GoGetManagedObjects(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call

func (*InterfaceObjectManager) StoreGetManagedObjects

func (*InterfaceObjectManager) StoreGetManagedObjects(call *dbus.Call) (object_paths_interfaces_and_properties map[dbus.ObjectPath]map[string]map[string]dbus.Variant, err error)

type MockInterfaceObjectManager

type MockInterfaceObjectManager struct {
	mock.Mock
}

func (*MockInterfaceObjectManager) ConnectInterfacesAdded

func (v *MockInterfaceObjectManager) ConnectInterfacesAdded(cb func(object_path dbus.ObjectPath, interfaces_and_properties map[string]map[string]dbus.Variant)) (dbusutil.SignalHandlerId, error)

func (*MockInterfaceObjectManager) ConnectInterfacesRemoved

func (v *MockInterfaceObjectManager) ConnectInterfacesRemoved(cb func(object_path dbus.ObjectPath, interfaces []string)) (dbusutil.SignalHandlerId, error)

func (*MockInterfaceObjectManager) GetManagedObjects

func (v *MockInterfaceObjectManager) GetManagedObjects(flags dbus.Flags) (map[dbus.ObjectPath]map[string]map[string]dbus.Variant, error)

type ObjectManager

type ObjectManager interface {
	GetManagedObjects(flags dbus.Flags) (object_paths_interfaces_and_properties map[dbus.ObjectPath]map[string]map[string]dbus.Variant, err error)
	ConnectInterfacesAdded(cb func(object_path dbus.ObjectPath, interfaces_and_properties map[string]map[string]dbus.Variant)) (dbusutil.SignalHandlerId, error)
	ConnectInterfacesRemoved(cb func(object_path dbus.ObjectPath, interfaces []string)) (dbusutil.SignalHandlerId, error)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL