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 "
ajabase/system/mac/processimpl.h
"
9
#include "
ajabase/common/timer.h
"
10
#include <signal.h>
11
12
13
// class AJAProcessImpl
14
15
AJAProcessImpl::AJAProcessImpl
()
16
{
17
}
18
19
20
AJAProcessImpl::~AJAProcessImpl
()
21
{
22
}
23
24
uint64_t
25
AJAProcessImpl::GetPid
()
26
{
27
return
getpid();
28
}
29
30
bool
31
AJAProcessImpl::IsValid
(uint64_t pid)
32
{
33
if
(kill(pid_t(pid),0)==0)
34
return
true
;
35
else
36
return
false
;
37
}
38
39
bool
40
AJAProcessImpl::Activate
(
const
char
* pWindow)
41
{
42
AJA_UNUSED
(pWindow);
43
44
//Dummy place holder
45
return
false
;
46
}
47
48
bool
49
AJAProcessImpl::Activate
(uint64_t handle)
50
{
51
AJA_UNUSED
(handle);
52
53
//Dummy place holder
54
return
false
;
55
}
processimpl.h
Declares the AJAProcessImpl class.
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.
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
mac
processimpl.cpp
Generated on Tue Dec 3 2024 10:25:59 for AJA NTV2 SDK by
1.8.17