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_ChildProcessTracker.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_ChildProcessTracker.h ( UT Library, C++)
7
*
8
* COMMENTS:
9
* For child processes that have an indeterminant exit time (like a
10
* spawned viewer), this class will periodically do a non-blocking wait on
11
* them.
12
*
13
*/
14
#ifndef UT_CHILD_PROCESS_TRACKER_H
15
#define UT_CHILD_PROCESS_TRACKER_H
16
17
#include "
UT_API.h
"
18
#include <
SYS/SYS_Types.h
>
19
20
class
UT_API
UT_ChildProcessTracker
21
{
22
public
:
23
UT_ChildProcessTracker
();
24
virtual
~
UT_ChildProcessTracker
();
25
26
UT_ChildProcessTracker
(
const
UT_ChildProcessTracker
&) =
delete
;
27
UT_ChildProcessTracker
&
operator=
(
const
UT_ChildProcessTracker
&) =
delete
;
28
29
virtual
void
addNewChild(pid_t pid);
30
virtual
bool
pollChildren();
31
32
protected
:
33
int
myNumPIDs
;
34
pid_t *
myPIDs
;
35
};
36
37
UT_API
extern
void
UTsetChildProcessTracker
(
UT_ChildProcessTracker
*);
38
UT_API
extern
UT_ChildProcessTracker
*
UTgetChildProcessTracker
();
39
40
#endif
UT_API.h
UT_API
#define UT_API
Definition:
UT_API.h:14
UT_ChildProcessTracker::myNumPIDs
int myNumPIDs
Definition:
UT_ChildProcessTracker.h:33
UT_ChildProcessTracker
Definition:
UT_ChildProcessTracker.h:20
SYS_Types.h
UTsetChildProcessTracker
UT_API void UTsetChildProcessTracker(UT_ChildProcessTracker *)
nanovdb::operator=
LeafData & operator=(const LeafData &)=delete
UTgetChildProcessTracker
UT_API UT_ChildProcessTracker * UTgetChildProcessTracker()
UT_ChildProcessTracker::myPIDs
pid_t * myPIDs
Definition:
UT_ChildProcessTracker.h:34
UT
UT_ChildProcessTracker.h
Generated on Sun Nov 17 2024 03:03:41 for HDK by
1.8.6