/usr/include/ossim/parallel/ossimMpiMasterOverviewSequencer.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 61 62 63 64 65 66 67 68 69 70 71 72 73 | //----------------------------------------------------------------------------
//
// License: See top level LICENSE.txt file.
//
// Author: David Burken
//
// Description: Class definition for mpi master sequencer for building
// overview files.
//
//----------------------------------------------------------------------------
// $Id: ossimMpiMasterOverviewSequencer.h 10152 2006-12-30 20:54:39Z dburken $
#ifndef ossimMpiMasterOverviewSequencer_HEADER
#define ossimMpiMasterOverviewSequencer_HEADER
#include <ossim/imaging/ossimOverviewSequencer.h>
#include <ossim/base/ossimConstants.h>
#include <ossim/base/ossimRefPtr.h>
#include <ossim/imaging/ossimImageData.h>
/**
* @class MPI master sequencer for building overview files.
*/
class OSSIM_DLL ossimMpiMasterOverviewSequencer : public ossimOverviewSequencer
{
public:
/** default constructor */
ossimMpiMasterOverviewSequencer();
/** virtual destructor */
virtual ~ossimMpiMasterOverviewSequencer();
/**
* This must be called. We can only initialize this
* object completely if we know all connections
* are valid. Some other object drives this and so the
* connection's initialize will be called after. The job
* of this connection is to set up the sequence. It will
* default to the bounding rect. The area of interest can be
* set to some other rectagle (use setAreaOfInterest).
*/
virtual void initialize();
/**
* @brief Will set the internal pointers to the upperleft
* tile number. To go to the next tile in the sequence
* just call getNextTile.
*/
virtual void setToStartOfSequence();
/**
* Will allow you to get the next tile in the sequence.
* Note the last tile returned will be an invalid
* ossimRefPtr<ossimImageData>. Callers should be able to do:
*
* ossimRefPtr<ossimImageData> id = sequencer->getNextTile();
* while (id.valid())
* {
* doSomething;
* id = sequencer->getNextTile();
* }
*
*/
virtual ossimRefPtr<ossimImageData> getNextTile();
protected:
int theRank;
int theNumberOfProcessors;
};
#endif /* #ifndef ossimMpiMasterOverviewSequencer_HEADER */
|