Unit msedbusinterface

Description

 

Overview

Classes, Interfaces, Objects and Records

Name Description
Record dynarinfoty  
Record variantarinfoty  
Record variantvaluety  
Record dictentryty  
Class edbus  
Interface idbusclient  
Interface idbusresponse  
Interface idbusobject  
Interface idbusservice  
Record watchinfoty  
Record timeoutinfoty  
Record pendinginfoty  
Record linkinfoty  
Record objinfoty  
Record dbusinfoty  
Record dbusitemty  
Record dbusitemhashdataty  
Class tdbusitemhashdatalist  
Record signaldataty  
Record handlerhandlerdataty  
Record handlermatchdataty  
Record handlerdataty  
Record handlerhashdataty  
Class thandlerhashdatalist  
Class tdbusservice  
Class tdbusobject  

Functions and Procedures

procedure additem(var dest: dbusdatatyarty; const value: dbusdataty);
procedure additem(var dest: variantvaluearty; const value: variantvaluety);
procedure setvariantvalue(const avalue: string; var avariant: variantvaluety; const aflags: variantflagsty = []);
function variantvalue(const avalue: string; const aflags: variantflagsty = []): variantvaluety;
procedure setvariantvalue(const avalue: int32; var avariant: variantvaluety; const aflags: variantflagsty = []);
function variantvalue(const avalue: int32; const aflags: variantflagsty = []): variantvaluety;
procedure setvariantvalue(const avalue: card32; var avariant: variantvaluety; const aflags: variantflagsty = []);
function variantvalue(const avalue: card32; const aflags: variantflagsty = []): variantvaluety;
procedure setvariantvalue(const avaluead: pointer; const atypeinfo: ptypeinfo; var avariant: variantvaluety; const aflags: variantflagsty = []);
function variantvalue(const avaluead: pointer; const atypeinfo: ptypeinfo; const aflags: variantflagsty = []): variantvaluety;
function itemtypeinfo(const dynartypeinfo: ptypeinfo): ptypeinfo;
function dbusdatastring(const atypeinfo: ptypeinfo): string;

Types

dbusdataty = (...);
pdbusdataty = ˆdbusdataty;
dbusdatatyarty = array of dbusdataty;
variantvaluekindty = (...);
pdynarinfoty = ˆdynarinfoty;
variantflagty = (...);
variantflagsty = set of variantflagty;
pvariantvaluety = ˆvariantvaluety;
variantvaluearty = array of variantvaluety;
pdictentryty = ˆdictentryty;
dictentryarty = array of dictentryty;
messageeventty = procedure(const amessage: pdbusmessage; var handled: boolean) of object;
messagedataeventty = procedure(const amessage: pdbusmessage; const data: pointer; var handled: boolean) of object;
pwatchinfoty = ˆwatchinfoty;
ptimeoutinfoty = ˆtimeoutinfoty;
ppendinginfoty = ˆpendinginfoty;
plinkinfoty = ˆlinkinfoty;
pobjinfoty = ˆobjinfoty;
itemkindty = (...);
pdbusinfoty = ˆdbusinfoty;
pdbusitemty = ˆdbusitemty;
pdbusitemhashdataty = ˆdbusitemhashdataty;
handlerkindty = (...);
phandlerhashdataty = ˆhandlerhashdataty;

Constants

