class PvmEmptyStruct: public PvmStruct

An empty derivation of PvmStruct.

Inheritance:

PvmEmptyStruct - PvmStruct


Public Methods

[more] PvmEmptyStruct (PvmStructId Id)
constructs an instance of PvmEmptyStruct with Id as the PvmStructId.


Documentation

An empty derivation of PvmStruct.

Sometimes you only want to transmit a message without data, e.g. a command to end the receiver. Then it would be to much overhead (both for programming and for compiling) to define a new class for all those messages. As a solution this class is defined. You simply have to make instances of this class, constructed with the corresponding PvmStructId (It still has to be unique, see vmStruct). As an example see the following:

      PvmEmptyStruct Begin (BeginId);
      PvmEmptyStruct End (EndId);
 
      PvmTask Task;
      Begin.Receive (Task);
      End.Send (Task);
    
o PvmEmptyStruct(PvmStructId Id)
constructs an instance of PvmEmptyStruct with Id as the PvmStructId.


This class has no child classes.

Alphabetic index Hierarchy of classes



This page was generated with the help of DOC++.