OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
ossimNotify.h
Go to the documentation of this file.
1 //-------------------------------------------------------------------
2 // License: See top level LICENSE.txt file.
3 //
4 // Author: Garrett Potts
5 //
6 // Description:
7 //
8 // Contains class declaration for ossimNotify
9 //-------------------------------------------------------------------
10 // $Id: ossimNotify.h 23467 2015-08-14 13:59:09Z gpotts $
11 #ifndef ossimNotify_HEADER
12 #define ossimNotify_HEADER 1
13 
17 #include <iostream>
18 #include <fstream>
19 
25 {
32 };
33 
39 {
51 };
52 
54 
56  ossimNotifyFlags whichLevelsToRedirect=ossimNotifyFlags_ALL);
57 
59 
61 
68 
70 /* OSSIMDLLEXPORT const char* ossimGetLogFilename(); */
72 
73 
78 
83 
84 
89 
90 
94 OSSIMDLLEXPORT void ossimSetError( const char *className,
95  ossim_int32 error,
96  const char *fmtString=0, ...);
97 
104 OSSIMDLLEXPORT void ossimSetInfo( const char *className,
105  const char *fmtString=0, ...);
106 
107 #endif /* #ifndef ossimNotify_HEADER */
OSSIMDLLEXPORT void ossimSetError(const char *className, ossim_int32 error, const char *fmtString=0,...)
OSSIMDLLEXPORT void ossimPushNotifyFlags()
#define OSSIMDLLEXPORT
OSSIMDLLEXPORT void ossimGetLogFilename(ossimFilename &logFile)
Returns the log filename if set.
OSSIMDLLEXPORT void ossimSetInfo(const char *className, const char *fmtString=0,...)
This is for general warnings and information feedback.
OSSIMDLLEXPORT bool ossimIsReportingEnabled()
OSSIMDLLEXPORT void ossimDisableNotify(ossimNotifyFlags notifyLevel=ossimNotifyFlags_ALL)
OSSIMDLLEXPORT void ossimSetNotifyStream(std::ostream *outputStream, ossimNotifyFlags whichLevelsToRedirect=ossimNotifyFlags_ALL)
OSSIMDLLEXPORT void ossimEnableNotify(ossimNotifyFlags notifyLevel=ossimNotifyFlags_ALL)
OSSIMDLLEXPORT std::ostream * ossimGetNotifyStream(ossimNotifyLevel whichLevel)
ossimNotifyLevel
Notification level enumeration.
Definition: ossimNotify.h:24
OSSIMDLLEXPORT void ossimSetDefaultNotifyHandlers()
OSSIMDLLEXPORT void ossimSetNotifyFlag(ossimNotifyFlags notifyFlags)
ossimNotifyFlags
Flags to allow the user to turn off certain notification levels.
Definition: ossimNotify.h:38
OSSIMDLLEXPORT void ossimPopNotifyFlags()
OSSIMDLLEXPORT void ossimSetLogFilename(const ossimFilename &filename)
OSSIMDLLEXPORT std::ostream & ossimNotify(ossimNotifyLevel level=ossimNotifyLevel_WARN)
std::basic_ostream< char > ostream
Base class for char output streams.
Definition: ossimIosFwd.h:23
OSSIMDLLEXPORT ossimNotifyFlags ossimGetNotifyFlags()
int ossim_int32