OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
ossimProcessProgressEvent.h
Go to the documentation of this file.
1 //----------------------------------------------------------------------------
2 // Copyright (C) 2000 ImageLinks Inc.
3 //
4 // License: MIT
5 //
6 // See LICENSE.txt file in the top level directory for more details.
7 //
8 // Author: Garrett Potts
9 //
10 // Description: Event for process progress.
11 //
12 // $Id: ossimProcessProgressEvent.h 9094 2006-06-13 19:12:40Z dburken $
13 //----------------------------------------------------------------------------
14 #ifndef ossimProcessProgressEvent_HEADER
15 #define ossimProcessProgressEvent_HEADER
16 
17 #include <ossim/base/ossimEvent.h>
18 #include <ossim/base/ossimString.h>
19 
21 {
22 public:
24  double percentComplete=0.0,
25  const ossimString message="",
26  bool outputMessageFlag=false);
27 
28  virtual ossimObject* dup()const;
29 
30  double getPercentComplete()const;
31 
32  ossimString getMessage()const;
33 
34  void getMessage(ossimString& message)const;
35 
36  void setPercentComplete(double percentComplete);
37 
38  void setMessage(const ossimString& message);
39 
40  void setOutputMessageFlag(bool flag);
41 
42  bool getOutputMessageFlag() const;
43 
44 protected:
48 
50 };
51 #endif
#define OSSIMDLLEXPORT
#define TYPE_DATA
Definition: ossimRtti.h:339
virtual ossimObject * dup() const
Definition: ossimObject.cpp:29