msebusname = 'mse.msegui.app';
dbusdatasizes: array[dbusdataty] of int32 = ( 0, sizeof(byte), sizeof(boolean), sizeof(int16), sizeof(card16), sizeof(int32), sizeof(card32), sizeof(int64), sizeof(card64), sizeof(flo64), sizeof(ansistring), sizeof(ansistring), sizeof(ansistring), 0, sizeof(dynarinfoty), 0, 0, sizeof(dictentryty), sizeof(variantvaluety), 0 );
methodhandlerid = strid0;
signalmatchid = strid1;
signalhandlerid = strid1;
separatorid = strid3;
dbusdatacodes: array[dbusdataty] of cint = ( DBUS_TYPE_INVALID, DBUS_TYPE_BYTE, DBUS_TYPE_BOOLEAN, DBUS_TYPE_INT16, DBUS_TYPE_UINT16, DBUS_TYPE_INT32, DBUS_TYPE_UINT32, DBUS_TYPE_INT64, DBUS_TYPE_UINT64, DBUS_TYPE_DOUBLE, DBUS_TYPE_STRING, DBUS_TYPE_OBJECT_PATH, DBUS_TYPE_SIGNATURE, DBUS_TYPE_UNIX_FD, DBUS_TYPE_ARRAY, DBUS_TYPE_VARIANT, DBUS_TYPE_STRUCT, DBUS_TYPE_DICT_ENTRY, -1, -1 );
dbusdatatycodes: array[variantvaluekindty] of cint = ( DBUS_TYPE_INVALID, DBUS_TYPE_STRING, DBUS_TYPE_INT32, DBUS_TYPE_UINT32, DBUS_TYPE_INVALID, DBUS_TYPE_INVALID, DBUS_TYPE_INVALID );
dbusdatastrings: array[dbusdataty] of string = ( DBUS_TYPE_INVALID_AS_STRING, DBUS_TYPE_BYTE_AS_STRING, DBUS_TYPE_BOOLEAN_AS_STRING, DBUS_TYPE_INT16_AS_STRING, DBUS_TYPE_UINT16_AS_STRING, DBUS_TYPE_INT32_AS_STRING, DBUS_TYPE_UINT32_AS_STRING, DBUS_TYPE_INT64_AS_STRING, DBUS_TYPE_UINT64_AS_STRING, DBUS_TYPE_DOUBLE_AS_STRING, DBUS_TYPE_STRING_AS_STRING, DBUS_TYPE_OBJECT_PATH_AS_STRING, DBUS_TYPE_SIGNATURE_AS_STRING, DBUS_TYPE_UNIX_FD_AS_STRING, '', '', '', '{sv}', '', '' );

Variables

arraytypes: array[dbusdataty] of pdynarraytypeinfo;
dbuslasterror: string;

Description

Functions and Procedures

procedure additem(var dest: dbusdatatyarty; const value: dbusdataty);
 
procedure additem(var dest: variantvaluearty; const value: variantvaluety);
 
procedure setvariantvalue(const avalue: string; var avariant: variantvaluety; const aflags: variantflagsty = []);
 
function variantvalue(const avalue: string; const aflags: variantflagsty = []): variantvaluety;
 
procedure setvariantvalue(const avalue: int32; var avariant: variantvaluety; const aflags: variantflagsty = []);
 
function variantvalue(const avalue: int32; const aflags: variantflagsty = []): variantvaluety;
 
procedure setvariantvalue(const avalue: card32; var avariant: variantvaluety; const aflags: variantflagsty = []);
 
function variantvalue(const avalue: card32; const aflags: variantflagsty = []): variantvaluety;
 
procedure setvariantvalue(const avaluead: pointer; const atypeinfo: ptypeinfo; var avariant: variantvaluety; const aflags: variantflagsty = []);
 
function variantvalue(const avaluead: pointer; const atypeinfo: ptypeinfo; const aflags: variantflagsty = []): variantvaluety;
 
function itemtypeinfo(const dynartypeinfo: ptypeinfo): ptypeinfo;
 
function dbusdatastring(const atypeinfo: ptypeinfo): string;
 

Types

dbusdataty = (...);
 
Values
  • dbt_INVALID
  • dbt_BYTE
  • dbt_BOOLEAN
  • dbt_INT16
  • dbt_UINT16
  • dbt_INT32
  • dbt_UINT32
  • dbt_INT64
  • dbt_UINT64
  • dbt_DOUBLE
  • dbt_STRING
  • dbt_OBJECT_PATH
  • dbt_SIGNATURE
  • dbt_UNIX_FD
  • dbt_ARRAY
  • dbt_VARIANT
  • dbt_STRUCT
  • dbt_DICT_ENTRY
  • dbt_msevariant
  • dbt_structend
pdbusdataty = ˆdbusdataty;
 
dbusdatatyarty = array of dbusdataty;
 
variantvaluekindty = (...);
 
Values
  • vvk_none
  • vvk_string
  • vvk_int32
  • vvk_card32
  • vvk_dynar
  • vvk_record
  • vvk_variantar
pdynarinfoty = ˆdynarinfoty;
 
