This file is indexed.

/usr/include/ossim/base/ossimProcessInterface.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
74
75
76
77
78
79
80
81
82
83
84
85
86
//*******************************************************************
// Copyright (C) 2000 ImageLinks Inc. 
//
// License:  See top level LICENSE.txt file.
//
// Author: Garrett Potts
//
//*************************************************************************
// $Id: ossimProcessInterface.h 14789 2009-06-29 16:48:14Z dburken $
#ifndef ossimProcessInterface_HEADER
#define ossimProcessInterface_HEADER
#include <iosfwd>
#include <ossim/base/ossimRtti.h>
#include <ossim/base/ossimString.h>
#include <ossim/base/ossimProcessProgressEvent.h>
#include <ossim/base/ossimListenerManager.h>

class ossimObject;
class ossimListenerManager;

class OSSIMDLLEXPORT ossimProcessInterface
{
public:

   enum ossimProcessStatus
   {
      PROCESS_STATUS_UNKNOWN       = 0,
      PROCESS_STATUS_EXECUTING     = 1,
      PROCESS_STATUS_ABORTED       = 2,
      PROCESS_STATUS_ABORT_REQUEST = 3,
      PROCESS_STATUS_NOT_EXECUTING = 4
   };
   
   ossimProcessInterface();
   
   virtual ~ossimProcessInterface();
   
   virtual ossimObject* getObject()=0;
   virtual const ossimObject* getObject()const=0;
   virtual bool execute()=0;
   
   virtual void abort();

   bool needsAborting()const;

   bool isAbortRequested()const;

   bool isAborted()const;

   bool isExecuting()const;

   ossimProcessStatus getProcessStatus()const;

   virtual void setProcessStatus(ossimProcessStatus processStatus);

   virtual double getPercentComplete()const;

   virtual void setPercentComplete(double percentComplete);

   virtual ossimListenerManager* getManager();

   void enableEvents();
   
   void disableEvents();

   void setCurrentMessage(const ossimString& message);

   /*!
    *  Called by friend operator<< function, derived classes should override
    *  if something different is desired.
    */
   virtual std::ostream& print(std::ostream& out) const;
   
   friend std::ostream& operator<<(std::ostream& out,
                                   const ossimProcessInterface& data);
   
protected:
   double              thePercentComplete;
   ossimProcessStatus  theProcessStatus;
   ossimString         theMessage;
   bool                theEventFlag;

TYPE_DATA
};

#endif