API Documentation
Loading...
Searching...
No Matches
LocalApplicationLauncher Class Reference

#include <LocalApplicationLauncher.h>

Collaboration diagram for LocalApplicationLauncher:
[legend]

Public Member Functions

 LocalApplicationLauncher (const File &path)
 
virtual ~LocalApplicationLauncher ()
 
Buffer< uint08findWindowIDs ()
 
bool applicationFileExists () const
 
void bringToFront ()
 
void killProcess ()
 
virtual void execute ()
 
bool isRunning ()
 

Static Public Member Functions

static void CallApplication (const String &application, const String &args=String(), bool wait_for_completion=true, bool windowless=false, ProgressInfo *log=nullptr)
 

Public Attributes

File application
 
String args
 
String environment
 
ProgressInfolog = nullptr
 
bool windowless = false
 
bool wait_for_completion = true
 
bool make_child_process = false
 
std::function< void()> on_complete_function
 

Protected Attributes

void * m_process_handle = nullptr
 
uint08 m_process_id = Constant<uint08>::NaN
 
bool m_is_running = false
 

Constructor & Destructor Documentation

◆ LocalApplicationLauncher()

LocalApplicationLauncher ( const File & path)

◆ ~LocalApplicationLauncher()

Member Function Documentation

◆ applicationFileExists()

bool applicationFileExists ( ) const

◆ bringToFront()

void bringToFront ( )

◆ CallApplication()

void CallApplication ( const String & application,
const String & args = String(),
bool wait_for_completion = true,
bool windowless = false,
ProgressInfo * log = nullptr )
static

◆ execute()

void execute ( )
virtual

◆ findWindowIDs()

Buffer< uint08 > findWindowIDs ( )

◆ isRunning()

bool isRunning ( )

◆ killProcess()

void killProcess ( )

Member Data Documentation

◆ application

File application

◆ args

String args

◆ environment

String environment

◆ log

ProgressInfo* log = nullptr

◆ m_is_running

bool m_is_running = false
protected

◆ m_process_handle

void* m_process_handle = nullptr
protected

◆ m_process_id

uint08 m_process_id = Constant<uint08>::NaN
protected

◆ make_child_process

bool make_child_process = false

◆ on_complete_function

std::function<void()> on_complete_function

◆ wait_for_completion

bool wait_for_completion = true

◆ windowless

bool windowless = false

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