hce-node application
1.4.3
HCE Hierarchical Cluster Engine node application
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
ProcessHandle.hpp
Go to the documentation of this file.
1
14
#ifndef PROCESS_HANDLE_HPP
15
#define PROCESS_HANDLE_HPP
16
17
#include <unistd.h>
18
#include <functional>
19
20
namespace
HCE
21
{
22
//-----------------------------------------------------------------------------
23
class
ProcessHandle
24
{
25
public
:
26
explicit
ProcessHandle
(pid_t pid_) : pid(pid_) {}
27
ProcessHandle
(
const
ProcessHandle
& handle);
28
~ProcessHandle
() {}
29
30
ProcessHandle
&
operator=
(
const
ProcessHandle
& handle);
31
pid_t
id
(
void
)
const
{
return
pid;}
32
int
wait
(
void
)
const
;
33
34
private
:
35
pid_t pid;
36
};
37
//-----------------------------------------------------------------------------
38
//-----------------------------------------------------------------------------
39
}
// end namespace HCE
40
41
#endif // PROCESS_HANDLE_HPP
sources
utils
exec
src
ProcessHandle.hpp
Generated on Tue Jun 30 2015 19:42:13 for hce-node application by
1.8.1.2