AJA NTV2 SDK
17.6.0.1688
NTV2 SDK 17.6.0.1688
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Functions
a
b
c
e
f
g
h
i
j
k
l
m
o
p
r
s
t
u
v
w
Variables
Typedefs
a
b
c
d
e
f
g
h
i
j
k
m
n
o
p
r
s
t
u
v
Enumerations
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Typedefs
_
a
b
c
d
e
f
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Enumerations
Enumerator
b
c
e
g
k
n
r
v
Related Functions
:
a
b
c
d
j
o
s
w
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
y
Variables
_
a
b
c
e
f
g
h
i
k
l
m
n
p
r
s
t
u
v
w
Typedefs
_
a
b
c
d
f
h
i
j
l
m
n
o
p
q
r
s
t
u
w
Enumerations
_
a
b
c
d
e
f
h
i
j
k
m
n
p
q
r
s
t
u
v
x
Enumerator
a
b
c
d
e
f
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
processimpl.cpp
Go to the documentation of this file.
1
/* SPDX-License-Identifier: MIT */
8
#include <sys/types.h>
9
#include <signal.h>
10
#include <unistd.h>
11
12
#include "
ajabase/system/linux/processimpl.h
"
13
#include "
ajabase/common/timer.h
"
14
15
16
// class AJAProcessImpl
17
18
AJAProcessImpl::AJAProcessImpl
()
19
{
20
}
21
22
23
AJAProcessImpl::~AJAProcessImpl
()
24
{
25
}
26
27
uint64_t
28
AJAProcessImpl::GetPid
()
29
{
30
return
getpid();
31
}
32
33
bool
34
AJAProcessImpl::IsValid
(uint64_t pid)
35
{
36
if
((kill(pid, 0) != 0) && (errno == ESRCH))
37
return
false
;
38
return
true
;
39
}
40
41
bool
42
AJAProcessImpl::Activate
(uint64_t handle)
43
{
44
AJA_UNUSED
(handle);
45
46
// Dummy placeholder
47
return
false
;
48
}
49
50
bool
51
AJAProcessImpl::Activate
(
const
char
* pWindow)
52
{
53
AJA_UNUSED
(pWindow);
54
55
// Dummy placeholder
56
return
false
;
57
}
AJAProcessImpl::GetPid
static uint64_t GetPid()
Definition:
processimpl.cpp:28
AJAProcessImpl::Activate
static bool Activate(uint64_t handle)
Definition:
processimpl.cpp:43
AJA_UNUSED
#define AJA_UNUSED(_x_)
Definition:
types.h:424
timer.h
Declares the AJATimer class.
processimpl.h
Declares the AJAProcessImpl class.
AJAProcessImpl::IsValid
static bool IsValid(uint64_t pid)
Definition:
processimpl.cpp:34
AJAProcessImpl::~AJAProcessImpl
virtual ~AJAProcessImpl()
Definition:
processimpl.cpp:23
AJAProcessImpl::AJAProcessImpl
AJAProcessImpl()
Definition:
processimpl.cpp:18
libajantv2
ajabase
system
linux
processimpl.cpp
Generated on Wed Mar 5 2025 11:06:23 for AJA NTV2 SDK by
1.8.17