AJA NTV2 SDK
17.1.3.1410
NTV2 SDK 17.1.3.1410
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 )
37
return
true
;
38
else
39
return
false
;
40
}
41
42
bool
43
AJAProcessImpl::Activate
(uint64_t handle)
44
{
45
AJA_UNUSED
(handle);
46
47
// Dummy placeholder
48
return
false
;
49
}
50
51
bool
52
AJAProcessImpl::Activate
(
const
char
* pWindow)
53
{
54
AJA_UNUSED
(pWindow);
55
56
// Dummy placeholder
57
return
false
;
58
}
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
bm
processimpl.cpp
Generated on Tue Dec 3 2024 10:25:59 for AJA NTV2 SDK by
1.8.17