QimsysAbstractIpcObject Class Reference

The QimsysAbstractIpcObject class provides facilities for implementing the client and server sides of IPC communications paths. More...

Inheritance diagram for QimsysAbstractIpcObject:

Inheritance graph

List of all members.

Public Types

enum  Type {
  Server,
  Client
}
 Type of instance. More...

Public Member Functions

 QimsysAbstractIpcObject (QObject *parent=0, Type type=Client)
 Constructor.
 ~QimsysAbstractIpcObject ()
 Destructor.
Type type () const
 Object Type.
virtual bool init ()
 Initialize object.
virtual bool hasError () const
 returns if an instance has error.

Protected Member Functions

virtual QimsysAbstractIpcObjectserver () const =0
 returns server instance.
QObject * proxy () const
 Proxy object.


Detailed Description

The QimsysAbstractIpcObject class provides facilities for implementing the client and server sides of IPC communications paths.

This class makes it easier to implement IPC mechanisms in qimsys.

See also:
Implementing ipc object inherits QimsysAbstractIpcObject

Member Enumeration Documentation

Type of instance.

Enumerator:
Server  is used for server instance
Client  is used for client instance


Member Function Documentation

Type QimsysAbstractIpcObject::type (  )  const

void QimsysAbstractIpcObject::init (  )  [virtual]

Initialize object.

Make sure to call init() for every instance.

Reimplemented in QimsysApplicationManager, QimsysCandidates, QimsysKeyManager, and QimsysPreedit.

QimsysAbstractIpcObject * QimsysAbstractIpcObject::server (  )  const [protected, pure virtual]

QObject * QimsysAbstractIpcObject::proxy (  )  const [protected]

Proxy object.

This method returns

  • QObject that server() returns if the server instance is in the same process
  • QDBusInterface if the server instance is out of the process
In both way, subclass can use the object to get/set properties and to connect signals/slots.

See also:
Implementing ipc object inherits QimsysAbstractIpcObject


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

Generated on Mon Nov 8 04:46:07 2010 for qimsys by  doxygen 1.5.6