8#include "Arp/System/Commons/Runtime/ProcessConfiguration.hpp"
10namespace Arp {
namespace System {
namespace Ve
15namespace Arp {
namespace System {
namespace Commons {
namespace Runtime
47 Arp::System::Ve::IProcessService* pProcessService;
This class represents the Arp String. The implementation is based on std::string.
Definition: String.hpp:39
This class contains all information of the process configuration.
Definition: ProcessConfiguration.hpp:15
High level API to create and manage a processes.
Definition: Process.hpp:20
static String GetCurrentFileName(void)
Returns the full qualified filename of the executable of the current process.
Definition: Process.cpp:111
void Kill(void)
Posts a kill request to this process.
Definition: Process.cpp:91
void Start(const String &workingDirectory, const String &path, const String &commandLineArgs="")
Starts a new separate process.
Definition: Process.cpp:54
static void SetupCurrentProcess(int core=-1)
Definition: Process.cpp:104
static int32 GetCurrentProcessId(void)
Gets the ID of the current process.
Definition: Process.cpp:118
bool HasExited(void) const
Checks if the process has terminated.
Definition: Process.cpp:98
~Process(void)
Destructs this instance and frees all resouces.
Definition: Process.cpp:45
void StartDaemon(const String &workingDirectory, const String &path, const String &commandLineArgs="")
Starts a new separate process as a daemon
Definition: Process.cpp:85
Process & operator=(const Process &arg)=delete
Assignment operator.
void DetermineCurrentProcess(void)
Determines the information for the current process.
Definition: Process.cpp:124
Process(const Process &arg)=delete
Copy contructor.
Process(void)
Constructs an Process instance.
Definition: Process.cpp:32
int StartBlocking(const String &workingDirectory, const String &path, const String &commandLineArgs, int &exitStatus)
Starts a new separate process. And waits until the child process exits
Definition: Process.cpp:75
int32 GetId(void) const
Retrieves ID of the process
Definition: Process.cpp:133
std::int32_t int32
The Arp integer type of 4 byte size.
Definition: PrimitiveTypes.hpp:35
Root namespace for the PLCnext API