OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
ossimTraceManager.h
Go to the documentation of this file.
1 //*****************************************************************************
2 // Copyright (C) 2005 Garrett Potts, all rights reserved.
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:
11 // Contains declaration of class ossimTraceManager.
12 //
13 //*****************************************************************************
14 // $Id: ossimTraceManager.h 9094 2006-06-13 19:12:40Z dburken $
15 #ifndef ossimTraceManager_HEADER
16 #define ossimTraceManager_HEADER
17 
18 #include <ossim/base/ossimString.h>
19 
20 class ossimTrace;
21 
23 {
24 public:
28  static ossimTraceManager* instance();
29 
35  void setTracePattern(const ossimString& pattern);
36 
40  void addTrace(ossimTrace* traceObj);
41 
45  void removeTrace(ossimTrace* traceObj);
46 
47 protected:
50 
51 private:
57  void setTraceFlags(bool flag);
58 
61 
64 
66  std::vector<ossimTrace*> theTraceList;
67 };
68 
69 #endif
#define OSSIMDLLEXPORT
std::vector< ossimTrace * > theTraceList
The list of trace objects.
ossimString thePattern
The regular expression pattern like "ossimDynamic|ossimGdal".
static ossimTraceManager * theInstance
The instance of this manager.