xtd
1.0.0
Toggle main menu visibility
Loading...
Searching...
No Matches
xtd.core
include
xtd
threading
event_reset_mode.hpp
Go to the documentation of this file.
1
4
#pragma once
5
#include "
../enum_attribute.hpp
"
6
#include "
../enum_collection.hpp
"
7
#include "
../enum_object.hpp
"
8
#include "
../enum_register.hpp
"
9
#include "
../enum_set_attribute.hpp
"
10
12
namespace
xtd
{
14
namespace
threading
{
28
enum class
event_reset_mode
{
30
auto_reset
= 0,
32
manual_reset
= 1,
33
};
34
}
35
}
36
38
template
<>
struct
xtd::enum_register
<
xtd
::
threading::event_reset_mode
> {
39
static
auto
values
()
noexcept
{
return
xtd::enum_collection<xtd::threading::event_reset_mode>
{{
xtd::threading::event_reset_mode::auto_reset
,
"auto_reset"
}, {
xtd::threading::event_reset_mode::manual_reset
,
"manual_reset"
}};}
40
};
enum_attribute.hpp
Contains xtd::enum_attribute enum class.
enum_collection.hpp
Contains xtd::enum_collection.
enum_object.hpp
Contains xtd::enum_object struct.
enum_register.hpp
Contains xtd::enum_register.
enum_set_attribute.hpp
Contains xtd::enum_set_attribute strcut.
xtd::threading::event_reset_mode
event_reset_mode
Indicates whether an xtd::threading::event_wait_handle is reset automatically or manually after recei...
Definition
event_reset_mode.hpp:28
xtd::threading::event_reset_mode::auto_reset
@ auto_reset
When signaled, the xtd::threading::event_wait_handle resets automatically after releasing a single th...
Definition
event_reset_mode.hpp:30
xtd::threading::event_reset_mode::manual_reset
@ manual_reset
When signaled, the xtd::threading::event_wait_handle releases all waiting threads and remains signale...
Definition
event_reset_mode.hpp:32
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::threading
The xtd::threading namespace provides classes and interfaces that enable multithreaded programming....
Definition
abandoned_mutex_exception.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.