AJA NTV2 SDK  17.0.1.1246
NTV2 SDK 17.0.1.1246
AJAProcess Class Reference

#include <process.h>

Public Member Functions

 AJAProcess ()
 
virtual ~AJAProcess ()
 

Static Public Member Functions

static uint64_t GetPid ()
 
static bool IsValid (uint64_t pid)
 
static bool Activate (uint64_t handle)
 
static bool Activate (const char *pWindow)
 

Detailed Description

Collection of system independent process related functions.

Definition at line 19 of file process.h.

Constructor & Destructor Documentation

◆ AJAProcess()

AJAProcess::AJAProcess ( )

Definition at line 22 of file process.cpp.

◆ ~AJAProcess()

AJAProcess::~AJAProcess ( )
virtual

Definition at line 27 of file process.cpp.

Member Function Documentation

◆ Activate() [1/2]

bool AJAProcess::Activate ( const char *  pWindow)
static

Activate the main window associated with the given handle, alternate form.

Parameters
[in]pWindowNULL terminated character string representing the window caption. Pass * at the front to find having the tail of their titles matching, i.e. "* - AJA ControlPanel"
Returns
true if the given window was activated, false if it couln't be found.

Definition at line 53 of file process.cpp.

◆ Activate() [2/2]

bool AJAProcess::Activate ( uint64_t  handle)
static

Activate the main window associated with the given handle.

Parameters
[in]handleAn OS-dependent window handle (HWND on Windows)
Returns
true if the given window was activated, false if it couln't be found.

Definition at line 47 of file process.cpp.

◆ GetPid()

uint64_t AJAProcess::GetPid ( )
static

Get the Process ID of the current running process

Returns
The process ID of the current process, expressed as a 64 bit unsigned integer

Definition at line 35 of file process.cpp.

◆ IsValid()

bool AJAProcess::IsValid ( uint64_t  pid)
static

Determine whether the given pid represents a currently running, valid process.

Parameters
[in]pidThe process ID of the process in question.
Returns
true if the given process is valid, otherwise false.

Definition at line 41 of file process.cpp.


The documentation for this class was generated from the following files: