/usr/include/ossim/parallel/ossimImageMpiSWriterSequenceConnection.h is in libossim-dev 2.2.2-1.
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 | //*******************************************************************
// Copyright (C) 2000 ImageLinks Inc.
//
// License: MIT
//
// See LICENSE.txt file in the top level directory for more details.
//
// Author: Garrett Potts
//
//*******************************************************************
// $Id: ossimImageMpiSWriterSequenceConnection.h 9094 2006-06-13 19:12:40Z dburken $
#ifndef ossimImageMpiSWriterSequenceConnection_HEADER
#define ossimImageMpiSWriterSequenceConnection_HEADER
#include <ossim/imaging/ossimImageSourceSequencer.h>
class ossimImageData;
class ossimImageMpiSWriterSequenceConnection : public ossimImageSourceSequencer
{
public:
ossimImageMpiSWriterSequenceConnection(ossimObject* owner=NULL,
long numberOfTilesToBuffer = 2);
ossimImageMpiSWriterSequenceConnection(ossimImageSource* inputSource,
ossimObject* owner=NULL,
long numberOfTilesToBuffer = 2);
virtual ~ossimImageMpiSWriterSequenceConnection();
virtual bool isMaster()const
{
return false;
}
virtual void initialize();
virtual void setToStartOfSequence();
/*!
* Will allow you to get the next tile in the sequence.
*/
virtual ossimRefPtr<ossimImageData> getNextTile(ossim_uint32 resLevel=0);
virtual void slaveProcessTiles();
protected:
int theNumberOfProcessors;
int theRank;
int theNumberOfTilesToBuffer;
ossimRefPtr<ossimImageData>* theOutputTile;
void deleteOutputTiles();
TYPE_DATA
};
#endif
|