MyKPvm Class Reference

[Kpvm-Demo Index] [Kpvm-Demo Hierarchy] [Headers]


myKPvm is an Example for the main pvm-object More...

#include <kpvm_demo.h>

Inherits: KPvm (Kpvm)

Public Members

Protected Members

Private Members

Private Slots


Detailed Description

It inherits from KPvm and implements the constructor and a handle for receiving data


MyKPvm(KPvm *parent=0, const char *name=0) [public]

is the Constructor of MyKPvm and is the so-called main-routine where SLOT/SIGNAL-connections for handling sent/received data are installed.

Here you may also distinct between beeing a parent or a child.

void closeEvent( QCloseEvent *) [protected]

catches the closeEvent (CTRL-C, SIGTERM, window close etc...)

QMultiLineEdit *output[private]

is the main output window where all text is written to

void childHandleReceivedData(QString className, QList<VarTuple> objState , int msgId, KPvmEntity *entity) [private slot]

is a possible SLOT for a dataReceived-Signal.

It checks className to rebuild the class locally.

Parameters:
objState is the object state of the sent class, which has to be restored
msgId is the used msgId given to @ref #send
entity is the sender object from where the data comes
className contains the MyKPvm::Persist child which was sent.

  • Author: Michael Kropfberger <michael.kropfberger@gmx.net>
  • Documentation generated by mike@kermit on Mon Jun 29 21:57:14 MEST 1998
Kdoc