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
HOM_logging_LogEntry.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
* COMMENTS:
7
*/
8
9
#ifndef __HOM_logging_LogEntry_h__
10
#define __HOM_logging_LogEntry_h__
11
12
#include "
HOM_API.h
"
13
#include "
HOM_Defines.h
"
14
#include "
HOM_Module.h
"
15
#include <
UT/UT_UniversalLogSource.h
>
16
17
SWIGOUT
(%
rename
(_logging_LogEntry)
HOM_logging_LogEntry
;)
18
19
class
HOM_API
HOM_logging_LogEntry
20
{
21
public
:
22
SWIGOUT
(%
ignore
HOM_logging_LogEntry
(
const
UT_UniversalLogEntry
&);)
23
HOM_logging_LogEntry
(
const
UT_UniversalLogEntry
&log_entry)
24
: myLogEntry(log_entry)
25
{
HOM_CONSTRUCT_OBJECT
(
this
) }
26
27
SWIGOUT
(%kwargs
HOM_logging_LogEntry
;)
28
HOM_logging_LogEntry
(
const
char
*
message
=
nullptr
,
29
const
char
*
source
=
nullptr
,
30
const
char
*source_context =
nullptr
,
31
HOM_EnumValue
*
severity
=
nullptr
,
32
int
verbosity = 0,
33
double
time
= 0.0,
34
int
thread_id
= 0,
35
bool
has_external_info =
false
,
36
const
char
*external_host_name =
nullptr
,
37
const
char
*external_identifier =
nullptr
,
38
const
char
*external_command_line =
nullptr
,
39
int
external_process_id = 0);
40
41
virtual
~HOM_logging_LogEntry
()
42
{
HOM_DESTRUCT_OBJECT
(
this
) }
43
44
int
__hash__
();
45
std::string
__repr__
()
const
;
46
47
std::string
source
()
const
;
48
std::string
sourceContext()
const
;
49
std::string
message
()
const
;
50
HOM_EnumValue
*
severity
()
const
;
51
int
verbosity()
const
;
52
double
time
()
const
;
53
int
threadId()
const
;
54
55
bool
hasExternalInfo()
const
;
56
std::string
externalHostName()
const
;
57
std::string
externalIdentifier()
const
;
58
std::string
externalCommandLine()
const
;
59
int
externalProcessId()
const
;
60
61
void
*
_asVoidPointer
()
62
{
return
&myLogEntry; }
63
64
SWIGOUT
(%
ignore
myLogEntry;)
65
UT_UniversalLogEntry
myLogEntry;
66
};
67
68
#endif
message
GLuint GLsizei const GLchar * message
Definition:
glcorearb.h:2543
HOM_DESTRUCT_OBJECT
#define HOM_DESTRUCT_OBJECT(pointer)
Definition:
HOM_Module.h:1303
UT_UniversalLogSource.h
HOM_Module.h
GT_Names::time
GT_API const UT_StringHolder time
string
GLsizei const GLchar *const * string
Definition:
glcorearb.h:814
SWIGOUT
#define SWIGOUT(x)
Definition:
HOM_Defines.h:24
Vt_WrapArray::__repr__
string __repr__(VtArray< T > const &self)
Definition:
wrapArray.h:349
HOM_logging_LogEntry::~HOM_logging_LogEntry
virtual ~HOM_logging_LogEntry()
Definition:
HOM_logging_LogEntry.h:41
HOM_API.h
HOM_API
#define HOM_API
Definition:
HOM_API.h:13
VULKAN_HPP_NAMESPACE::ignore
void ignore(T const &) VULKAN_HPP_NOEXCEPT
Definition:
vulkan.hpp:6508
HOM_logging_LogEntry::HOM_logging_LogEntry
HOM_logging_LogEntry(const UT_UniversalLogEntry &log_entry)
Definition:
HOM_logging_LogEntry.h:23
HOM_CONSTRUCT_OBJECT
#define HOM_CONSTRUCT_OBJECT(pointer)
Definition:
HOM_Module.h:1302
source
GLsizei GLsizei GLchar * source
Definition:
glcorearb.h:803
HOM_Defines.h
severity
GLenum GLenum severity
Definition:
glcorearb.h:2539
Filesystem::rename
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)
HOM_Prim::__hash__
virtual int __hash__()=0
HOM_logging_LogEntry::_asVoidPointer
void * _asVoidPointer()
Definition:
HOM_logging_LogEntry.h:61
HOM_EnumValue
Definition:
HOM_EnumValue.h:23
UT_UniversalLogEntry
Simple object to hold the data associated with a single log entry event.
Definition:
UT_UniversalLogEntry.h:58
thread_id
**Note that the tasks the thread_id
Definition:
thread.h:637
HOM_logging_LogEntry
Definition:
HOM_logging_LogEntry.h:19
HOM
HOM_logging_LogEntry.h
Generated on Sat Dec 21 2024 02:46:49 for HDK by
1.8.6