AJA NTV2 SDK  18.0.0.2122
NTV2 SDK 18.0.0.2122
process.cpp
Go to the documentation of this file.
1 /* SPDX-License-Identifier: MIT */
8 // include the system dependent implementation class
9 
10 #if defined(AJA_WINDOWS)
12 #elif defined(AJA_MAC)
14 #elif defined(AJA_LINUX)
16 #elif defined(AJA_BAREMETAL)
18 #endif
19 
20 #include "process.h"
21 
23 {
24  mpImpl = new AJAProcessImpl();
25 }
26 
28 {
29  if(mpImpl)
30  delete mpImpl;
31  mpImpl = NULL;
32 }
33 
34 uint64_t
36 {
37  return AJAProcessImpl::GetPid();
38 }
39 
40 bool
41 AJAProcess::IsValid(uint64_t pid)
42 {
43  return AJAProcessImpl::IsValid(pid);
44 }
45 
46 bool
47 AJAProcess::Activate(uint64_t handle)
48 {
49  return AJAProcessImpl::Activate(handle);
50 }
51 
52 bool
53 AJAProcess::Activate(const char* pWindow)
54 {
55  return AJAProcessImpl::Activate(pWindow);
56 }
#define NULL
AJAProcess()
Definition: process.cpp:22
static uint64_t GetPid()
Definition: process.cpp:35
Declares the AJAProcessImpl class.
Declares the AJAProcessImpl class.
virtual ~AJAProcess()
Definition: process.cpp:27
static bool IsValid(uint64_t pid)
Definition: processimpl.cpp:34
Declares the AJAProcess class.
static bool Activate(uint64_t handle)
Definition: process.cpp:47
Declares the AJAProcessImpl class.
static bool Activate(uint64_t handle)
Definition: processimpl.cpp:43
static uint64_t GetPid()
Definition: processimpl.cpp:28
static bool IsValid(uint64_t pid)
Definition: process.cpp:41