TT CORE SDK
2.0.1.1
TT CORE SDK documentation
Loading...
Searching...
No Matches
UserDisconnectAction.h
Go to the documentation of this file.
1
/***************************************************************************
2
*
3
* Unpublished Work Copyright (c) 2019-2020
4
* Trading Technologies International, Inc.
5
* All Rights Reserved Worldwide
6
*
7
* * * * S T R I C T L Y P R O P R I E T A R Y * * *
8
*
9
* WARNING: This program (or document) is unpublished, proprietary property
10
* of Trading Technologies International, Inc. and is to be maintained in
11
* strict confidence. Unauthorized reproduction, distribution or disclosure
12
* of this program (or document), or any program (or document) derived from
13
* it is prohibited by State and Federal law, and by local law outside of
14
* the U.S.
15
*
16
****************************************************************************
17
*
18
* This file is auto generated - do not modify by hand.
19
* Run the auto generation against the message template files.
20
* Generated from messaging\order\enums.proto
21
* Package tt.messaging.order.enums
22
*
23
***************************************************************************/
24
#pragma once
25
26
namespace
ttsdk
27
{
28
enum class
UserDisconnectAction
29
{
30
NotSet
= -2,
31
Unknown
= -1,
32
Leave
= 0,
33
Pause
= 1,
34
Cancel
= 2,
35
};
36
37
inline
const
char
*
ToString
(
const
UserDisconnectAction
value)
38
{
39
switch
(value)
40
{
41
case
UserDisconnectAction::NotSet
:
42
return
"NotSet"
;
43
case
UserDisconnectAction::Unknown
:
44
return
"Unknown"
;
45
case
UserDisconnectAction::Leave
:
46
return
"Leave"
;
47
case
UserDisconnectAction::Pause
:
48
return
"Pause"
;
49
case
UserDisconnectAction::Cancel
:
50
return
"Cancel"
;
51
default
:
52
return
"Unknown"
;
53
}
54
}
55
}
ttsdk
Definition
account.h:21
ttsdk::AlgoType::Unknown
@ Unknown
ttsdk::ToString
const char * ToString(const AccountConnectionStatus::ConnectionStatus status)
Definition
connection.h:50
ttsdk::NotSet
@ NotSet
Definition
environment.h:7
ttsdk::UserDisconnectAction
UserDisconnectAction
Definition
UserDisconnectAction.h:29
ttsdk::UserDisconnectAction::Pause
@ Pause
ttsdk::UserDisconnectAction::Unknown
@ Unknown
ttsdk::UserDisconnectAction::Leave
@ Leave
ttsdk::UserDisconnectAction::Cancel
@ Cancel
ttsdk::UserDisconnectAction::NotSet
@ NotSet
Header Files
enums
UserDisconnectAction.h
Generated by
1.10.0