xtd
1.0.0
Toggle main menu visibility
Loading...
Searching...
No Matches
xtd.core
include
xtd
speech
synthesis
synthesizer_state.hpp
Go to the documentation of this file.
1
4
#pragma once
5
#include "
../../enum.hpp
"
6
8
namespace
xtd
{
10
namespace
speech
{
12
namespace
synthesis
{
28
enum class
synthesizer_state
{
30
ready
= 0,
32
speaking
= 1,
34
pause
= 2,
35
};
36
}
37
}
38
}
39
41
template
<>
struct
xtd::enum_register
<
xtd
::
speech::synthesis::synthesizer_state
> {
42
static
auto
values
()
noexcept
{
return
xtd::enum_collection<xtd::speech::synthesis::synthesizer_state>
{{
xtd::speech::synthesis::synthesizer_state::ready
,
"ready"
}, {
xtd::speech::synthesis::synthesizer_state::speaking
,
"speaking"
}, {
xtd::speech::synthesis::synthesizer_state::pause
,
"pause"
}};}
43
};
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::speech::synthesis::synthesizer_state
synthesizer_state
Enumerates values for the state of the xtd::speech::synthesis::speech_synthesizer.
Definition
synthesizer_state.hpp:28
xtd::speech::synthesis::synthesizer_state::ready
@ ready
Indicates that the xtd::speech::synthesis::speech_synthesizer is ready to generate speech from a prom...
Definition
synthesizer_state.hpp:30
xtd::speech::synthesis::synthesizer_state::speaking
@ speaking
Indicates that the xtd::speech::synthesis::speech_synthesizer is speaking.
Definition
synthesizer_state.hpp:32
xtd::speech::synthesis::synthesizer_state::pause
@ pause
Indicates that the xtd::speech::synthesis::speech_synthesizer is paused.
Definition
synthesizer_state.hpp:34
xtd::speech::synthesis
Contains classes for initializing and configuring a speech synthesis engine, for creating prompts,...
Definition
prompt.hpp:13
xtd::speech
The xtd::speech namespace contains all classes and namespace to access speech technology.
Definition
prompt.hpp:11
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.