xtd
1.0.0
Toggle main menu visibility
Loading...
Searching...
No Matches
xtd.core
include
xtd
diagnostics
process_priority_class.hpp
Go to the documentation of this file.
1
4
#pragma once
5
#include "
../enum.hpp
"
6
8
namespace
xtd
{
10
namespace
diagnostics
{
26
enum class
process_priority_class
{
28
normal
= 0x20,
30
idle
= 0x40,
32
high
= 0x80,
34
real_time
= 0x100,
36
below_normal
= 0x4000,
38
above_normal
= 0x8000,
39
};
40
}
41
}
42
44
template
<>
struct
xtd::enum_register
<
xtd
::
diagnostics::process_priority_class
> {
45
static
auto
values
()
noexcept
{
return
xtd::enum_collection<xtd::diagnostics::process_priority_class>
{{
xtd::diagnostics::process_priority_class::normal
,
"normal"
}, {
xtd::diagnostics::process_priority_class::idle
,
"idle"
}, {
xtd::diagnostics::process_priority_class::high
,
"high"
}, {
xtd::diagnostics::process_priority_class::real_time
,
"real_time"
}, {
xtd::diagnostics::process_priority_class::below_normal
,
"below_normal"
}, {
xtd::diagnostics::process_priority_class::above_normal
,
"above_normal"
}};}
46
};
enum.hpp
Contains enum_ and enum_ut_ keywords.
xtd::enum_collection
std::vector< std::pair< enum_t, xtd::string > > enum_collection
Represents a pair of an enum_t value and a string of an enum of type enum_t.
Definition
enum_collection.hpp:24
xtd::diagnostics::process_priority_class
process_priority_class
Indicates the priority that the system associates with a process. This value, together with the prior...
Definition
process_priority_class.hpp:26
xtd::diagnostics::process_priority_class::below_normal
@ below_normal
Specifies that the process has priority above Idle but below Normal.
Definition
process_priority_class.hpp:36
xtd::diagnostics::process_priority_class::above_normal
@ above_normal
Specifies that the process has priority higher than Normal but lower than High.
Definition
process_priority_class.hpp:38
xtd::diagnostics::process_priority_class::high
@ high
Specifies that the process performs time-critical tasks that must be executed immediately,...
Definition
process_priority_class.hpp:32
xtd::diagnostics::process_priority_class::real_time
@ real_time
Specifies that the process has the highest possible priority. The threads of a process with RealTime ...
Definition
process_priority_class.hpp:34
xtd::diagnostics::process_priority_class::idle
@ idle
Specifies that the threads of this process run only when the system is idle, such as a screen saver....
Definition
process_priority_class.hpp:30
xtd::diagnostics::process_priority_class::normal
@ normal
Specifies that the process has no special scheduling needs.
Definition
process_priority_class.hpp:28
xtd::diagnostics
The xtd::diagnostics namespace provides classes that allow you to interact with system processes,...
Definition
assert_dialog_result.hpp:10
xtd
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition
abstract_object.hpp:8
xtd::enum_register
Provides the registration struct for enumerations.
Definition
enum_register.hpp:38
xtd::enum_register::values
static auto values() noexcept
Definition
enum_register.hpp:55
Generated on
for xtd by
Gammasoft
. All rights reserved.