variantflagty = (...);
 
Values
  • vf_var
  • vf_dict
variantflagsty = set of variantflagty;
 
pvariantvaluety = ˆvariantvaluety;
 
variantvaluearty = array of variantvaluety;
 
pdictentryty = ˆdictentryty;
 
dictentryarty = array of dictentryty;
 
messageeventty = procedure(const amessage: pdbusmessage; var handled: boolean) of object;
 
messagedataeventty = procedure(const amessage: pdbusmessage; const data: pointer; var handled: boolean) of object;
 
pwatchinfoty = ˆwatchinfoty;
 
ptimeoutinfoty = ˆtimeoutinfoty;
 
ppendinginfoty = ˆpendinginfoty;
 
plinkinfoty = ˆlinkinfoty;
 
pobjinfoty = ˆobjinfoty;
 
itemkindty = (...);
 
Values
  • dbk_watch
  • dbk_timeout
  • dbk_pending
  • dbk_link
  • dbk_obj
pdbusinfoty = ˆdbusinfoty;
 
pdbusitemty = ˆdbusitemty;
 
pdbusitemhashdataty = ˆdbusitemhashdataty;
 
handlerkindty = (...);
 
Values
  • hk_none
  • hk_match
  • hk_method
  • hk_signal
phandlerhashdataty = ˆhandlerhashdataty;
 

Constants

msebusname = 'mse.msegui.app';
 
dbusdatasizes: array[dbusdataty] of int32 = ( 0, sizeof(byte), sizeof(boolean), sizeof(int16), sizeof(card16), sizeof(int32), sizeof(card32), sizeof(int64), sizeof(card64), sizeof(flo64), sizeof(ansistring), sizeof(ansistring), sizeof(ansistring), 0, sizeof(dynarinfoty), 0, 0, sizeof(dictentryty), sizeof(variantvaluety), 0 );
 
methodhandlerid = strid0;
 
signalmatchid = strid1;
 
signalhandlerid = strid1;
 
separatorid = strid3;
 
dbusdatacodes: array[dbusdataty] of cint = ( DBUS_TYPE_INVALID, DBUS_TYPE_BYTE, DBUS_TYPE_BOOLEAN, DBUS_TYPE_INT16, DBUS_TYPE_UINT16, DBUS_TYPE_INT32, DBUS_TYPE_UINT32, DBUS_TYPE_INT64, DBUS_TYPE_UINT64, DBUS_TYPE_DOUBLE, DBUS_TYPE_STRING, DBUS_TYPE_OBJECT_PATH, DBUS_TYPE_SIGNATURE, DBUS_TYPE_UNIX_FD, DBUS_TYPE_ARRAY, DBUS_TYPE_VARIANT, DBUS_TYPE_STRUCT, DBUS_TYPE_DICT_ENTRY, -1, -1 );
 
dbusdatatycodes: array[variantvaluekindty] of cint = ( DBUS_TYPE_INVALID, DBUS_TYPE_STRING, DBUS_TYPE_INT32, DBUS_TYPE_UINT32, DBUS_TYPE_INVALID, DBUS_TYPE_INVALID, DBUS_TYPE_INVALID );
 
dbusdatastrings: array[dbusdataty] of string = ( DBUS_TYPE_INVALID_AS_STRING, DBUS_TYPE_BYTE_AS_STRING, DBUS_TYPE_BOOLEAN_AS_STRING, DBUS_TYPE_INT16_AS_STRING, DBUS_TYPE_UINT16_AS_STRING, DBUS_TYPE_INT32_AS_STRING, DBUS_TYPE_UINT32_AS_STRING, DBUS_TYPE_INT64_AS_STRING, DBUS_TYPE_UINT64_AS_STRING, DBUS_TYPE_DOUBLE_AS_STRING, DBUS_TYPE_STRING_AS_STRING, DBUS_TYPE_OBJECT_PATH_AS_STRING, DBUS_TYPE_SIGNATURE_AS_STRING, DBUS_TYPE_UNIX_FD_AS_STRING, '', '', '', '{sv}', '', '' );
 

Variables

arraytypes: array[dbusdataty] of pdynarraytypeinfo;
 
dbuslasterror: string;
 

Generated by PasDoc 0.16.0.