/usr/include/ossim/parallel/ossimImageMpiMWriterSequenceConnection.h is in libossim-dev 1.7.21-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 | //*******************************************************************
// Copyright (C) 2000 ImageLinks Inc.
//
// License: LGPL
//
// See LICENSE.txt file in the top level directory for more details.
//
// Author: Garrett Potts
//
// Description:
//
// This class is specific to the Master connection and is optimized
// for the writer sequence and batch processing chain. For the Slave
// implementation look for the ossimImageMpiSWriterSequenceConnection.cc and .h
// files. The Master connection is currently implemented to allways do
// a recieve and does no processing itself. The slave connection does
// all the actual work and processing.
//
//*******************************************************************
// $Id: ossimImageMpiMWriterSequenceConnection.h 9094 2006-06-13 19:12:40Z dburken $
#ifndef ossimImageMpiMWriterSequenceConnection_HEADER
#define ossimImageMpiMWriterSequenceConnection_HEADER
#include <ossim/imaging/ossimImageSourceSequencer.h>
class ossimImageData;
class ossimImageMpiMWriterSequenceConnection : public ossimImageSourceSequencer
{
public:
ossimImageMpiMWriterSequenceConnection(ossimObject* owner=NULL);
ossimImageMpiMWriterSequenceConnection(ossimImageSource* inputSource,
ossimObject* owner=NULL);
virtual ~ossimImageMpiMWriterSequenceConnection();
/*!
* This is a virtual method that can be overriden
* by derived classes (MPI, or PVM or other
* parallel connections. This method is to indicate
* whether or not this connection is the master/
* controlling connection.
*/
virtual void initialize();
virtual void setToStartOfSequence();
virtual bool isMaster()const
{
return true;
}
/*!
* Will allow you to get the next tile in the sequence.
*/
virtual ossimRefPtr<ossimImageData> getNextTile(ossim_uint32 resLevel=0);
protected:
int theNumberOfProcessors;
int theRank;
bool theNeedToSendRequest;
ossimRefPtr<ossimImageData> theOutputTile;
TYPE_DATA
};
#endif
|