AJA NTV2 SDK  17.1.3.1410
NTV2 SDK 17.1.3.1410
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 }
processimpl.h
Declares the AJAProcessImpl class.
processimpl.h
Declares the AJAProcessImpl class.
AJAProcessImpl::GetPid
static uint64_t GetPid()
Definition: processimpl.cpp:28
NULL
#define NULL
Definition: ntv2caption608types.h:19
AJAProcessImpl::Activate
static bool Activate(uint64_t handle)
Definition: processimpl.cpp:43
process.h
Declares the AJAProcess class.
AJAProcess::GetPid
static uint64_t GetPid()
Definition: process.cpp:35
processimpl.h
Declares the AJAProcessImpl class.
AJAProcess::Activate
static bool Activate(uint64_t handle)
Definition: process.cpp:47
AJAProcessImpl::IsValid
static bool IsValid(uint64_t pid)
Definition: processimpl.cpp:34
AJAProcess::IsValid
static bool IsValid(uint64_t pid)
Definition: process.cpp:41
processimpl.h
AJAProcess::~AJAProcess
virtual ~AJAProcess()
Definition: process.cpp:27
AJAProcess::AJAProcess
AJAProcess()
Definition: process.cpp:22
AJAProcessImpl
Definition: processimpl.h:16