DBus.Introspection

dbus-0.10.13: A client library for the D-Bus IPC system.

Safe Haskell | None
Language | Haskell98

DBus.Introspection

Contents

- XML conversion
- Objects
- Interfaces
- Methods
  - Method arguments
- Signals
  - Signal arguments
- Properties

Synopsis

- parseXML :: ObjectPath -> String -> Maybe Object
- formatXML :: Object -> Maybe String
- data Object
- object :: ObjectPath -> Object
- objectPath :: Object -> ObjectPath
- objectInterfaces :: Object -> [Interface]
- objectChildren :: Object -> [Object]
- data Interface
- interface :: InterfaceName -> Interface
- interfaceName :: Interface -> InterfaceName
- interfaceMethods :: Interface -> [Method]
- interfaceSignals :: Interface -> [Signal]
- interfaceProperties :: Interface -> [Property]
- data Method
- method :: MemberName -> Method
- methodName :: Method -> MemberName
- methodArgs :: Method -> [MethodArg]
- data MethodArg
- methodArg :: String -> Type -> Direction -> MethodArg
- methodArgName :: MethodArg -> String
- methodArgType :: MethodArg -> Type
- methodArgDirection :: MethodArg -> Direction
- data Direction
- directionIn :: Direction
- directionOut :: Direction
- data Signal
- signal :: MemberName -> Signal
- signalName :: Signal -> MemberName
- signalArgs :: Signal -> [SignalArg]
- data SignalArg
- signalArg :: String -> Type -> SignalArg
- signalArgName :: SignalArg -> String
- signalArgType :: SignalArg -> Type
- data Property
- property :: String -> Type -> Property
- propertyName :: Property -> String
- propertyType :: Property -> Type
- propertyRead :: Property -> Bool
- propertyWrite :: Property -> Bool

# XML conversion

parseXML :: ObjectPath -> String -> Maybe Object #

formatXML :: Object -> Maybe String #

# Objects

data Object #

Instances

Eq Object # |
Methods (==) :: Object -> Object -> Bool # (/=) :: Object -> Object -> Bool #
Show Object # |
Methods showsPrec :: Int -> Object -> ShowS # show :: Object -> String # showList :: [Object] -> ShowS #

object :: ObjectPath -> Object #

objectPath :: Object -> ObjectPath #

objectInterfaces :: Object -> [Interface] #

objectChildren :: Object -> [Object] #

# Interfaces

data Interface #

Instances

Eq Interface # |
Methods (==) :: Interface -> Interface -> Bool # (/=) :: Interface -> Interface -> Bool #
Show Interface # |
Methods showsPrec :: Int -> Interface -> ShowS # show :: Interface -> String # showList :: [Interface] -> ShowS #

interface :: InterfaceName -> Interface #

interfaceName :: Interface -> InterfaceName #

interfaceMethods :: Interface -> [Method] #

interfaceSignals :: Interface -> [Signal] #

interfaceProperties :: Interface -> [Property] #

# Methods

data Method #

Instances

Eq Method # |
Methods (==) :: Method -> Method -> Bool # (/=) :: Method -> Method -> Bool #
Show Method # |
Methods showsPrec :: Int -> Method -> ShowS # show :: Method -> String # showList :: [Method] -> ShowS #

method :: MemberName -> Method #

methodName :: Method -> MemberName #

methodArgs :: Method -> [MethodArg] #

## Method arguments

data MethodArg #

Instances

Eq MethodArg # |
Methods (==) :: MethodArg -> MethodArg -> Bool # (/=) :: MethodArg -> MethodArg -> Bool #
Show MethodArg # |
Methods showsPrec :: Int -> MethodArg -> ShowS # show :: MethodArg -> String # showList :: [MethodArg] -> ShowS #

methodArg :: String -> Type -> Direction -> MethodArg #

methodArgName :: MethodArg -> String #

methodArgType :: MethodArg -> Type #

methodArgDirection :: MethodArg -> Direction #

data Direction #

Instances

Eq Direction # |
Methods (==) :: Direction -> Direction -> Bool # (/=) :: Direction -> Direction -> Bool #
Show Direction # |
Methods showsPrec :: Int -> Direction -> ShowS # show :: Direction -> String # showList :: [Direction] -> ShowS #

directionIn :: Direction #

directionOut :: Direction #

# Signals

data Signal #

Instances

Eq Signal # |
Methods (==) :: Signal -> Signal -> Bool # (/=) :: Signal -> Signal -> Bool #
Show Signal # |
Methods showsPrec :: Int -> Signal -> ShowS # show :: Signal -> String # showList :: [Signal] -> ShowS #

signal :: MemberName -> Signal #

signalName :: Signal -> MemberName #

signalArgs :: Signal -> [SignalArg] #

## Signal arguments

data SignalArg #

Instances

Eq SignalArg # |
Methods (==) :: SignalArg -> SignalArg -> Bool # (/=) :: SignalArg -> SignalArg -> Bool #
Show SignalArg # |
Methods showsPrec :: Int -> SignalArg -> ShowS # show :: SignalArg -> String # showList :: [SignalArg] -> ShowS #

signalArg :: String -> Type -> SignalArg #

signalArgName :: SignalArg -> String #

signalArgType :: SignalArg -> Type #

# Properties

data Property #

Instances

Eq Property # |
Methods (==) :: Property -> Property -> Bool # (/=) :: Property -> Property -> Bool #
Show Property # |
Methods showsPrec :: Int -> Property -> ShowS # show :: Property -> String # showList :: [Property] -> ShowS #

property :: String -> Type -> Property #

propertyName :: Property -> String #

propertyType :: Property -> Type #

propertyRead :: Property -> Bool #

propertyWrite :: Property -> Bool #