Status objects

All TPO++ receive methods of the communicator classes return an object of type TPO::Status which provides additional information about the message received. Status objects can be queried about the actual senders rank, the message tag, possible errors and the number of bytes contained in the message.

class TPO::Status {
  int  count()   const; // return the number of bytes received
  Rank source() const;  // source rank of the message
  Tag  tag() const;     // tag of the message
  int  error() const;   // error code of the message
};



Patrick Heckeler 2007-05-31