HDK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
UT_UniversalLogStdStreamSource.h
Go to the documentation of this file.
1
/*
2
* PROPRIETARY INFORMATION. This software is proprietary to
3
* Side Effects Software Inc., and is not to be reproduced,
4
* transmitted, or disclosed in any way without written permission.
5
*
6
* NAME: UT_UniversalLogStdStreamSource.h ( FS Library, C++)
7
*
8
* COMMENTS:
9
*
10
*/
11
12
#ifndef __UT_UniversalLogStdStreamSource__
13
#define __UT_UniversalLogStdStreamSource__
14
15
#include "
UT_API.h
"
16
#include "
UT_UniversalLogSource.h
"
17
#include "
UT_UniversalLogStreamHelper.h
"
18
#include "
UT_UniquePtr.h
"
19
20
/// A log source for collecting data printed to stdout or stderr. Dedicated
21
/// subclasses for these two cases just override the display name, and
22
/// construct the base class with a flag indicating if the source is stdout
23
/// or stderr.
24
class
UT_API
UT_UniversalLogStdStreamSource
:
public
UT_UniversalLogSource
25
{
26
protected
:
27
UT_UniversalLogStdStreamSource
(
bool
is_stdout);
28
~
UT_UniversalLogStdStreamSource
()
override
;
29
30
private
:
31
UT_UniversalLogStreamHelper
myHelper;
32
bool
myIsStdout;
33
};
34
35
class
UT_API
UT_UniversalLogStdOutSource
:
public
UT_UniversalLogStdStreamSource
36
{
37
public
:
38
UT_UniversalLogStdOutSource
();
39
~
UT_UniversalLogStdOutSource
()
override
;
40
41
static
const
UT_StringHolder
&staticName();
42
43
};
44
45
class
UT_API
UT_UniversalLogStdErrSource
:
public
UT_UniversalLogStdStreamSource
46
{
47
public
:
48
UT_UniversalLogStdErrSource
();
49
~
UT_UniversalLogStdErrSource
()
override
;
50
51
static
const
UT_StringHolder
&staticName();
52
};
53
54
class
UT_API
UT_UniversalLogSpamSource
:
public
UT_UniversalLogSource
55
{
56
public
:
57
UT_UniversalLogSpamSource
();
58
~
UT_UniversalLogSpamSource
()
override
;
59
60
static
const
UT_StringHolder
&staticName();
61
};
62
63
64
#endif
65
UT_UniversalLogStdErrSource
Definition:
UT_UniversalLogStdStreamSource.h:45
UT_UniversalLogSource.h
UT_API.h
UT_API
#define UT_API
Definition:
UT_API.h:14
UT_StringHolder
Definition:
UT_StringHolder.h:999
UT_UniversalLogStreamHelper
Definition:
UT_UniversalLogStreamHelper.h:24
UT_UniversalLogSource
Definition:
UT_UniversalLogSource.h:61
UT_UniversalLogStreamHelper.h
UT_UniquePtr.h
UT_UniversalLogStdOutSource
Definition:
UT_UniversalLogStdStreamSource.h:35
UT_UniversalLogSpamSource
Definition:
UT_UniversalLogStdStreamSource.h:54
UT_UniversalLogStdStreamSource
Definition:
UT_UniversalLogStdStreamSource.h:24
UT
UT_UniversalLogStdStreamSource.h
Generated on Sun Nov 17 2024 03:03:57 for HDK by
1.8.6