CyberEngineMkIII
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
CYBWin32Process.hpp
Go to the documentation of this file.
1 #pragma once
3 namespace CYB {
4  namespace Platform {
5  namespace System{
6  class Path;
7  namespace Implementation {
9  class Process {
10  protected:
11  Win32::HANDLE FHandle;
12  private:
27  static Win32::HANDLE CreateProcess(const System::Path& APath, const API::String::UTF8& ACommandLine);
28  protected:
34  Process() noexcept;
48  Process(const System::Path& APath, const API::String::UTF8& ACommandLine);
50  Process(const Process&) = delete;
52  Process(Process&& AMove) noexcept;
54  Process& operator=(Process&& AMove) noexcept;
55  };
56  };
57  };
58  };
59 };
A variable length UTF-8 string.
Definition: UTF8String.hpp:8
Contains the Process handle and spawning function.
Process() noexcept
Get's the Process representing the current execution.
static Win32::HANDLE CreateProcess(const System::Path &APath, const API::String::UTF8 &ACommandLine)
Spawn a process with the specified command line.
Win32::HANDLE FHandle
The Process handle.
Adds a UTF16 accompaniment to the UTF8 string of System::Path.
Used for manipulating Paths. Paths will always exist either as a file or directory. Paths are '/' delimited when forming though may not be while retrieving. File names ".." will ascend a directory and '.' represents a no-op.
Definition: CYBPath.hpp:10